Package: idle Version: 2.6.6-3+squeeze1 Severity: normal To reproduce: 1. Start idle from the KDE menu or from krunner (Alt-F2) 2. Open a Python program which displays a PyQt form. 3. Run the program, and close the PyQt window 4. Repeat step 3. idle crashes
Reproducible every time. However, starting idle from a console never crashes. When running idle from a console, the python shell embedded in idle displays the text message "RESTART" each time the python program in the other window is executed. This message does not appear when idle is run from krunner. Example program that causes the bug (it seems that any simple PyQt program causes this)o mport sys from PyQt4.QtCore import * from PyQt4.QtGui import * class Form(QDialog): def __init__(self,parent=None): super(Form,self).__init__(parent) grid=QGridLayout() #add widgets interestLabel = QLabel("Interest:") self.interestSpinBox = QDoubleSpinBox() self.interestSpinBox.setRange(0.0,20.0) self.interestSpinBox.setValue(1.0) self.interestSpinBox.setSingleStep(0.1) self.interestSpinBox.setSuffix("%") self.interestSpinBox.setDecimals(1) grid.addWidget(interestLabel,0,0) grid.addWidget(self.interestSpinBox,0,1) self.setLayout(grid) self.setWindowTitle("Compound Interest Calculator") app = QApplication(sys.argv) form = Form() form.show() app.exec_() -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.35-7.slh.5-aptosid-686 (SMP w/2 CPU cores; PREEMPT) Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages idle depends on: ii idle-python2.6 2.6.6-6 An IDE for Python (v2.6) using Tki ii python 2.6.6-3+squeeze1 interactive high-level object-orie ii python-tk 2.6.6-1 Tkinter - Writing Tk applications idle recommends no packages. idle suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org