[issue38974] using tkinter.filedialog.askopenfilename() freezes python 3.8

2021-04-08 Thread Colin Caprani


Colin Caprani  added the comment:

In case it helps, I have the same problem. Running python 3.8.8 on Windows 10, 
and any MWE doesn't work, e.g.:

from tkinter import filedialog
from tkinter import *

root = Tk()
root.filename =  filedialog.askopenfilename(initialdir = "/",title = "Select 
file",filetypes = (("jpeg files","*.jpg"),("all files","*.*")))
print (root.filename)

I just get the spinning circle and unresponsive dialog. I have quite a few 
shell integrations so uninstalling them is not ideal.

--
nosy: +colin.caprani

___
Python tracker 

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



[issue38974] using tkinter.filedialog.askopenfilename() freezes python 3.8

2019-12-06 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

filedialog.askopenfilename returns 'Open(**options).show()'.  IDLE's File => 
Open (^O) calls Open and show directly.  It continues to run on all versions on 
my machine (and presumably those of numerous others).  I have TortoiseGit now 
and only recently removed TortoiseHG, so those two seem well-enough behaved.  
This is almost certainly not a cpython issue, but it would be good to know 
where the problem lies.

--
nosy: +terry.reedy

___
Python tracker 

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



[issue38974] using tkinter.filedialog.askopenfilename() freezes python 3.8

2019-12-05 Thread Steve Dower


Steve Dower  added the comment:

Temporarily uninstalling your Dropbox client is the easiest way.

--

___
Python tracker 

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



[issue38974] using tkinter.filedialog.askopenfilename() freezes python 3.8

2019-12-05 Thread Daniel Preston


Daniel Preston  added the comment:

How would I do that?

--

___
Python tracker 

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



[issue38974] using tkinter.filedialog.askopenfilename() freezes python 3.8

2019-12-05 Thread Steve Dower


Steve Dower  added the comment:

Potentially. I don't have it installed, so I can't test, but I know in the past 
it added a shell extension that would display overlays over files it controlled.

That shell extension will be loaded into most system file picker dialogs, and 
at various points has executed Python code. I doubt they're on 3.8, but it's 
possible that there is some kind of conflict.

Can you try uninstalling or disabling its shell integration?

--

___
Python tracker 

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



[issue38974] using tkinter.filedialog.askopenfilename() freezes python 3.8

2019-12-05 Thread Daniel Preston


Daniel Preston  added the comment:

I have dropbox installed, would that be what's causing the problem?

--

___
Python tracker 

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



[issue38974] using tkinter.filedialog.askopenfilename() freezes python 3.8

2019-12-04 Thread Steve Dower


Steve Dower  added the comment:

Processor type is far less likely than a shell extension.

Do you have anything like DropBox/Tortoise???/etc. installed?

--

___
Python tracker 

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



[issue38974] using tkinter.filedialog.askopenfilename() freezes python 3.8

2019-12-04 Thread Daniel Preston


Daniel Preston  added the comment:

No, it is an issue with Windows. I think it might only be a problem with my 
computer though, maybe the fact that I have an AMD processor might have 
something to do with the problem?

--

___
Python tracker 

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



[issue38974] using tkinter.filedialog.askopenfilename() freezes python 3.8

2019-12-04 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

What is your OS? Is it macOS specific issue?

--

___
Python tracker 

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



[issue38974] using tkinter.filedialog.askopenfilename() freezes python 3.8

2019-12-04 Thread Brett Cannon


Change by Brett Cannon :


--
title: using filedialog.askopenfilename() freezes python 3.8 -> using 
tkinter.filedialog.askopenfilename() freezes python 3.8

___
Python tracker 

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