<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi,</p>
    <p>resource files (resources_rc.py) will need to be regenerated
      using pyrcc5, see here
      <a class="moz-txt-link-freetext" href="http://pyqt.sourceforge.net/Docs/PyQt5/resources.html">http://pyqt.sourceforge.net/Docs/PyQt5/resources.html</a>.</p>
    <p>Best regards</p>
    <p>Matthias<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 07/26/2018 01:19 PM, Dragi Kamov
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CACjch4L-no-e9MWQgFt8AQPU_8ssYWnuFZdo71yYTNNHx7QS2g@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      <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" moz-do-not-send="true">QGIS-Developer@lists.osgeo.org</a><br>
          List info: <a
            href="https://lists.osgeo.org/mailman/listinfo/qgis-developer"
            rel="noreferrer" target="_blank" moz-do-not-send="true">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" moz-do-not-send="true">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>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
QGIS-Developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:QGIS-Developer@lists.osgeo.org">QGIS-Developer@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></pre>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      <div class="moz-signature">
        <title></title>
        <div class="moz-signature"> <span style="text-align: left;
            color: #000000; font-family: 'Verdana', sans-serif;
            font-size: 10pt">Matthias Kuhn</span><br>
          <a href="mailto:matthias@opengis.ch" target="_blank"> <span
              style="text-align: left; color: #000000; font-family:
              'Verdana', sans-serif; font-size: 8pt">matthias@opengis.ch</span>
          </a><br>
          <span style="text-align: left; color: #000000; font-family:
            'Verdana', sans-serif; font-size: 8pt"><a
              href="tel:+41764356763">+41 (0)76 435 67 63</a></span><br>
          <div> <a href="http://www.opengis.ch"> <img
                moz-do-not-send="false"
                src="cid:part6.61650F41.3C7C80CF@opengis.ch"
                alt="OPENGIS.ch Logo" height="80" width="200"></a> </div>
        </div>
      </div>
    </div>
  </body>
</html>