sagost / Video_UAV_Tracker-3D

Replay a video in sync with a gps track displayed on the map.
44 stars 19 forks source link

Couldn't load plugin Video_UAV_Tracker due to an error when calling its classFactory method #2

Open PedroVenancio opened 4 years ago

PedroVenancio commented 4 years ago

Dear Salvatore,

I'm getting this python error in Video UAV Tracker since a few days ago.

Couldn't load plugin 'Video_UAV_Tracker' due to an error when calling its classFactory() method 

TypeError: qRegisterResourceData(int, bytes, bytes, bytes): argument 2 has unexpected type 'str' 
Traceback (most recent call last):
  File "C:/OSGEO4~1/apps/qgis-rel-dev/./python\qgis\utils.py", line 334, in _startPlugin
    plugins[packageName] = package.classFactory(iface)
  File "C:/Users/PedroVenancio/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Video_UAV_Tracker\__init__.py", line 46, in classFactory
    from .VideoGis import VideoGis
  File "C:/OSGEO4~1/apps/qgis-rel-dev/./python\qgis\utils.py", line 737, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/Users/PedroVenancio/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Video_UAV_Tracker\VideoGis.py", line 52, in 
    import resources
  File "C:/OSGEO4~1/apps/qgis-rel-dev/./python\qgis\utils.py", line 737, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/Users/PedroVenancio/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qgis2web\resources.py", line 1251, in 
    qInitResources()
  File "C:/Users/PedroVenancio/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qgis2web\resources.py", line 1243, in qInitResources
    qt_resource_name, qt_resource_data)
TypeError: qRegisterResourceData(int, bytes, bytes, bytes): argument 2 has unexpected type 'str'

This happen both in QGIS 3.4.12, 3.8.3 and master. Tested only in Windows.

Jerome-Albaret commented 3 years ago

I have the same problem. It's a pity because I really appreciate this plugin to view videos obtained with a GoPro.

samaritakis commented 3 years ago

Me too! Did you find any solution?

kekaoliveira commented 2 years ago

resolveram ?