Estou usando o QGIS há algum tempo, mas desde o uso do QGIS 2 o plug-in OpenLayers não funciona para mim no meu PC em casa. No entanto, instalei a mesma versão no meu local de trabalho com sucesso. Eu olhei através de outras postagens e tentei configurar o CRS e permitir em tempo real, mas ele não funciona para mim.
Alguém pode oferecer outra orientação?
Eu também tentei desinstalar / reinstalar.
Código de erro abaixo:
Ocorreu um erro ao executar o código Python:
Traceback (última chamada mais recente): Arquivo "C: \ Users \ Lee / .qgis2 / python / plugins \ openlayers_plugin \ openlayers_plugin.py", linha 48, no addLayer próprio. plugin.addLayer (self) Arquivo "C: \ Users \ Lee / .qgis2 / python / plugins \ openlayers_plugin \ openlayers_plugin.py", linha 194, na camada addLayer = OpenlayersLayer (self.iface, self .__ coordRSGoogle, self.olLayerTypeRegistry) Arquivo "C: \ Users \ Lee / .qgis2 / python / plugins \ openlayers_plugin \ openlayers_layer.py", linha 64, em __init self.page = OLWebPage () Arquivo "C: \ Users \ Lee / .qgis2 / python / plugins \ openlayers_plugin \ openlayers_layer.py ", linha 38, no init proxy = getProxy () Arquivo "C: \ Users \ Lee / .qgis2 / python / plugins \ openlayers_plugin \ tools_network.py", linha 42, em getProxy proxy.setPort (settings.value ("/ proxyPort", 10, tipo = int)) TypeError: não é possível converter uma QVariant do tipo 10 em um QMetaType do tipo 2
Versão do Python: 2.7.5 (padrão, 15 de maio de 2013, 22:44:16) [MSC v.1500 de 64 bits (AMD64)]
Versão QGIS: 2.0.1-Dufour Dufour, d94c044
Caminho do Python: ['C: / PROGRA ~ 1 / QGISDU ~ 1 / apps / qgis /./ python / plugins \ processing', 'C: \ Usuários \ Lee \ .qgis2 \ python \ plugins \ GeoCoding', 'C: /PROGRA~1/QGISDU~1/apps/qgis/./python ',' C: \ Usuários \ Lee / .qgis2 / python ',' C: \ Usuários \ Lee / .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 \ pacotes de sites \ win32 ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ aplicativos \ Python27 \ lib \ pacotes de sites \ 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 \ pacotes de sites \ six-1.3.0-py2.7.egg ',' C : \ PROGRA ~ 1 \ QGISDU ~ 1 \ aplicativos \ Python27 \ lib \ pacotes de sites \ wx-2.8-msw-unicode ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ aplicativos \ Python27 \ lib \ site-packages \ xlrd-0.9.2-py2.7.egg ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ Python27 \ lib \ site-packages \ xlwt-0.7.5-py2.7.egg ',' C: \ Users \ Lee \ .qgis2 \ python \ plugins \ mmqgis / forms ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ qgis \ python \ plugins \ fTools \ tools ']\ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ Python27 \ lib \ pacotes de sites \ win32 \ lib ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ Python27 \ lib \ pacotes de sites \ Pythonwin ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ Python27 \ lib \ pacotes de sites \ Shapely-1.2.18-py2.7-win-amd64.egg ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ Python27 \ lib \ pacotes de sites \ six-1.3.0-py2.7.egg ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ Python27 \ lib \ pacotes de sites \ wx-2.8-msw -unicode ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ Python27 \ lib \ pacotes de sites \ xlrd-0.9.2-py2.7.egg ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ Python27 \ lib \ site-packages \ xlwt-0.7.5-py2.7.egg ',' C: \ Usuários \ Lee \ .qgis2 \ python \ plugins \ mmqgis / forms ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ qgis \ python \ plugins \ fTools \ tools ']\ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ Python27 \ lib \ pacotes de sites \ win32 \ lib ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ Python27 \ lib \ pacotes de sites \ Pythonwin ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ Python27 \ lib \ pacotes de sites \ Shapely-1.2.18-py2.7-win-amd64.egg ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ Python27 \ lib \ pacotes de sites \ six-1.3.0-py2.7.egg ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ Python27 \ lib \ pacotes de sites \ wx-2.8-msw -unicode ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ Python27 \ lib \ pacotes de sites \ xlrd-0.9.2-py2.7.egg ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ Python27 \ lib \ site-packages \ xlwt-0.7.5-py2.7.egg ',' C: \ Usuários \ Lee \ .qgis2 \ python \ plugins \ mmqgis / forms ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ qgis \ python \ plugins \ fTools \ tools ']2.18-py2.7-win-amd64.egg ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ Python27 \ lib \ pacotes de sites \ six-1.3.0-py2.7.egg ',' C : \ PROGRA ~ 1 \ QGISDU ~ 1 \ aplicativos \ Python27 \ lib \ pacotes de sites \ wx-2.8-msw-unicode ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ aplicativos \ Python27 \ lib \ site-packages \ xlrd-0.9.2-py2.7.egg ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ Python27 \ lib \ site-packages \ xlwt-0.7.5-py2.7.egg ',' C: \ Users \ Lee \ .qgis2 \ python \ plugins \ mmqgis / forms ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ qgis \ python \ plugins \ fTools \ tools ']2.18-py2.7-win-amd64.egg ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ Python27 \ lib \ pacotes de sites \ six-1.3.0-py2.7.egg ',' C : \ PROGRA ~ 1 \ QGISDU ~ 1 \ aplicativos \ Python27 \ lib \ pacotes de sites \ wx-2.8-msw-unicode ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ aplicativos \ Python27 \ lib \ site-packages \ xlrd-0.9.2-py2.7.egg ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ Python27 \ lib \ site-packages \ xlwt-0.7.5-py2.7.egg ',' C: \ Users \ Lee \ .qgis2 \ python \ plugins \ mmqgis / forms ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ qgis \ python \ plugins \ fTools \ tools ']egg ',' C: \ Usuários \ Lee \ .qgis2 \ python \ plugins \ mmqgis / forms ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ qgis \ python \ plugins \ fTools \ tools ']egg ',' C: \ Usuários \ Lee \ .qgis2 \ python \ plugins \ mmqgis / forms ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ qgis \ python \ plugins \ fTools \ tools ']