[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] TypeError Qt Designer plugin import
From:       Phil Thompson <phil () riverbankcomputing ! com>
Date:       2018-07-11 7:32:32
Message-ID: 5EAF854E-E1A6-4AD3-8EE6-6B969F1D0F6E () riverbankcomputing ! com
[Download RAW message or body]

On 11 Jul 2018, at 7:08 am, Adam Unger <adamunger0@gmail.com> wrote:
> 
> Hi,
> I'm having a problem loading custom PyQt5 plugins with Qt Designer. The example \
> plugins available on GitHub 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: 
> TypeError: unwrapinstance() argument 1 must be sip.simplewrapper, not \
>                 PyAnalogClockPlugin
> TypeError: unwrapinstance() argument 1 must be sip.simplewrapper, not BubblesPlugin
> TypeError: unwrapinstance() argument 1 must be sip.simplewrapper, not \
>                 CounterLabelPlugin
> TypeError: unwrapinstance() argument 1 must be sip.simplewrapper, not \
>                 PyDateEditPlugin
> TypeError: unwrapinstance() argument 1 must be sip.simplewrapper, not \
>                 PyDateTimeEditPlugin
> TypeError: unwrapinstance() argument 1 must be sip.simplewrapper, not \
>                 HelloGLWidgetPlugin
> TypeError: unwrapinstance() argument 1 must be sip.simplewrapper, not \
>                 MultiPageWidgetPlugin
> TypeError: unwrapinstance() argument 1 must be sip.simplewrapper, not \
>                 PolygonWidgetPlugin
> TypeError: unwrapinstance() argument 1 must be sip.simplewrapper, not PyDemoPlugin
> TypeError: unwrapinstance() argument 1 must be sip.simplewrapper, not \
> PythonConsolePlugin 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. 
> What is causing this error? How do I fix it?

It's a regression in PyQt v5.11.2 that also affects the qmlscene plugin. It has been \
fixed in the current snapshot.

Phil
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic