enricofer / go2streetview

22 stars 22 forks source link

Last plugin version doesn't work #90

Open Herbert-Khrill opened 4 weeks ago

Herbert-Khrill commented 4 weeks ago

I reinstall it to solve the Qt Webkit but it doesn't work anymore :

Impossible de charger l'extension 'go2streetview' provoque une erreur lors de l'appel à sa méthode classFactory()

ImportError: cannot import name 'QtWebEngineWidgets' from 'PyQt5' (C:\PROGRA~1\QGIS33~2.0\apps\Python39\lib\site-packages\PyQt5__init.py) Traceback (most recent call last): File "C:\PROGRA~1/QGIS33~2.0/apps/qgis/./python\qgis\utils.py", line 426, in _startPlugin plugins[packageName] = package.classFactory(iface) File "C:\Users/E706989/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\go2streetview__init__.py", line 34, in classFactory from .go2streetview import go2streetview File "C:\PROGRA~1/QGIS33~2.0/apps/qgis/./python\qgis\utils.py", line 923, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "C:\Users/E706989/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\go2streetview\go2streetview.py", line 22, in from PyQt5 import Qt, QtCore, QtWidgets, QtGui, QtWebEngineWidgets, QtXml, QtNetwork, uic ImportError: cannot import name 'QtWebEngineWidgets' from 'PyQt5' (C:\PROGRA~1\QGIS33~2.0\apps\Python39\lib\site-packages\PyQt5\init__.py)

Version de Python : 3.9.18 (heads/master:5eba59e, Feb 1 2024, 20:02:10) [MSC v.1929 64 bit (AMD64)] Version de QGIS : 3.36.0-Maidenhead Maidenhead, 09951dc0

Chemin Python : C:\Users/E706989/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\google-street-view-layer-master C:/PROGRA~1/QGIS33~2.0/apps/qgis/./python C:/Users/E706989/AppData/Roaming/QGIS/QGIS3\profiles\default/python C:/Users/E706989/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins C:/PROGRA~1/QGIS33~2.0/apps/qgis/./python/plugins C:\PROGRA~1\QGIS33~2.0\apps\grass\grass83\etc\python C:\Users\E706989\OneDrive - EDP\O365_PROJECT MANAGMT\Cartographie - QGIS C:\PROGRA~1\QGIS33~2.0\bin\python39.zip C:\PROGRA~1\QGIS33~2.0\apps\Python39\DLLs C:\PROGRA~1\QGIS33~2.0\apps\Python39\lib C:\PROGRA~1\QGIS33~2.0\bin C:\PROGRA~1\QGIS33~2.0\apps\Python39 C:\PROGRA~1\QGIS33~2.0\apps\Python39\lib\site-packages C:\PROGRA~1\QGIS33~2.0\apps\Python39\lib\site-packages\win32 C:\PROGRA~1\QGIS33~2.0\apps\Python39\lib\site-packages\win32\lib C:\PROGRA~1\QGIS33~2.0\apps\Python39\lib\site-packages\Pythonwin C:/Users/E706989/AppData/Roaming/QGIS/QGIS3\profiles\default/python C:\Users\E706989\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\go2streetview\res C:\Users\E706989\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\kmltools\libs . C:\Users/E706989/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qgis_resource_sharing C:\Users\E706989\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\qgis_resource_sharing C:\Users\E706989\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\qgis_resource_sharing\ext_libs C:/Users/E706989/OneDrive - EDP/O365_PROJECT MANAGMT/Cartographie - QGIS

Herbert-Khrill commented 4 weeks ago

is thqt relqted to this ? https://lists.osgeo.org/pipermail/osgeo4w-trac/2023-December/003695.html

enricofer commented 4 weeks ago

please ensure you have at least pyqt5qtwebengine >= 5.15.6 https://github.com/enricofer/go2streetview/issues/87#issuecomment-2139304694

