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.

Author tegavu
Recipients tegavu
Date 2013-08-29.18:52:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1377802367.69.0.551472579776.issue18877@psf.upfronthosting.co.za>
In-reply-to
Content
Using Python 3.3 on W7x64 I wanted to create a file dialog that allows me to select multiple files.
The code below is an example of how to re-create the bug.

# -*- coding: iso-8859-15 -*-
# Python 3

import tkinter 
import tkinter.filedialog  

def callback():
    name = tkinter.filedialog.askopenfilenames() 
    print(name)
     
tkinter.Button(text='File Open', command=callback).pack()
tkinter.mainloop()


---------
THE PROBLEM:
When selecting any file in the windows library\* folders (those: http://beingpc.com/wp-content/uploads/2011/05/How-to-Change-the-Windows-7-Library-Icon.jpg ) the return value that will be printed is always {}.
tkinter.filedialog.askopenfilename() (without the 's') works fine also in those directories.

Can anyone reproduce this behavior?
History
Date User Action Args
2013-08-29 18:52:47tegavusetrecipients: + tegavu
2013-08-29 18:52:47tegavusetmessageid: <1377802367.69.0.551472579776.issue18877@psf.upfronthosting.co.za>
2013-08-29 18:52:47tegavulinkissue18877 messages
2013-08-29 18:52:47tegavucreate