[QGIS-Developer] (no subject)
Dragi Kamov
dragikamov at gmail.com
Thu Jul 26 04:19:57 PDT 2018
Dear Sir/Madam,
I am writing to you because I got to a problem while adjusting my companies
plugin for QGIS 3.x from QGIS 2.x. I am getting the following error and I
was wondering if you could help me in solving it. Also, I am going to
attach the python script which is causing the problem.
TypeError: qRegisterResourceData(int, str, str, str): argument 2 has
unexpected type 'str' Traceback (most recent call last): File
"/usr/lib/python3/dist-packages/qgis/utils.py", line 337, in startPlugin
plugins[packageName] = package.classFactory(iface) File
"/home/dkamov/.local/share/QGIS/QGIS3/profiles/default/python/plugins/QgsWcpsClient1/__init__.py",
line 12, in classFactory from .wcps_client import QgsWcpsClient1 File
"/usr/lib/python3/dist-packages/qgis/utils.py", line 674, in _import mod =
_builtin_import(name, globals, locals, fromlist, level) File
"/home/dkamov/.local/share/QGIS/QGIS3/profiles/default/python/plugins/QgsWcpsClient1/wcps_client.py",
line 10, in from . import resources_rc File
"/usr/lib/python3/dist-packages/qgis/utils.py", line 674, in _import mod =
_builtin_import(name, globals, locals, fromlist, level) File
"/usr/lib/python3/dist-packages/qgis/utils.py", line 674, in _import mod =
_builtin_import(name, globals, locals, fromlist, level) File
"/home/dkamov/.local/share/QGIS/QGIS3/profiles/default/python/plugins/QgsWcpsClient1/resources_rc.py",
line 146, in qInitResources() File
"/home/dkamov/.local/share/QGIS/QGIS3/profiles/default/python/plugins/QgsWcpsClient1/resources_rc.py",
line 141, in qInitResources QtCore.qRegisterResourceData(0x01,
qt_resource_struct, qt_resource_name, qt_resource_data) TypeError:
qRegisterResourceData(int, str, str, str): argument 2 has unexpected type
'str'
Thank you in advance.
Sincerely,
Dragi Kamov
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer at lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
--
Sincerely,
Dragi Kamov
___________________________________
*Jacobs University Bremen*
*BSc Computer Science*
*Class of 2020*
*College Ring 3, 28759 Bremen,*
*Germany*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20180726/5f6bcdfd/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: resources_rc.py
Type: text/x-python
Size: 8653 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20180726/5f6bcdfd/attachment-0001.py>
More information about the QGIS-Developer
mailing list