[issue34029] tkinter.filedialog.askdirectory() crashing before dialog opens when importing pywinauto

2018-07-06 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

Ryan: this tracker only covers issues with the PSF CPython distribution.  
Problems with 3rd party modules like pywinauto are not our responsibility until 
someone determines that its misbehavior reflects a CPython bug.

--
nosy: +terry.reedy
resolution:  -> third party
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34029] tkinter.filedialog.askdirectory() crashing before dialog opens when importing pywinauto

2018-07-05 Thread Tal Einat


Tal Einat  added the comment:

Confirmed with Python 3.6.3 on Windows 10 64-bit: It hangs showing an empty 
window.

Debugging a bit, the hang happens in Lib/tkinter/commondialog.py, line 43:

s = w.tk.call(self.command, *w._options(self.options)) 

The value of self.command is 'tk_chooseDirectory', and w._options(self.options) 
just gives an empty tuple, so the actual call is:

s = w.tk.call('tk_chooseDirectory', ())

This means that the hang is within w.tk.call().

I'd follow this up with the pywinauto devs. To me this doesn't seem like 
something wrong with the tkinter module.

--
nosy: +taleinat

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34029] tkinter.filedialog.askdirectory() crashing before dialog opens when importing pywinauto

2018-07-03 Thread Ryan


Ryan  added the comment:

Okay so I'm an idiot and forgot that I'd commented out the pywinauto import in 
one of my project files, which is how I found out that was the issue in the 
first place. 

Crash is still occurring after a pywinauto reinstall.

--
status: closed -> open

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34029] tkinter.filedialog.askdirectory() crashing before dialog opens when importing pywinauto

2018-07-03 Thread Ryan


Ryan  added the comment:

It seems reinstalling pywinauto has fixed this issue for now - I have no idea 
what could have caused it in the first place though.

--
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34029] tkinter.filedialog.askdirectory() crashing before dialog opens when importing pywinauto

2018-07-03 Thread Ryan


Change by Ryan :


Added file: https://bugs.python.org/file47667/minimal_file.py

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34029] tkinter.filedialog.askdirectory() crashing before dialog opens when importing pywinauto

2018-07-03 Thread Ryan


Change by Ryan :


--
title: tkinter.filedialog.askdirectory() crashing before dialog opens -> 
tkinter.filedialog.askdirectory() crashing before dialog opens when importing 
pywinauto

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com