Python shell wont open idle or an exisiting py file



Python 3.3.3 (v3.3.3:c3896275c0f6, Nov 18 2013, 21:18:40) [MSC v.1600 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Python33\lib\tkinter\", line 1475, in __call__
return self.func(*args)
File "C:\Python33\lib\idlelib\", line 927, in open_recent_file
File "C:\Python33\lib\idlelib\", line 183, in open
File "C:\Python33\lib\idlelib\", line 36, in open
edit = self.EditorWindow(self, filename, key)
File "C:\Python33\lib\idlelib\", line 126, in __init__
EditorWindow.__init__(self, *args)
File "C:\Python33\lib\idlelib\", line 287, in __init__
if io.loadfile(filename):
File "C:\Python33\lib\idlelib\", line 242, in loadfile
File "C:\Python33\lib\idlelib\", line 523, in updaterecentfileslist
File "C:\Python33\lib\idlelib\", line 915, in update_recent_files_list
menu.delete(0, END) # clear, and rebuild:
File "C:\Python33\lib\tkinter\", line 2778, in delete
if 'command' in self.entryconfig(i):
File "C:\Python33\lib\tkinter\", line 2788, in entryconfigure
return self._configure(('entryconfigure', index), cnf, kw)
File "C:\Python33\lib\tkinter\", line 1247, in _configure, cmd)))):
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc0 in position 10: invalid start byte

This is the error message.


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question