Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
PedroVenancio opened this issue Oct 22, 2019 · 3 comments

Comments

@PedroVenancio
Copy link

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
Copy link

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

@samaritakis
Copy link

Me too! Did you find any solution?

@kekaoliveira
Copy link

resolveram ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants