PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 73 - grabber.py example prints an error message on exit
: grabber.py example prints an error message on exit
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: PySide
: HEAD
: All All
: P5 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2009-09-25 11:09 EEST by Luciano Wolf
Modified: 2009-11-24 15:31 EET (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luciano Wolf 2009-09-25 11:09:46 EEST
The example grabber.py at /pyside-examples/examples/opengl produces the
following error message on exit:

Exception RuntimeError: 'internal C++ object already deleted.' in <bound method
GLWidget.__del__ of <__main__.GLWidget object at 0x2bdcfc8>> ignored
Comment 1 Luciano Wolf 2009-10-23 15:23:50 EEST
Fixed on trunk.

The grabber.py example has an error in its implementation. Method __del__ has
been used as a C destroy function, producing an error at exit because it was
calling an invalid object.

Now, instead of a __del__ we use a deinitialize function to be called by
closeEvent generated by the mainWindow.
Comment 2 renato filho 2009-11-24 15:31:30 EET
fixed on  PySide release  0.2.2.