New submission from Patrick Holz patrick.h...@googlemail.com:
When using the function tkFileDialog.askopenfiles() on Windows 7 (32-bit) the
following error occurs after choosing one or more arbitrary files:
Python 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit(Intel)] on
win32
Type help, copyright, credits or license for more information.
import tkFileDialog
tkFileDialog.askopenfiles()
Traceback (most recent call last):
File stdin, line 1, in module
File C:\Python26\lib\lib-tk\tkFileDialog.py, line 163, in askopenfiles
ofiles.append(open(filename, mode))
IOError: [Errno 2] No such file or directory: u'C'
So it seems that the colon after C (the drive letter) is wrongly used as a
delimiter. The functions askopenfile (for a single file to choose) and
askopenfilenames (to choose only the filenames instead of open the files
immediately) don't seem to be affected, furthermore the error doesn't occur on
Linux or WinXP.
--
components: Tkinter
messages: 100020
nosy: Patrick.Holz
severity: normal
status: open
title: tkFileDialog.askopenfiles crashes on Windows 7
type: crash
versions: Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8010
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com