Bonjour à tous,
Je viens d'installer Openlayers plugin sans problème mais quand je demande une couche j'ai ce message d'erreur.
Avez-vous une idée pour solutionner le problème?
Je tourne sur Mavericks et QGIS 2.x.
Un tout grand merci pour votre aide.
Une erreur est apparue lors de l'exécution du code python :
Traceback (most recent call last):
File "/Users/EntomoMac/.qgis2/python/plugins/openlayers_plugin/openlayers_plugin.py", line 50, in addLayer
self.__plugin.addLayer(self)
File "/Users/EntomoMac/.qgis2/python/plugins/openlayers_plugin/openlayers_plugin.py", line 204, in addLayer
layer = OpenlayersLayer(self.iface, self.__coordRSGoogle, self.olLayerTypeRegistry)
File "/Users/EntomoMac/.qgis2/python/plugins/openlayers_plugin/openlayers_layer.py", line 64, in __init__
self.page = OLWebPage()
File "/Users/EntomoMac/.qgis2/python/plugins/openlayers_plugin/openlayers_layer.py", line 38, in __init__
proxy = getProxy()
File "/Users/EntomoMac/.qgis2/python/plugins/openlayers_plugin/tools_network.py", line 40, in getProxy
proxy.setHostName(settings.value("/proxyHost"))
TypeError: QNetworkProxy.setHostName(QString): argument 1 has unexpected type 'QPyNullVariant'
Version de Python :
2.7.5 (default, Aug 25 2013, 00:04:04)
[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)]
Version de QGIS :
2.0.1-Dufour Dufour, f738351
Chemin vers Python : ['/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing', '/Applications/QGIS.app/Contents/MacOS/../Resources/python', '/Users/EntomoMac/.qgis2/python', '/Users/EntomoMac/.qgis2/python/plugins', '/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins', '/Library/Frameworks/SQLite3.framework/Versions/B/Python/2.7', '/Library/Frameworks/GEOS.framework/Versions/3/Python/2.7', '/Library/Python/2.7/site-packages/numpy-override', '/Library/Frameworks/GDAL.framework/Versions/1.10/Python/2.7/site-packages', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages', '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload', '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC', '/Library/Python/2.7/site-packages', '/Library/Python/2.7/site-packages/PIL', '/Users/EntomoMac/.qgis2/python/plugins/mmqgis/forms', '/Applications/QGIS.app/Contents/Resources/python/plugins/fTools/tools', '/Users/EntomoMac/Desktop']
Je viens d'installer Openlayers plugin sans problème mais quand je demande une couche j'ai ce message d'erreur.
Avez-vous une idée pour solutionner le problème?
Je tourne sur Mavericks et QGIS 2.x.
Un tout grand merci pour votre aide.
Citation:
Une erreur est apparue lors de l'exécution du code python :
Traceback (most recent call last):
File "/Users/EntomoMac/.qgis2/python/plugins/openlayers_plugin/openlayers_plugin.py", line 50, in addLayer
self.__plugin.addLayer(self)
File "/Users/EntomoMac/.qgis2/python/plugins/openlayers_plugin/openlayers_plugin.py", line 204, in addLayer
layer = OpenlayersLayer(self.iface, self.__coordRSGoogle, self.olLayerTypeRegistry)
File "/Users/EntomoMac/.qgis2/python/plugins/openlayers_plugin/openlayers_layer.py", line 64, in __init__
self.page = OLWebPage()
File "/Users/EntomoMac/.qgis2/python/plugins/openlayers_plugin/openlayers_layer.py", line 38, in __init__
proxy = getProxy()
File "/Users/EntomoMac/.qgis2/python/plugins/openlayers_plugin/tools_network.py", line 40, in getProxy
proxy.setHostName(settings.value("/proxyHost"))
TypeError: QNetworkProxy.setHostName(QString): argument 1 has unexpected type 'QPyNullVariant'
Version de Python :
2.7.5 (default, Aug 25 2013, 00:04:04)
[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)]
Version de QGIS :
2.0.1-Dufour Dufour, f738351
Chemin vers Python : ['/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing', '/Applications/QGIS.app/Contents/MacOS/../Resources/python', '/Users/EntomoMac/.qgis2/python', '/Users/EntomoMac/.qgis2/python/plugins', '/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins', '/Library/Frameworks/SQLite3.framework/Versions/B/Python/2.7', '/Library/Frameworks/GEOS.framework/Versions/3/Python/2.7', '/Library/Python/2.7/site-packages/numpy-override', '/Library/Frameworks/GDAL.framework/Versions/1.10/Python/2.7/site-packages', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages', '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload', '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC', '/Library/Python/2.7/site-packages', '/Library/Python/2.7/site-packages/PIL', '/Users/EntomoMac/.qgis2/python/plugins/mmqgis/forms', '/Applications/QGIS.app/Contents/Resources/python/plugins/fTools/tools', '/Users/EntomoMac/Desktop']