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 388 - Fatal Python error: PyEval_SaveThread: NULL tstate
: Fatal Python error: PyEval_SaveThread: NULL tstate
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: PySide
: HEAD
: PC Linux
: P3 critical
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2010-09-27 16:44 EEST by Hugo Parente Lima
Modified: 2010-10-13 13:49 EEST (History)
9 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hugo Parente Lima 2010-09-27 16:44:30 EEST
# When I close this app PySide aborts with the following message:
#
# Fatal Python error: PyEval_SaveThread: NULL tstate                            
# Aborted                                                                       

import sys

if len(sys.argv) == 1:
    print "Using PySide"
    from PySide import QtGui
else:
    print "Using PyQt4"
    import sip
    from PyQt4 import QtGui

if __name__ == '__main__':
    app = QtGui.QApplication(sys.argv)
    window = QtGui.QWidget()
    window.show()
    sys.exit(app.exec_())
Comment 1 Hugo Parente Lima 2010-09-29 18:37:26 EEST
Fixed in commit:
pyside/657a1c6a96d78f18b92b72aba3e8d1621114d39b
Comment 2 renato filho 2010-10-04 18:55:53 EEST
*** Bug 401 has been marked as a duplicate of this bug. ***
Comment 3 renato filho 2010-10-13 13:49:05 EEST
released on PySide 0.4.2