<div dir="ltr"><div>Hi,</div><div>

            
<div class="gmail-postcell gmail-post-layout--right">
    <div class="gmail-post-text">

<p>I'm having a problem loading custom PyQt5 plugins with Qt Designer. The example plugins available on <a href="https://github.com/baoboa/pyqt5/tree/master/examples/designer/plugins" rel="nofollow noreferrer">GitHub</a>
 were working and I used them to create my own plugin which was working 
as well. Then yesterday Designer stopped loading any of them. When I 
start Designer from the CLI I get:</p>

<pre class="gmail-lang-py gmail-prettyprint gmail-prettyprinted"><code><span class="gmail-typ">TypeError</span><span class="gmail-pun">:</span><span class="gmail-pln"> unwrapinstance</span><span class="gmail-pun">()</span><span class="gmail-pln"> argument </span><span class="gmail-lit">1</span><span class="gmail-pln"> must be sip</span><span class="gmail-pun">.</span><span class="gmail-pln">simplewrapper</span><span class="gmail-pun">,</span><span class="gmail-pln"> </span><span class="gmail-kwd">not</span><span class="gmail-pln"> </span><span class="gmail-typ">PyAnalogClockPlugin</span><span class="gmail-pln">
</span><span class="gmail-typ">TypeError</span><span class="gmail-pun">:</span><span class="gmail-pln"> unwrapinstance</span><span class="gmail-pun">()</span><span class="gmail-pln"> argument </span><span class="gmail-lit">1</span><span class="gmail-pln"> must be sip</span><span class="gmail-pun">.</span><span class="gmail-pln">simplewrapper</span><span class="gmail-pun">,</span><span class="gmail-pln"> </span><span class="gmail-kwd">not</span><span class="gmail-pln"> </span><span class="gmail-typ">BubblesPlugin</span><span class="gmail-pln">
</span><span class="gmail-typ">TypeError</span><span class="gmail-pun">:</span><span class="gmail-pln"> unwrapinstance</span><span class="gmail-pun">()</span><span class="gmail-pln"> argument </span><span class="gmail-lit">1</span><span class="gmail-pln"> must be sip</span><span class="gmail-pun">.</span><span class="gmail-pln">simplewrapper</span><span class="gmail-pun">,</span><span class="gmail-pln"> </span><span class="gmail-kwd">not</span><span class="gmail-pln"> </span><span class="gmail-typ">CounterLabelPlugin</span><span class="gmail-pln">
</span><span class="gmail-typ">TypeError</span><span class="gmail-pun">:</span><span class="gmail-pln"> unwrapinstance</span><span class="gmail-pun">()</span><span class="gmail-pln"> argument </span><span class="gmail-lit">1</span><span class="gmail-pln"> must be sip</span><span class="gmail-pun">.</span><span class="gmail-pln">simplewrapper</span><span class="gmail-pun">,</span><span class="gmail-pln"> </span><span class="gmail-kwd">not</span><span class="gmail-pln"> </span><span class="gmail-typ">PyDateEditPlugin</span><span class="gmail-pln">
</span><span class="gmail-typ">TypeError</span><span class="gmail-pun">:</span><span class="gmail-pln"> unwrapinstance</span><span class="gmail-pun">()</span><span class="gmail-pln"> argument </span><span class="gmail-lit">1</span><span class="gmail-pln"> must be sip</span><span class="gmail-pun">.</span><span class="gmail-pln">simplewrapper</span><span class="gmail-pun">,</span><span class="gmail-pln"> </span><span class="gmail-kwd">not</span><span class="gmail-pln"> </span><span class="gmail-typ">PyDateTimeEditPlugin</span><span class="gmail-pln">
</span><span class="gmail-typ">TypeError</span><span class="gmail-pun">:</span><span class="gmail-pln"> unwrapinstance</span><span class="gmail-pun">()</span><span class="gmail-pln"> argument </span><span class="gmail-lit">1</span><span class="gmail-pln"> must be sip</span><span class="gmail-pun">.</span><span class="gmail-pln">simplewrapper</span><span class="gmail-pun">,</span><span class="gmail-pln"> </span><span class="gmail-kwd">not</span><span class="gmail-pln"> </span><span class="gmail-typ">HelloGLWidgetPlugin</span><span class="gmail-pln">
</span><span class="gmail-typ">TypeError</span><span class="gmail-pun">:</span><span class="gmail-pln"> unwrapinstance</span><span class="gmail-pun">()</span><span class="gmail-pln"> argument </span><span class="gmail-lit">1</span><span class="gmail-pln"> must be sip</span><span class="gmail-pun">.</span><span class="gmail-pln">simplewrapper</span><span class="gmail-pun">,</span><span class="gmail-pln"> </span><span class="gmail-kwd">not</span><span class="gmail-pln"> </span><span class="gmail-typ">MultiPageWidgetPlugin</span><span class="gmail-pln">
</span><span class="gmail-typ">TypeError</span><span class="gmail-pun">:</span><span class="gmail-pln"> unwrapinstance</span><span class="gmail-pun">()</span><span class="gmail-pln"> argument </span><span class="gmail-lit">1</span><span class="gmail-pln"> must be sip</span><span class="gmail-pun">.</span><span class="gmail-pln">simplewrapper</span><span class="gmail-pun">,</span><span class="gmail-pln"> </span><span class="gmail-kwd">not</span><span class="gmail-pln"> </span><span class="gmail-typ">PolygonWidgetPlugin</span><span class="gmail-pln">
</span><span class="gmail-typ">TypeError</span><span class="gmail-pun">:</span><span class="gmail-pln"> unwrapinstance</span><span class="gmail-pun">()</span><span class="gmail-pln"> argument </span><span class="gmail-lit">1</span><span class="gmail-pln"> must be sip</span><span class="gmail-pun">.</span><span class="gmail-pln">simplewrapper</span><span class="gmail-pun">,</span><span class="gmail-pln"> </span><span class="gmail-kwd">not</span><span class="gmail-pln"> </span><span class="gmail-typ">PyDemoPlugin</span><span class="gmail-pln">
</span><span class="gmail-typ">TypeError</span><span class="gmail-pun">:</span><span class="gmail-pln"> unwrapinstance</span><span class="gmail-pun">()</span><span class="gmail-pln"> argument </span><span class="gmail-lit">1</span><span class="gmail-pln"> must be sip</span><span class="gmail-pun">.</span><span class="gmail-pln">simplewrapper</span><span class="gmail-pun">,</span><span class="gmail-pln"> </span><span class="gmail-kwd">not</span><span class="gmail-pln"> </span><span class="gmail-typ">PythonConsolePlugin</span></code></pre>

<p>I don't know where to start and Google-ing the issue didn't help 
either. I'm using Python 3.6.6, Qt 5.11.1, PyQt5 5.11.2, and Linux 
4.17.5-1-ARCH.</p>

<p>What is causing this error? How do I fix it?</p><p><br></p><p>Thanks,</p><p><br></p><p>Adam Unger</p><p><a href="mailto:adamunger0@gmail.com">adamunger0@gmail.com</a><br></p>
    </div></div><br></div></div>