[PyKDE] PyQT 3.9 and QT 3.2.3 and the reparent method

Detlev Offenbach detlev at die-offenbachs.de
Tue Jan 13 18:42:01 GMT 2004


This is a known issue with 3.9 and is fixed in the snapshot versions.

I had the same problem in eric3 and had to incorporate a workaround that 
isn't using reparent.

Detlev

Am Dienstag, 13. Januar 2004 15:20 schrieb Rob Knapp:
> I'm trying to upgrade to 3.9 and QT 3.2.3 but I'm having issues with
> the reparent method.
>
> Below is an interactive session showing the issue.  According to the
> newsgroups this error occurs when the extension returns NULL instead
> of Py_None.  I've verified that I'm using sip 3.9 and not an earlier
> version.
>
> I've played around some and this appears to be the only affected
> method on QWidget.
>
> Any thoughts on what could be causing this?  Can anyone else
> reproduce?
>
>  >>> from qt import *
>  >>> app = QApplication([])
>  >>> b = QWidget()
>  >>> b.show()
>  >>> b.repaint(1)
>  >>> a = QWidget()
>  >>> a.reparent(b, QPoint(0,0),1)
>
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
> SystemError: error return without exception set
>
> _______________________________________________
> PyKDE mailing list    PyKDE at mats.imk.fraunhofer.de
> http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

-- 
Detlev Offenbach
detlev at die-offenbachs.de




More information about the PyQt mailing list