[PyQt] sipEnumType_alloc: Assertion for PyQt5 but not PyQt4

Dmitry Shachnev mitya57 at ubuntu.com
Thu May 28 10:54:02 BST 2015


Hi,

On Wed, 27 May 2015 22:48:24 +0200, Guðjón Guðjónsson wrote:
> I do have code that works perfectly when using PyQt4 but as soon
> as I switch to PyQt5 I get the following error:
> python: siplib.c:11997: sipEnumType_alloc: Assertion `(((currentType)->td_flags & 0x0007) == 0x0003)' failed.
>
> For PyQt4 the code works for both python2 and python3 but I get
> the error for python2 and 3 when using PyQt5.

Is your code using QScintilla?

--
Dmitry Shachnev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150528/6a56ef1e/attachment.sig>


More information about the PyQt mailing list