[PyKDE] HP-UX 10.20 runtime error at installation of PyQt
Phil Thompson
phil at river-bank.demon.co.uk
Tue Apr 23 11:04:01 BST 2002
Laurent Claustre wrote:
>
> OK,
> the failed instance is "whatsThisCursor" and from within
> registerClasses() instance is Qt::whatsThisCursor.
> this is the output:
> 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
> laurentDebugging in siplib.c:sipAddClassInstances(), ci->ci_name =
> qApp
> laurentDebugging in siplib.c:sipAddClassInstances(), ci->ci_name =
> null
> laurentDebugging in siplib.c:sipAddClassInstances(), ci->ci_name =
> nbsp
> laurentDebugging in siplib.c:sipAddClassInstances(), ci->ci_name =
> byteOrderSwapped
> laurentDebugging in siplib.c:sipAddClassInstances(), ci->ci_name =
> byteOrderMark
> laurentDebugging in siplib.c:sipAddClassInstances(), ci->ci_name =
> replacement
> laurentDebugging in siplib.c:sipAddClassInstances(), ci->ci_name =
> null
> laurentDebugging in siplib.c:sipAddClassInstances(), ci->ci_name =
> whatsThisCursor
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> File "qt.py", line 935, in ?
> libqtc.sipRegisterClasses()
> RuntimeError: Attempt to create a Python instance for a NULL pointer
That's the first QCursor. Try commenting out that entry in the table in
qtcmodule.cpp to see if the problem is whatsThisCursor (ie. the problem
goes away), or QCursors in general (in which case it will fail at
forbiddenCursor).
Can you try some C++ experiments taking the address of
Qt::whatsThisCursor?
I'm away for a few days and won'e be able to reply until the weekend.
Phil
More information about the PyQt
mailing list