[New-bugs-announce] [issue8755] idle crash UnicodeDecodeError utf-8 codec

Andy Harrington report at bugs.python.org
Tue May 18 20:21:53 CEST 2010

New submission from Andy Harrington <aharrin at luc.edu>:

I was editing in idle in python 3.1, typing away.  I had been doing it for hours.  I do not think I had jumped to the shell window.  Suddenly idle crashed, with this error message in the the  ubuntu 9,10 terminal window:

Traceback (most recent call last):
  File "/usr/bin/idle3", line 5, in <module>
  File "/usr/lib/python3.1/idlelib/PyShell.py", line 1420, in main
  File "/usr/lib/python3.1/tkinter/__init__.py", line 1012, in mainloop
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 0-1: illegal encoding

I do not know what key combination I had just typed.  I may have just hit a crtl or alt combination.

The hardware is an Acer notebook.

This is certainly an exception that should be caught!  I did not get to even save my work.

components: IDLE
messages: 105996
nosy: andyharrington
priority: normal
severity: normal
status: open
title: idle crash  UnicodeDecodeError utf-8 codec
type: crash
versions: Python 3.1

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list