This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gpolo
Recipients ajaksu2, gerluijten, gpolo
Date 2009-06-14.20:22:07
SpamBayes Score 8.771239e-09
Marked as misclassified No
Message-id <1245010932.47.0.308465325502.issue5492@psf.upfronthosting.co.za>
In-reply-to
Content
I can get a similar error from time to time, just try it a couple of
times and I believe you should hit it too.

When that error isn't thrown IDLE prints the traceback of a SystemExit
exception inside IDLE right before closing, so it may be hard to notice.

The error I am able to get (using 3.1rc2+ r73431):


*** Internal Error: rpc.py:SocketIO.localcall()

 Object: stderr 
 Method: <bound method PseudoFile.write of <idlelib.PyShell.PseudoFile
object at 0x8b6084c>> 
 Args: ('SystemExit: None\n',)

Traceback (most recent call last):
  File "/home/gpolo/python-dev/py3k/Lib/idlelib/rpc.py", line 188, in
localcall
    ret = method(*args, **kwargs)
  File "/home/gpolo/python-dev/py3k/Lib/idlelib/PyShell.py", line 1231,
in write
    self.shell.write(s, self.tags)
  File "/home/gpolo/python-dev/py3k/Lib/idlelib/PyShell.py", line 1214,
in write
    self.text.mark_gravity("iomark", "left")
AttributeError: 'NoneType' object has no attribute 'mark_gravity'


I'm not sure if it can't happen in python-trunk too, I see it throws an
exception when leaving IDLE but till now I never got an error message
after IDLE (almost) exited.
History
Date User Action Args
2009-06-14 20:22:15gpolosetrecipients: + gpolo, ajaksu2, gerluijten
2009-06-14 20:22:12gpolosetmessageid: <1245010932.47.0.308465325502.issue5492@psf.upfronthosting.co.za>
2009-06-14 20:22:11gpololinkissue5492 messages
2009-06-14 20:22:07gpolocreate