orange3
orange3 copied to clipboard
Add-ons indefinite time
The add-ons took an indefinite time to finish
I'm using
- OS : Windows 10
- Orange 3.31
- I installed it as usual. Double click the setup, next it until finish.
Occasionally happens to me too, but pressing Cancel and redoing has solved the issue so far. Congested Interweb tubes, I guess.
Sadly no luck here. Trying lower version too, same result.
Does the "Datasets" widget (which downloads data sets from the network) work? Can you use it to open a dataset?
Yes. The datasets widget works well. Only the addons don't.
@rizkidewanto, I have rewired the servers a bit. Could you try again? Thanks.
Still same
Works fine at my end. No weird firewall settings involved?
I even tried to turn off my firewall. Same result.
@rizkidewanto, thanks for helping us debug this. Before I asked you to try again i removed one superfluous redirect happening while processing these requests. I hope that would fix it. Now I am out of ideas.
I do not understand why do the Datasets work for your while add-ons do not. Could you perhaps open the Python Script widget in Orange and run the following script:
import requests
print("Add-ons with timeout")
print(len(requests.Session().get("https://orange.biolab.si/addons/list", timeout=5).json()))
print("Add-ons way")
print(len(requests.Session().get("https://orange.biolab.si/addons/list").json()))
print("Data sets way")
req = requests.Session()
a = requests.adapters.HTTPAdapter(max_retries=2)
req.mount('https://', a)
print(len(req.get("https://orange.biolab.si/addons/list", timeout=5).json()))
print("Data sets - no retries")
req = requests.Session()
print(len(req.get("https://orange.biolab.si/addons/list", timeout=5).json()))
Please paste whatever output you get.
Could you try again with the latest version? We made some changes to making requests in the last two months. It might have fixed your problem. Please report if it is now any better.