Python shell wont open idle or an exisiting py file

G

Guest

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\__init__.py", line 1475, in __call__
return self.func(*args)
File "C:\Python33\lib\idlelib\EditorWindow.py", line 927, in open_recent_file
self.io.open(editFile=fn_closure)
File "C:\Python33\lib\idlelib\IOBinding.py", line 183, in open
flist.open(filename)
File "C:\Python33\lib\idlelib\FileList.py", line 36, in open
edit = self.EditorWindow(self, filename, key)
File "C:\Python33\lib\idlelib\PyShell.py", line 126, in __init__
EditorWindow.__init__(self, *args)
File "C:\Python33\lib\idlelib\EditorWindow.py", line 287, in __init__
if io.loadfile(filename):
File "C:\Python33\lib\idlelib\IOBinding.py", line 242, in loadfile
self.updaterecentfileslist(filename)
File "C:\Python33\lib\idlelib\IOBinding.py", line 523, in updaterecentfileslist
self.editwin.update_recent_files_list(filename)
File "C:\Python33\lib\idlelib\EditorWindow.py", line 915, in update_recent_files_list
menu.delete(0, END) # clear, and rebuild:
File "C:\Python33\lib\tkinter\__init__.py", line 2778, in delete
if 'command' in self.entryconfig(i):
File "C:\Python33\lib\tkinter\__init__.py", line 2788, in entryconfigure
return self._configure(('entryconfigure', index), cnf, kw)
File "C:\Python33\lib\tkinter\__init__.py", line 1247, in _configure
self.tk.call(_flatten((self._w, 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

Members online

Forum statistics

Threads
474,056
Messages
2,570,440
Members
47,101
Latest member
DoloresHol

Latest Threads

Top