This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: askdirectory() in tkinter.filedialog is broken
Type: crash Stage:
Components: Tkinter Versions: Python 3.0
Status: closed Resolution: duplicate
Dependencies: Superseder:
Assigned To: Nosy List: dogtato, gpolo
Priority: normal Keywords:

Created on 2008-12-04 23:05 by dogtato, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg76941 - (view) Author: Chad Spratt (dogtato) Date: 2008-12-04 23:05
Calls to tkinter.filedialog.askdirectory() throw a KeyError if any of 
the options (title, text, bitmap, default, strings) are not provided.

Previously saying "askdirectory()" with no arguments would open a file 
browser window. Since all other functions in filedialog still function 
with no arguments this seems like an error. (Actually askopenfiles() 
seems to be broken too, saying "IOError: [Errno 2] No such file or 
directory: '{'")
msg78605 - (view) Author: Guilherme Polo (gpolo) * (Python committer) Date: 2008-12-31 13:47
I was about to mark this as invalid when I found out I had patched
tkinter/ myself. Nevertheless, this is a duplicate of issue4406
Date User Action Args
2022-04-11 14:56:42adminsetgithub: 48789
2008-12-31 13:47:28gpolosetstatus: open -> closed
resolution: duplicate
messages: + msg78605
nosy: + gpolo
2008-12-04 23:05:15dogtatocreate