[PyKDE] HP-UX 10.20 runtime error at installation of PyQt

Phil Thompson phil at river-bank.demon.co.uk
Sat Apr 13 12:39:53 BST 2002


Laurent Claustre wrote:
> 
> Hi,
>   With PyQt/sip 3.1rc1 on HP-UX 10.20 I've got something like this:
> 
> Python 2.1.1c1 (#13, Jul 23 2001, 11:03:24)
> [GCC 2.95.2 19991024 (release)] on hp-uxB
> Type "copyright", "credits" or "license" for more information.
> >>> import qt
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
>   File "/segfs/bliss/depot/pythonesrf_5.0/hpux102/lib/python2.1/site-packages/qt.py", line 933, in ?
>     libqtc.sipRegisterClasses()
> RuntimeError: Attempt to create a Python instance for a NULL pointer
> >>>
> 
>  Any ideas how to fix this?
> I am using qt-3.0.1, sip+PyQt 3.1rc1, everything freshly compiled with
> gcc-2.95.2.
> 
> Regards,
> 
> PS: i've seen such a request message from archive (august 2001) but without any response, so I
> try to get help form you !

Try upgrading to the final release of 3.1. There was a SIP bug that
sometimes caused false exceptions to be raised.

Phil





More information about the PyQt mailing list