<div>Dear Sir/Madam,<br></div><div><div class="gmail_quote"><div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div><br></div><div>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.</div><div><br></div><div>

<span style="color:rgb(51,51,51);font-family:Menlo,Monaco,Consolas,"Courier New",monospace;text-align:left;white-space:pre-wrap;background-color:rgb(248,248,248);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">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'</span> <br></div><div><br></div><div>Thank you in advance.</div><div><div dir="ltr" class="m_8792867127392249860m_6677315837180166713gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-size:small"><br></div><div style="font-size:small" dir="auto">Sincerely,</div><div style="font-size:small" dir="auto">Dragi Kamov</div></div></div></div></div></div></div></div></div></div>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-size:small"><div>Sincerely,</div><div>Dragi Kamov<br>___________________________________</div><div><div><b style="font-size:x-small">Jacobs University Bremen</b></div><div><font size="1"><b>BSc Computer Science</b></font></div><div><font size="1"><b>Class of 2020</b></font></div><div><font size="1"><b>College Ring 3, 28759 Bremen,</b></font></div><div><font size="1"><b>Germany</b></font></div></div></div></div></div></div></div></div></div>