Closed qgib closed 5 years ago
Author Name: Angus Carr (Angus Carr) Original Redmine Issue: 8060 Affected QGIS version: master
When using a network proxy, the python plugin installer fails with an error with the current pyQT Api switcheroo.
This happens:
An error occured during execution of following code: pyplugin_installer.instance().showPluginManagerWhenReady() Traceback (most recent call last): File "", line 1, in File "C:/Program Files/QGIS Weekly/apps/qgis-dev/./python\\pyplugin_installer\\installer.py", line 250, in showPluginManagerWhenReady self.fetchAvailablePlugins(reloadMode = False) File "C:/Program Files/QGIS Weekly/apps/qgis-dev/./python\\pyplugin_installer\\installer.py", line 118, in fetchAvailablePlugins repositories.requestFetching(key) File "C:/Program Files/QGIS Weekly/apps/qgis-dev/./python\\pyplugin_installer\\installer_data.py", line 402, in requestFetching self.mRepositories[key]["QPHttp"] = QPHttp(url.host(), port) File "C:/Program Files/QGIS Weekly/apps/qgis-dev/./python\\pyplugin_installer\\installer_data.py", line 182, in __init__ if len(args)>0 and settings.value("/proxyExcludedUrls","", type=unicode).contains(args[0]): AttributeError: 'unicode' object has no attribute 'contains' Python version: 2.7.4 (default, Apr 6 2013, 19:54:46) [MSC v.1500 32 bit (Intel)] QGIS version: 1.9.0-Master 'Master', a3ea7ce Python path: ['C:/Program Files/QGIS Weekly/apps/qgis-dev/./python/plugins\\\\sextante', 'C:/Program Files/QGIS Weekly/apps/qgis-dev/./python', 'C:\\\\Documents and Settings\\\\carran/.qgis2/python', 'C:\\\\Documents and Settings\\\\carran/.qgis2/python/plugins', 'C:/Program Files/QGIS Weekly/apps/qgis-dev/./python/plugins', 'C:\\\\Program Files\\\\ArcGIS\\\\bin', 'C:\\\\Program Files\\\\QGIS Weekly\\\\bin\\\\python27.zip', 'C:\\\\Program Files\\\\QGIS Weekly\\\\apps\\\\Python27\\\\DLLs', 'C:\\\\Program Files\\\\QGIS Weekly\\\\apps\\\\Python27\\\\lib', 'C:\\\\Program Files\\\\QGIS Weekly\\\\apps\\\\Python27\\\\lib\\\\plat-win', 'C:\\\\Program Files\\\\QGIS Weekly\\\\apps\\\\Python27\\\\lib\\\\lib-tk', 'C:\\\\Program Files\\\\QGIS Weekly\\\\bin', 'C:\\\\Program Files\\\\QGIS Weekly\\\\apps\\\\Python27', 'C:\\\\Program Files\\\\QGIS Weekly\\\\apps\\\\Python27\\\\lib\\\\site-packages', 'C:\\\\Program Files\\\\QGIS Weekly\\\\apps\\\\Python27\\\\lib\\\\site-packages\\\\PIL', 'C:\\\\Program Files\\\\QGIS Weekly\\\\apps\\\\Python27\\\\lib\\\\site-packages\\\\win32', 'C:\\\\Program Files\\\\QGIS Weekly\\\\apps\\\\Python27\\\\lib\\\\site-packages\\\\win32\\\\lib', 'C:\\\\Program Files\\\\QGIS Weekly\\\\apps\\\\Python27\\\\lib\\\\site-packages\\\\Pythonwin', 'C:\\\\Program Files\\\\QGIS Weekly\\\\apps\\\\Python27\\\\lib\\\\site-packages\\\\wx-2.8-msw-unicode', 'C:\\\\Program Files\\\\QGIS Weekly\\\\apps\\\\qgis-dev\\\\python\\\\plugins\\\\fTools\\\\tools']
Author Name: Borys Jurgiel (@borysiasty)
Fixed in 820a0f783f135756e9
I'd be thankful for any extensive installer testing, as I don't use proxy.
Author Name: Angus Carr (Angus Carr) Original Redmine Issue: 8060 Affected QGIS version: master
When using a network proxy, the python plugin installer fails with an error with the current pyQT Api switcheroo.
This happens: