Open jesperloehr opened 6 years ago
Just ran into the same problem. Reverting the change to _url_retrieve
made the download work again.
Thanks a lot, that helped me to solve the issue on Ubuntu. Btw, just copying the latest version of Spices.py does the magic.
I just looked at the latest version of Spices.py and I do not see this as fixed.
Issue After upgrading from Cinnamon 3.8.8 to 3.8.9 it is not possible to refresh cache or download when using Applets, Themes, Desklets or Extensions in System Settings. It gives the error: "An error occured while trying to access the server. Please try again in a little while. Details: timed out."
Steps to reproduce I only have internet access through a proxy server. Proxy is configured in network settings.
Expected behaviour The System Settings application should use the configured proxy.
Other information I identified the problem is from a change in /usr/share/cinnamon/cinnamon-settings/bin/Spices.py installed from the cinnamon-common package. In 3.8.9 it has been changed to use http.client.HTTPSConnection to fetch updates and there is no code that checks for the proxy configuration.
In 3.8.8 it used urllib.request.urlopen.
Proxy configuration is configured for urllib.request in /usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py.
Replacing /usr/share/cinnamon/cinnamon-settings/bin/Spices.py with the the version from 3.8.8 solves the problem for me.