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 crash on askopenfilename Python 2.7 64-bit Win7
Type: crash Stage: resolved
Components: Tkinter, Windows Versions: Python 2.7
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: Eric Johnson, paul.moore, steve.dower, tim.golden, zach.ware
Priority: normal Keywords:

Created on 2016-04-05 21:33 by Eric Johnson, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
fileopendialog.py Eric Johnson, 2016-04-05 21:33 minimal example to reproduce the problem
Messages (2)
msg262923 - (view) Author: Eric Johnson (Eric Johnson) Date: 2016-04-05 21:33
Attempting to run tkFileDialog.askopenfilename() using Python 64-bit on Windows 7 crashes.

Running SysWOW64\cmd.exe:

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Windows\SysWOW64>python
Python 2.7.11rc1 (v2.7.11rc1:82dd9545bd93, Nov 21 2015, 23:25:27) [MSC v.1500 64
 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import Tkinter
>>> Tkinter.Tcl().eval('info patchlevel')
'8.5.15'
>>> import tkFileDialog
>>> filename = tkFileDialog.askopenfilename()

C:\Windows\SysWOW64>


The application abruptly stops.

Running the same application with Python 32-bit does not crash.
msg367379 - (view) Author: Zachary Ware (zach.ware) * (Python committer) Date: 2020-04-27 03:59
As 2.7 is now EOL, I'm closing the issue.  Thanks for the report anyway, Eric, and I'm sorry we didn't get it looked into before now.
History
Date User Action Args
2022-04-11 14:58:29adminsetgithub: 70884
2020-04-27 03:59:46zach.waresetstatus: open -> closed
resolution: out of date
messages: + msg367379

stage: resolved
2016-04-05 21:48:59zach.waresetnosy: + paul.moore, tim.golden, zach.ware, steve.dower
components: + Windows
2016-04-05 21:33:16Eric Johnsoncreate