recently I wrote a simple GUI Programm which has used tkFileBrowser . It works well and I appreciate it.
But when i package this .py Script into .exe flie with pyinstaller ,the problems arise.
When i double click the .exe , the programm works well but if i click the Button "opendirs" which command is askopendirnames from tkFileBrowser . then occour error :
Exception in Tkinter callback
Traceback (most recent call last):
File "tkinter_init_.py", line 1705, in call
File "auto.py", line 58, in seldirs
File "tkfilebrowser\functions.py", line 101, in askopendirnames
File "tkfilebrowser\filebrowser.py", line 210, in init
File "tkinter_init_.py", line 3545, in init
File "tkinter_init_.py", line 3501, in init
_tkinter.TclError: couldn't open ".\tkfilebrowser\images\file.png": no such file or directory
and dialog shows empty ,just blank
I checked the dependencies in exe folder ,there is no .\tkfilebrowser folder in my .exe path . Then i copy the tkfilebrowser from your github site in exe folder then everything is fine .
I'm not sure if this issue from tkfilebrowser or from pyinstaller, but if I don't use askopendirnames then the program will be fine. Just reporting on it, maybe you know the answer.