Saya telah menggunakan QGIS untuk sementara waktu tetapi sejak menggunakan QGIS 2, plugin OpenLayers tidak berfungsi untuk saya di PC rumah saya. Namun, saya telah menginstal versi yang sama di tempat kerja saya dengan sukses. Saya telah melihat posting lainnya, dan mencoba mengatur CRS dan membiarkannya dengan cepat tetapi tidak berhasil bagi saya.
Adakah yang bisa menawarkan panduan lain?
Saya juga sudah mencoba uninstall / instal ulang.
Kode kesalahan di bawah ini:
Terjadi kesalahan saat menjalankan kode Python:
Traceback (panggilan terakhir terakhir): File "C: \ Users \ Lee / .qgis2 / python / plugins \ openlayers_plugin \ openlayers_plugin.py", baris 48, di addLayer sendiri. plugin.addLayer (self) File "C: \ Users \ Lee / .qgis2 / python / plugins \ openlayers_plugin \ openlayers_plugin.py", baris 194, di addLayer layer = OpenlayersLayer (self.iface, self .__ coordRSGoogle, self.olLayerTypeRegistry) File "C: \ Users \ Lee / .qgis2 / python / plugins \ openlayers_plugin \ openlayers_layer.py", baris 64, di __init self.page = OLWebPage () File "C: \ Users \ Lee / .qgis2 / python / plugins \ openlayers_plugin \ openlayers_layer.py ", baris 38, di init proxy = getProxy () File "C: \ Users \ Lee / .qgis2 / python / plugins \ openlayers_plugin \ tools_network.py", baris 42, di getProxy proxy.setPort (settings.value ("/ proxyPort", 10, ketik = int)) TypeError: tidak dapat mengkonversi QVariant tipe 10 ke QMetaType tipe 2
Versi Python: 2.7.5 (default, 15 Mei 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)]
Versi QGIS: 2.0.1-Dufour Dufour, d94c044
Jalur Python: ['C: / PROGRA ~ 1 / QGISDU ~ 1 / apps / qgis /./ python / plugins \ processing', 'C: \ Users \ Lee \ .qgis2 \ python \ plugins \ GeoCoding', 'C: /PROGRA ~ 1/QGISDU ~ 1/apps/qgis/./python ',' C: \ Users \ Lee / .qgis2 / python ',' C: \ Users \ 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 \ paket-situs ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ Python27 \ lib \ situs-paket \ PIL ',' C:\ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ Python27 \ lib \ situs-paket \ win32 ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ Python27 \ lib \ situs-paket \ win32 \ lib ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ Python27 \ lib \ situs-paket \ Pythonwin ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ Python27 \ lib \ situs-paket \ Shapely-1.2. 18-py2.7-win-amd64.egg ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ Python27 \ lib \ paket-situs \ enam-1.3.0-py2.7.egg ',' C : \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ Python27 \ lib \ situs-paket \ wx-2.8-msw-unicode ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ Python27 \ lib \ situs-paket \ xlrd-0.9.2-py2.7.egg ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ Python27 \ lib \ paket-situs \ xlwt-0.7.5-py2.7.egg ',' C: \ Users \ Lee \ .qgis2 \ python \ plugins \ mmqgis / form ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ qgis \ python \ plugins \ fTools \ tools ']\ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ Python27 \ lib \ situs-paket \ win32 \ lib ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ Python27 \ lib \ situs-paket \ Pythonwin ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ Python27 \ lib \ situs-paket \ Shapely-1.2.18-py2.7-win-amd64.egg ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ Python27 \ lib \ situs-paket \ enam-1.3.0-py2.7.egg ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ Python27 \ lib \ situs-paket \ wx-2.8-msw -unicode ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ Python27 \ lib \ situs-paket \ xlrd-0.9.2-py2.7.egg ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ Python27 \ lib \ situs-paket \ xlwt-0.7.5-py2.7.egg ',' C: \ Users \ Lee \ .qgis2 \ python \ plugins \ mmqgis / formulir ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ qgis \ python \ plugins \ fTools \ tools ']\ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ Python27 \ lib \ situs-paket \ win32 \ lib ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ Python27 \ lib \ situs-paket \ Pythonwin ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ Python27 \ lib \ situs-paket \ Shapely-1.2.18-py2.7-win-amd64.egg ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ Python27 \ lib \ situs-paket \ enam-1.3.0-py2.7.egg ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ Python27 \ lib \ situs-paket \ wx-2.8-msw -unicode ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ Python27 \ lib \ situs-paket \ xlrd-0.9.2-py2.7.egg ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ Python27 \ lib \ situs-paket \ xlwt-0.7.5-py2.7.egg ',' C: \ Users \ Lee \ .qgis2 \ python \ plugins \ mmqgis / formulir ',' 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 \ paket-situs \ enam-1.3.0-py2.7.egg ',' C : \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ Python27 \ lib \ situs-paket \ wx-2.8-msw-unicode ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ Python27 \ lib \ situs-paket \ xlrd-0.9.2-py2.7.egg ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ Python27 \ lib \ paket-situs \ xlwt-0.7.5-py2.7.egg ',' C: \ Users \ Lee \ .qgis2 \ python \ plugins \ mmqgis / form ',' 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 \ paket-situs \ enam-1.3.0-py2.7.egg ',' C : \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ Python27 \ lib \ situs-paket \ wx-2.8-msw-unicode ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ Python27 \ lib \ situs-paket \ xlrd-0.9.2-py2.7.egg ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ Python27 \ lib \ paket-situs \ xlwt-0.7.5-py2.7.egg ',' C: \ Users \ Lee \ .qgis2 \ python \ plugins \ mmqgis / form ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ qgis \ python \ plugins \ fTools \ tools ']egg ',' C: \ Users \ Lee \ .qgis2 \ python \ plugins \ mmqgis / form ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ qgis \ python \ plugins \ fTools \ tools ']egg ',' C: \ Users \ Lee \ .qgis2 \ python \ plugins \ mmqgis / form ',' C: \ PROGRA ~ 1 \ QGISDU ~ 1 \ apps \ qgis \ python \ plugins \ fTools \ tools ']