[PyQt] Bug of PyQt 4.9.1?
zw g
pekingmaster at gmail.com
Fri Mar 2 09:45:26 GMT 2012
Dear List,
Is this a bug of PyQt 4.9.1? (With Qt 4.8.0 on Mac OS X 10.7.3)
If my script contains sth. like the code below, then i get "Segmentation
fault: 11" error,
and ipython quit every time with pop-up window indicates that Python has
crashed.
I made a screenshot of the crashing window, and it was enclosed.
Anyone help me?
Thanks in advance.
=================================================
HandsomeGui-on-MBP:~ zhenweigui$ ipython
Python 2.7.2 (default, Feb 11 2012, 23:15:11)
Type "copyright", "credits" or "license" for more information.
IPython 0.12 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]: from PyQt4 import QtGui
In [2]: from PyQt4.phonon import Phonon
In [3]: import sys
In [4]: a = QtGui.QApplication(sys.argv)
In [5]: s = Phonon.VolumeSlider()
Segmentation fault: 11
HandsomeGui-on-MBP:~ zhenweigui$
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20120302/918e4067/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Python crashed.png
Type: image/png
Size: 52635 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20120302/918e4067/attachment-0001.png>
More information about the PyQt
mailing list