dougw133 commented 4 weeks ago

So, before obviously you just installed the plugin and ran with it. Now, what you're saying is we need to install a python webkit?

EDIT: Disregard I missed the other post where this was. Got it. Thank you

MissColibry commented 3 weeks ago

Hello, I have the same problem with this extension (same message error). It is very useful to me on a daily basis and I am therefore very annoyed that it no longer works. I understood that there was a python story behind it but I really don't know anything about it. Do you know where I could find a step by step method to see if I have the "pyqt5qtwebengine >= 5.15.6" you are talking about? Thanks in advance

enricofer commented 3 weeks ago

In windows:

  1. launch setup from qgis or osgeo4w folder (depends on how QGIS was installed) Screenshot (243)
  2. select "Advanced install" and push Next
  3. select "Install from internet" and push Next
  4. select root install directory (keep the default one) and push next
  5. select local package directory (keep the default one) and push next
  6. select internet connection (keep the default one) and push next
  7. select a download site (keep the default one) and push next
  8. select "keep" radiobutton and digit "webengine" in search box
  9. click on new column to select install python3-pyqtwebengine. at this point you should have a window like this: Screenshot (242)
  10. push next to download and install the new python module

Hello, I have the same problem with this extension (same message error). It is very useful to me on a daily basis and I am therefore very annoyed that it no longer works. I understood that there was a python story behind it but I really don't know anything about it. Do you know where I could find a step by step method to see if I have the "pyqt5qtwebengine >= 5.15.6" you are talking about? Thanks in advance

MissColibry commented 3 weeks ago

Oh so great thanks a lot. but now the extension loads well in qgis but the window remains white, nothing happens... Capture

AndreaBaro commented 3 weeks ago

Enrico sei un grande!!!

brunellop commented 3 weeks ago

@enricofer Risolto come da tue indicazioni. Grazie mille!

MissColibry commented 3 weeks ago

ah so I would be an isolated case... Could this come from my API key? But I don't have any menu to update it. thank you in advance for your help

adolmajian commented 1 week ago

Is anyone else getting a "This page cannot load Google Maps correctly" problem saying it's only fro dev purposes? image image

enricofer commented 1 week ago

try to renew api key

Il Lun 17 Giu 2024, 19:23 Arthur Dolmajian @.***> ha scritto:

Is anyone else getting a "This page cannot load Google Maps correctly" problem saying it's only fro dev purposes? image.png (view on web) https://github.com/enricofer/go2streetview/assets/1723914/e2c909b0-4628-456d-bca4-274cc87cb8ca image.png (view on web) https://github.com/enricofer/go2streetview/assets/1723914/f5707176-1cc0-4844-9fdd-34a10adb90a6

— Reply to this email directly, view it on GitHub https://github.com/enricofer/go2streetview/issues/90#issuecomment-2173943488, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZSBAYCVIAUOVBZGNBNZWDZH4LRFAVCNFSM6AAAAABISLRPKOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZTHE2DGNBYHA . You are receiving this because you were mentioned.Message ID: @.***>

adolmajian commented 1 week ago

try to renew api key Il Lun 17 Giu 2024, 19:23 Arthur Dolmajian @.> ha scritto: Is anyone else getting a "This page cannot load Google Maps correctly" problem saying it's only fro dev purposes? image.png (view on web) https://github.com/enricofer/go2streetview/assets/1723914/e2c909b0-4628-456d-bca4-274cc87cb8ca image.png (view on web) https://github.com/enricofer/go2streetview/assets/1723914/f5707176-1cc0-4844-9fdd-34a10adb90a6 — Reply to this email directly, view it on GitHub <#90 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZSBAYCVIAUOVBZGNBNZWDZH4LRFAVCNFSM6AAAAABISLRPKOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZTHE2DGNBYHA . You are receiving this because you were mentioned.Message ID: @.>

Thank you. I hadn't enabled billing on it :/