Am 08.04.2014 01:49, schrieb Luciano La Sala:
Dear all, I am using QGIS 2.2.0 Valmiera on Windows 8. Regardless of the version of QGIS I use, I've always had some sort of problem with python plugin OpenLayers. With this version, I succeeded in installing the plugin but then when I select "Plugins">> "OpenLayers plugin">> "Add Google Street Layer" or "Add Google Satellite Layer", the following error pops up and I can't seem to find a solution to this problem! Thank you in advance. LucianoAn error has occured while executing Python code: Traceback (most recent call last): File "C:/Users/lucianolasala/.qgis2/python/plugins\openlayers_plugin\openlayers_plugin.py", line 50, in addLayer self.__plugin.addLayer(self) File "C:/Users/lucianolasala/.qgis2/python/plugins\openlayers_plugin\openlayers_plugin.py", line 204, in addLayer layer = OpenlayersLayer(self.iface, self.__coordRSGoogle, self.olLayerTypeRegistry) File "C:/Users/lucianolasala/.qgis2/python/plugins\openlayers_plugin\openlayers_layer.py", line 64, in __init__ self.page = OLWebPage() File "C:/Users/lucianolasala/.qgis2/python/plugins\openlayers_plugin\openlayers_layer.py", line 38, in __init__ proxy = getProxy() File "C:/Users/lucianolasala/.qgis2/python/plugins\openlayers_plugin\tools_network.py", line 42, in getProxy proxy.setPort(settings.value("/proxyPort", 10, type=int)) TypeError: unable to convert a QVariant of type 10 to a QMetaType of type 2 Python version: 2.7.5 (default, May 15 2013,
This might be a proxy issue. see <http://gis.stackexchange.com/questions/78248/python-error-with-open-layers-plugin-qgis-2> <http://gis.stackexchange.com/questions/73736/openlayers-from-behind-a-proxy> for some solutions. HTH, André Joost _______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
