[issue5492] Error on leaving IDLE with quit() or exit() under Linux
Ger Luijten
report at bugs.python.org
Sun Mar 15 13:44:37 CET 2009
New submission from Ger Luijten <gcjm.luijten at gmail.com>:
Hello developers,
Found a small error when using IDLE Version 3.1a1 under Kubuntu Linux
8.10 in the terminal.
Kubuntu is fully updated and no installation errors for Python 3.1a1.
See the listing from my installation notes below.
Greetings, Ger
Let's see if IDLE works, by starting it in the terminal:
$ idle
IDLE works in the new Python version 3.1a1, but there is an error!
When leaving IDLE with quit() or exit() and clicking the OK button for
the question 'The program is still running! Do you want to kill it?
there's the errors listed below, that does not occur when leaving IDLE
with Ctrl-D instead of quit():
Error when leaving with quit() (Full error listing)
*** Internal Error: rpc.py:SocketIO.localcall()
Object: stderr
Method: <bound method PseudoFile.write of <idlelib.PyShell.PseudoFile
object at 0x9ce942c>>
Args: ('Traceback (most recent call last):',)
Traceback (most recent call last):
File "/usr/local/lib/python3.1/idlelib/rpc.py", line 188, in localcall
ret = method(*args, **kwargs)
File "/usr/local/lib/python3.1/idlelib/PyShell.py", line 1218, in write
self.shell.write(s, self.tags)
File "/usr/local/lib/python3.1/idlelib/PyShell.py", line 1201, in write
self.text.mark_gravity("iomark", "left")
AttributeError: 'NoneType' object has no attribute 'mark_gravity'
Error when leaving with exit() (Partial error listing: only the error
part that difffers is listed here)
Object: stderr
Method: <bound method PseudoFile.write of <idlelib.PyShell.PseudoFile
object at 0xa08642c>>
Args: (' File "<pyshell#0>", line 1, in <module>\n',)
----------
components: IDLE
messages: 83629
nosy: gerluijten
severity: normal
status: open
title: Error on leaving IDLE with quit() or exit() under Linux
type: crash
versions: Python 3.1
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5492>
_______________________________________
More information about the Python-bugs-list
mailing list