Issue 8755: idle crash UnicodeDecodeError utf-8 codec (original) (raw)
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 main() File "/usr/lib/python3.1/idlelib/PyShell.py", line 1420, in main root.mainloop() File "/usr/lib/python3.1/tkinter/init.py", line 1012, in mainloop self.tk.mainloop(n) 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.