<div dir="ltr"><div><div>Hi Luciano:<br><br>I'm just guessing about this error ( TypeError: unable to convert a QVariant of type 10 to a QMetaType of type 2 Python ). It led me to <a href="http://hub.qgis.org/issues/8934">http://hub.qgis.org/issues/8934</a> and maybe it's the decimal symbol. Maybe you have comma as decimal symbol, so try setting it to point (maybe all the system) ... and tell us.<br>
<br></div>Saludos amigo,<br><br></div>Carlos<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-04-07 18:49 GMT-05:00 Luciano La Sala <span dir="ltr"><<a href="mailto:lucianolasala@yahoo.com.ar" target="_blank">lucianolasala@yahoo.com.ar</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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. Luciano <br>
<br>
An 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))<br>
TypeError: unable to convert a QVariant of type 10 to a QMetaType of type 2 Python version:<br>
2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)] QGIS version:<br>
2.2.0-Valmiera Valmiera, c3a2817 Python path: ['C:/PROGRA~1/QGISVA~1/apps/qgis/./python/plugins\\processing', 'C:/PROGRA~1/QGISVA~1/apps/qgis/./python', u'C:/Users/lucianolasala/.qgis2/python', u'C:/Users/lucianolasala/.qgis2/python/plugins', 'C:/PROGRA~1/QGISVA~1/apps/qgis/./python/plugins', 'C:\\PROGRA~1\\QGISVA~1\\bin\\python27.zip', 'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\DLLs', 'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\lib', 'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\lib\\plat-win', 'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\lib\\lib-tk', 'C:\\PROGRA~1\\QGISVA~1\\bin', 'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27', 'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\lib\\site-packages', 'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\lib\\site-packages\\PIL', 'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\lib\\site-packages\\win32', 'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\lib\\site-packages\\win32\\lib', 'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\lib\\site-packages\\Pythonwin',<br>
'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\lib\\site-packages\\Shapely-1.2.18-py2.7-win-amd64.egg', 'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\lib\\site-packages\\six-1.3.0-py2.7.egg', 'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\lib\\site-packages\\wx-2.8-msw-unicode', 'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\lib\\site-packages\\xlrd-0.9.2-py2.7.egg', 'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\lib\\site-packages\\xlwt-0.7.5-py2.7.egg', 'C:\\PROGRA~1\\QGISVA~1\\apps\\qgis\\python\\plugins\\fTools\\tools']<br>
<br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote></div><br></div>