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.

classification
Title: tkFileDialog closes Python when used
Type: behavior Stage: test needed
Components: Tkinter Versions: Python 3.3
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: BreamoreBoy, asvetlov, ferrari24, georg.brandl, loewis, terry.reedy
Priority: normal Keywords:

Created on 2007-07-11 22:06 by ferrari24, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (4)
msg32479 - (view) Author: ferrari24 (ferrari24) Date: 2007-07-11 22:06
Whenever I use tkFileDialog, after a couple of seconds of  the File Dialog window being open, Python closes. The entire application just closes, and there is no error reporting screen.

I am using Python 2.5.1 on Microsoft Windows XP Pro. SP2 (x86).
msg112876 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2010-08-04 19:56
I've tried this on Windows Vista against 3.1 and it worked fine.  So can this be closed as out of date?
msg156627 - (view) Author: Andrew Svetlov (asvetlov) * (Python committer) Date: 2012-03-22 23:16
Ping.
Is there can be reproduced?
I like to see the issue as out of date.
msg156633 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2012-03-23 03:12
Without a specific claimed failing program and contemporary verification, it is hard to know whether one has reproduced or not. With 3.3 I did

import tkinter.filedialog as tkf
import tkinter as tk
fd=tkf.FileDialog(tk.Tk())
fd.go()

and got a file dialog window as well as a root window which sat there until I closed the fd window at least 10 seconds later. The root window did not close properly, but I suspect the above in missing anything. In any case, several crash causes have been fixed since 2007, so I agree to close.

The file dialog window was not the native window displayed for file selection in IDLE, and was pretty ugly. So I do not imagine that this is used much. It probably could be updated, but that is another issue for another time.
History
Date User Action Args
2022-04-11 14:56:25adminsetgithub: 45180
2012-03-23 03:12:53terry.reedysetstatus: open -> closed
resolution: out of date
messages: + msg156633
2012-03-22 23:16:20asvetlovsetnosy: + loewis, georg.brandl, terry.reedy, asvetlov

messages: + msg156627
versions: + Python 3.3, - Python 2.6, Python 3.0
2010-08-04 19:56:23BreamoreBoysetnosy: + BreamoreBoy
messages: + msg112876
2009-04-06 10:32:50ajaksu2setstage: test needed
type: behavior
components: + Tkinter, - None
versions: + Python 2.6, Python 3.0
2007-07-11 22:06:34ferrari24create