[issue25309] askopenfilename crashes on XP with "Show pop-up description for folder and desktop items" on

alex wieder report at bugs.python.org
Sun Oct 4 12:46:39 EDT 2015


alex wieder added the comment:

Terry, thanks for your feedback.

By crash, I mean python crashing with a Windows c0000005 error. I can't even capture that exception in a try...except structure.

This is on an Intel Core2Duo 2.7GHz with 4 GB of RAM, with Acrobat Reader X installed, which might account for Windows Explorer's delay in gathering the pdfs' information and presenting it in the pop-up. It also happens on a virtual XP machine I use at my office (VirtualBox running on an i7-based linux box).

I ran pickfile.py every way I could think of: with python's console interpreter, with the windows-based interpreter (no black console window showing up). In both cases I tried compiled and interpreted versions of it (.py & .pyc), and also from within Eclipse (regular run and debugger).

As long as a user double-clicks on a file while Windows is still gathering information to display in the pop-up, it crashes.

I will have access to win7 i5-based computers next week, so I can test  then, but these will be much faster computers, so this issue might be moot.

Python 3.4.3. I don't know how to check tkinter version, but it's the one that comes with the 3.4.3 python installer.

Comment-per-line... I know, but I need to be able to read my own code six months from now (I still maintain code written by me 25 years ago and if it weren't for those, I'd be screwed sometimes). I realize that this particular program is quite obvious, but pickfile.py is just a slice of a much longer file. I'll remove obvious comments if I have to post again.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25309>
_______________________________________


More information about the Python-bugs-list mailing list