idle 1.6 bug on Windows?
Syver Enstad
syver.enstad at sensewave.com
Wed Sep 6 11:57:17 EDT 2000
Using Python 1.6 final on Windows 2000 Professional.
When I try to open one of my source files I get a traceback.
Traceback (most recent call last):
File "G:\Program Files\Python\lib\lib-tk\Tkinter.py", line 766, in
__call__
return apply(self.func, args)
File "G:\PROGRA~1\Python\Tools\idle\IOBinding.py", line 71, in open
self.editwin.flist.open(filename)
File "G:\PROGRA~1\Python\Tools\idle\FileList.py", line 39, in open
if os.path.isdir(filename):
File "G:\Program Files\Python\lib\ntpath.py", line 216, in isdir
st = os.stat(path)
UnicodeError: ASCII encoding error: ordinal not in range(128)
The path to the file is "E:\Våre
dokumenter\Kode\pythonscript\pythonaddin.py" so I guess it's the a with a
ring that's causing it. Any suggestions as to how to make it work?
Is it best to continue using the 1.5.2 version of Python when using Windows?
More information about the Python-list
mailing list