[Qgis-user] cannot load layers from openlayers plugin

2013-10-28 Thread jorishin
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.0error 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 addLayerself.__plugin.addLayer(self)  File
C:\Users\jh/.qgis2/python/plugins\openlayers_plugin\openlayers_plugin.py,
line 194, in addLayerlayer = 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 getProxyproxy.setPort(settings.value(/proxyPort, 10,
type=int))TypeError: unable to convert a QVariant of type 10 to a QMetaType
of type 2Python versie:2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64
bit (AMD64)]QGIS versie:2.0.1-Dufour Dufour, d94c044Python 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:/[FULLPATH...]/Any help welcomthanksJH



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/cannot-load-layers-from-openlayers-plugin-tp5086047.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] cannot load layers from openlayers plugin

2013-10-28 Thread Yasser Said Lopez de Olmos Reyes
Hi JH,

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.

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.


2013/10/28 jorishin j...@enecowindbelgium.com

 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:*
 [FULLPATH...]* Any help welcom thanks JH
 --
 View this message in context: cannot load layers from openlayers 
 pluginhttp://osgeo-org.1560.x6.nabble.com/cannot-load-layers-from-openlayers-plugin-tp5086047.html
 Sent from the Quantum GIS - User mailing list 
 archivehttp://osgeo-org.1560.x6.nabble.com/Quantum-GIS-User-f4125267.htmlat 
 Nabble.com.

 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user




-- 
Saludos,

Yasser
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user