<html>
<head>
</head>
<body>
I've upgraded my PyQt/sip installation to 3.2rc2 nevertheless the problem
is quite similar. Any idea?<br>
<br>
Python 2.1.1c1 (#13, Jul 23 2001, 11:03:24)<br>
[GCC 2.95.2 19991024 (release)] on hp-uxB<br>
Type "copyright", "credits" or "license" for more information.<br>
>>> import qt<br>
Traceback (most recent call last):<br>
File "<stdin>", line 1, in ?<br>
File "/segfs/bliss/depot/pythonesrf_5.0/hpux102/lib/python2.1/site-packages/qt.py",
line 935, in ?<br>
libqtc.sipRegisterClasses()<br>
RuntimeError: Attempt to create a Python instance for a NULL pointer<br>
>>><br>
<br>
Phil Thompson wrote:<br>
<blockquote type="cite" cite="mid:3CB8096A.262F02BE@river-bank.demon.co.uk">
<pre wrap="">Laurent Claustre wrote:<br></pre>
<blockquote type="cite">
<pre wrap="">Hi,<br> With PyQt/sip 3.1rc1 on HP-UX 10.20 I've got something like this:<br><br>Python 2.1.1c1 (#13, Jul 23 2001, 11:03:24)<br>[GCC 2.95.2 19991024 (release)] on hp-uxB<br>Type "copyright", "credits" or "license" for more information.<br></pre>
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">import qt<br></pre>
</blockquote>
</blockquote>
</blockquote>
<pre wrap="">Traceback (most recent call last):<br> File "<stdin>", line 1, in ?<br> File "/segfs/bliss/depot/pythonesrf_5.0/hpux102/lib/python2.1/site-packages/qt.py", line 933, in ?<br> libqtc.sipRegisterClasses()<br>RuntimeError: Attempt to create a Python instance for a NULL pointer<br></pre>
<pre wrap=""> Any ideas how to fix this?<br>I am using qt-3.0.1, sip+PyQt 3.1rc1, everything freshly compiled with<br>gcc-2.95.2.<br><br>Regards,<br><br>PS: i've seen such a request message from archive (august 2001) but without any response, so I<br>try to get help form you !<br></pre>
</blockquote>
<pre wrap=""><!----><br>Try upgrading to the final release of 3.1. There was a SIP bug that<br>sometimes caused false exceptions to be raised.<br><br>Phil<br></pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="$mailwrapcol">--
        /===============================================================\
        | Laurent Claustre | eMail: <a class="moz-txt-link-abbreviated" href="mailto:claustre@esrf.fr">claustre@esrf.fr</a> |
        | BeamLine Instrument Software | Phone: +33 (0)476 88 29 12 |
        | Support Group (BLISS) | Fax : +33 (0)476 88 25 42 |
        | Experiments Division | Central Building Room 150 |
        | ------------------------------------------------------------- |
        | European Synchrotron Radiation Facility |
        | 6 rue Jules Horowitz BP220 38042 Grenoble Cedex - France |
        \===============================================================/
</pre>
<br>
</body>
</html>