<div dir="ltr"><div>Hi JH,<br><br></div><div>If you're trying to load OSM layers I believe in QGIS 2.0 it's a built-in operation that you can accomplish using Vector Menu - Openstreetmap.<br><br></div><div>About the second problem, I think it's the normal behaviour of this plugin. I'm guessing the plugin needs to change your SRC to sync with OSM, Google or Bing data so you can have your information well displayed, this seems nonpractical for me, anyway.<br>

</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/10/28 jorishin <span dir="ltr"><<a href="mailto:jh@enecowindbelgium.com" target="_blank">jh@enecowindbelgium.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hello, loading layers from open LAyers Plugin (open streetmaps, google AND bing) gives me an error (read text below)
is this related to a second problem?: when load such layers, my project CRS switches to EPSG3857.

Windows 7, QGIS 2.0
error text:
Er is een fout opgetreden bij het uitvoeren van Python code:

Traceback (most recent call last):
  File "C:\Users\jh/.qgis2/python/plugins\openlayers_plugin\openlayers_plugin.py", line 48, in addLayer
    self.__plugin.addLayer(self)
  File "C:\Users\jh/.qgis2/python/plugins\openlayers_plugin\openlayers_plugin.py", line 194, in addLayer
    layer = OpenlayersLayer(self.iface, self.__coordRSGoogle, self.olLayerTypeRegistry)
  File "C:\Users\jh/.qgis2/python/plugins\openlayers_plugin\openlayers_layer.py", line 64, in __init__
    self.page = OLWebPage()
  File "C:\Users\jh/.qgis2/python/plugins\openlayers_plugin\openlayers_layer.py", line 38, in __init__
    proxy = getProxy()
  File "C:\Users\jh/.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 versie:
2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)]


QGIS versie:
2.0.1-Dufour Dufour, d94c044

Python pad: ['C:/PROGRA~1/QGISDU~1/apps/qgis/./python/plugins\\processing', 'C:\\Users\\jh\\.qgis2\\python\\plugins\\GeoCoding', 'C:/PROGRA~1/QGISDU~1/apps/qgis/./python', 'C:\\Users\\jh/.qgis2/python', 'C:\\Users\\jh/.qgis2/python/plugins', 'C:/PROGRA~1/QGISDU~1/apps/qgis/./python/plugins', 'C:\\PROGRA~1\\QGISDU~1\\bin\\python27.zip', 'C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\DLLs', 'C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\lib', 'C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\lib\\plat-win', 'C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\lib\\lib-tk', 'C:\\PROGRA~1\\QGISDU~1\\bin', 'C:\\PROGRA~1\\QGISDU~1\\apps\\Python27', 'C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\lib\\site-packages', 'C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\lib\\site-packages\\PIL', 'C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\lib\\site-packages\\win32', 'C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\lib\\site-packages\\win32\\lib', 'C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\lib\\site-packages\\Pythonwin', 'C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\lib\\site-packages\\Shapely-1.2.18-py2.7-win-amd64.egg', 'C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\lib\\site-packages\\six-1.3.0-py2.7.egg', 'C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\lib\\site-packages\\wx-2.8-msw-unicode', 'C:\\Users\\jh\\.qgis2\\python\\plugins\\DigitizingTools\\tools', 'C:\\Users\\jh\\.qgis2\\python\\plugins\\mmqgis/forms', 'C:\\PROGRA~1\\QGISDU~1\\apps\\qgis\\python\\plugins\\fTools\\tools', 'V:<i>[FULLPATH...]</i>

Any help welcom
thanks
JH

        
        
        
<br><hr align="left" width="300">
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/cannot-load-layers-from-openlayers-plugin-tp5086047.html" target="_blank">cannot load layers from openlayers plugin</a><br>
Sent from the <a href="http://osgeo-org.1560.x6.nabble.com/Quantum-GIS-User-f4125267.html" target="_blank">Quantum GIS - User mailing list archive</a> at Nabble.com.<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><br clear="all"><br>-- <br>Saludos,<div><br></div><div>Yasser</div>


</div>