Git Product home page Git Product logo

Comments (13)

simonaubertbd avatar simonaubertbd commented on May 25, 2024 1

A good reason to have an offline installer for add-ons ;) #6684

from orange3.

markotoplak avatar markotoplak commented on May 25, 2024 1

Thanks for the report. Did you always have this issue on that particular installation or does is pop-up intermittently? May I ask what are your local settings (language, which country)? No idea if these are connected, just a guess.

from orange3.

kodymoodley avatar kodymoodley commented on May 25, 2024 1

@kodymoodley, could perhaps copy the folder /Users/<your username>/Library/Caches/Orange/networkcache somewhere and then delete it?

Do not delete it straight away because within could be some clues to what is happening. Also, could you perhaps share it? (If you don't want to do it publickly, please send it to my username at gmail.)

Thanks!

@markotoplak Deleting /Users/<your username>/Library/Caches/Orange/networkcache solves the problem for me! There is only a requests.sqlite file inside. Do you want me to send that to you via gmail?

from orange3.

markotoplak avatar markotoplak commented on May 25, 2024 1

@markotoplak Deleting /Users/<your username>/Library/Caches/Orange/networkcache solves the problem for me! There is only a requests.sqlite file inside. Do you want me to send that to you via gmail?

It seems that you got a malformed (or somehow incompatible) network request once. Yes, please send the file, so that we can at least replicate your issue and perhaps implement a workaround (I think cache should just be ignored in such cases).

from orange3.

hydrastarmaster avatar hydrastarmaster commented on May 25, 2024

Same bug in Orange3-3.36.2-Miniconda-x86_64.exe, but just a pending installation process, no error message showed.

from orange3.

kodymoodley avatar kodymoodley commented on May 25, 2024

Thanks for the report. Did you always have this issue on that particular installation or does is pop-up intermittently? May I ask what are your local settings (language, which country)? No idea if these are connected, just a guess.

Actually it was strange. This issue suddenly popped up in the space of one evening. I was testing an add-on that I developed so I tried installing / reinstalling it several times from the add-on manager. It was working and then all of a sudden stopped in the space of 2 hours or so. Do you mean country and language settings on my laptop or in Orange? For the laptop Netherlands is the region and the primary language is English, secondary is Dutch.

from orange3.

hydrastarmaster avatar hydrastarmaster commented on May 25, 2024

Thanks for the report. Did you always have this issue on that particular installation or does is pop-up intermittently? May I ask what are your local settings (language, which country)? No idea if these are connected, just a guess.

Previously installed version was 3.32.0, no problems with it. I've multi-locale and multi-region machines, doesn't seems to be related. The first installation window pops up and then no action following (and no error message).

from orange3.

markotoplak avatar markotoplak commented on May 25, 2024

It is getting more and more confusing. I was not able to replicate it yet...

@kodymoodley, if I understand properly, it happens when the add-on dialog is being opened, so you do not even see a list?

@hydrastarmaster, are you able to see a list of add-ons? If I understood correct, installation of an add-on fails. Does it fail for any add-on? Try Educational for example, that is one of the smallest.

from orange3.

markotoplak avatar markotoplak commented on May 25, 2024

@kodymoodley, is your add-on public? If so, which one is it?

@hydrastarmaster, which add-ons did you install before getting the error? Or did this happen at the installation of your first add-on?

from orange3.

markotoplak avatar markotoplak commented on May 25, 2024

@kodymoodley, could perhaps copy the folder /Users/<your username>/Library/Caches/Orange/networkcache somewhere and then delete it?

Do not delete it straight away because within could be some clues to what is happening. Also, could you perhaps share it? (If you don't want to do it publickly, please send it to my username at gmail.)

Thanks!

from orange3.

kodymoodley avatar kodymoodley commented on May 25, 2024

It is getting more and more confusing. I was not able to replicate it yet...

@kodymoodley, if I understand properly, it happens when the add-on dialog is being opened, so you do not even see a list?

@hydrastarmaster, are you able to see a list of add-ons? If I understood correct, installation of an add-on fails. Does it fail for any add-on? Try Educational for example, that is one of the smallest.

@markotoplak Yes, I do not even see the list. It happens before.

from orange3.

hydrastarmaster avatar hydrastarmaster commented on May 25, 2024

3.36.2 freshly installed, so there are no previously installed add-on. I got the add-ons list. When I select any of them and start to install, the installation progress bar window pops up, and nothing appends. It goes pending with any of the add-ons... I've tried with Educational as you said, nothing different.
I just notice that when the add-ons installation starts, the pythonw.exe process get looped at the Start Address pythonw.exe!OPENSSL_Applink+0x480 and WINMM.dll!PlaySoundW+0xd70.

from orange3.

ruvilonix avatar ruvilonix commented on May 25, 2024

Similar issue here. I open Add-Ons, but before the list even populates, it says there was an issue with the internet connection:

Screenshot from 2024-03-10 18-58-16

Traceback (most recent call last):
  File "/home/dima/miniconda3/envs/health_data/lib/python3.11/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/dima/miniconda3/envs/health_data/lib/python3.11/site-packages/orangecanvas/application/addons.py", line 695, in <lambda>
    lambda config=config: (config, list_available_versions(config)),
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/dima/miniconda3/envs/health_data/lib/python3.11/site-packages/orangecanvas/application/addons.py", line 1316, in list_available_versions
    response = session.get(PYPI_API_JSON.format(name=p))
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/dima/miniconda3/envs/health_data/lib/python3.11/site-packages/requests/sessions.py", line 602, in get
    return self.request("GET", url, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/dima/miniconda3/envs/health_data/lib/python3.11/site-packages/requests/sessions.py", line 589, in request
    resp = self.send(prep, **send_kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/dima/miniconda3/envs/health_data/lib/python3.11/site-packages/requests/sessions.py", line 747, in send
    r.content
  File "/home/dima/miniconda3/envs/health_data/lib/python3.11/site-packages/requests/models.py", line 899, in content
    self._content = b"".join(self.iter_content(CONTENT_CHUNK_SIZE)) or b""
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/dima/miniconda3/envs/health_data/lib/python3.11/site-packages/requests/models.py", line 816, in generate
    yield from self.raw.stream(chunk_size, decode_content=True)
  File "/home/dima/miniconda3/envs/health_data/lib/python3.11/site-packages/urllib3/response.py", line 934, in stream
    data = self.read(amt=amt, decode_content=decode_content)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/dima/miniconda3/envs/health_data/lib/python3.11/site-packages/urllib3/response.py", line 877, in read
    data = self._raw_read(amt)
           ^^^^^^^^^^^^^^^^^^^
  File "/home/dima/miniconda3/envs/health_data/lib/python3.11/site-packages/urllib3/response.py", line 812, in _raw_read
    data = self._fp_read(amt) if not fp_closed else b""
           ^^^^^^^^^^^^^^^^^^
  File "/home/dima/miniconda3/envs/health_data/lib/python3.11/site-packages/urllib3/response.py", line 797, in _fp_read
    return self._fp.read(amt) if amt is not None else self._fp.read()
           ^^^^^^^^^^^^^^^^^^
  File "/home/dima/miniconda3/envs/health_data/lib/python3.11/site-packages/cachecontrol/filewrapper.py", line 96, in read
    self._close()
  File "/home/dima/miniconda3/envs/health_data/lib/python3.11/site-packages/cachecontrol/filewrapper.py", line 76, in _close
    self.__callback(result)
  File "/home/dima/miniconda3/envs/health_data/lib/python3.11/site-packages/cachecontrol/controller.py", line 353, in cache_response
    self._cache_set(cache_url, request, response, body, expires_time)
  File "/home/dima/miniconda3/envs/health_data/lib/python3.11/site-packages/cachecontrol/controller.py", line 274, in _cache_set
    self.serializer.dumps(request, response, body),
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/dima/miniconda3/envs/health_data/lib/python3.11/site-packages/cachecontrol/serialize.py", line 54, in dumps
    u"strict": response.strict,
               ^^^^^^^^^^^^^^^
AttributeError: 'HTTPResponse' object has no attribute 'strict'

I don't think it's an issue with my internet, since I can load files from a URL just fine. I installed this a couple weeks ago through mamba (or maybe conda) onto Ubuntu 23.10.

from orange3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.