Two updates:

   1. Reading the source code I see that sure enough, getOpenFileName 
   returns a tuple of the name and the filter, contrary to the docs.
   2. Inspired by this 
   <http://www.qtcentre.org/threads/60874-QFileDialog-freezes>, I found a 
   crappy workaround:

fname = QFileDialog.getOpenFileName(None, "Select a file...", '.', filter="All 
files (*),
                                    options=QFileDialog.DontUseNativeDialog)

Adding the DontUseNativeDialog option shows the ugly Qt dialog, but it 
doesn't hang!

Heath

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/ebc23011-0ae6-40c8-8a9a-05ef48b4c44d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to