[PyQt] sipEnumType_alloc: Assertion for PyQt5 but not PyQt4
Phil Thompson
phil at riverbankcomputing.com
Sun May 31 15:46:32 BST 2015
On 29/05/2015 6:49 pm, Guðjón Guðjónsson wrote:
> Hi Dmitry
>
> Thanks a lot for your help. I tried to make a smaller Qwt library that
> would reproduce the bug and then for some reason I got a much more
> interesting backtrace, see attachment.
>
> Is there any more analyse I can do or shall I hope that Phil helps?
> If I compile the same code with PyQt4, import Qwt works nicely.
As I've said before this is usually caused by %Importing different .sip
files than the module being imported is built against.
You would get a better backtrace if you compiled sip with no
optimisations.
Phil
More information about the PyQt
mailing list