PDA

View Full Version : Publishing and exe that uses Tkinter


kevin
06-02-2011, 09:30 AM
I'm running into problems publishing an exe for a program which uses Tkinter. The pyc files and dlls which are part of the Tkinter package are included after I run the program while building, but after I actually publish and try the run the exe, I get the 'Vizard launching...' box and then the program quits.

I'm fairly certain it's something to do with Tkinter, as I made a test program which consists only of Tkinter code and a viz.go() call. The exe of this program has the same problem. I was also able to successfully publish an exe of a program which does not use Tkinter.

Has anyone had the same problem or tried publishing an exe with Tkinter included, and know what might be causing this issue?

kevin
06-09-2011, 03:02 PM
I've found the problem. It has to do with .tcl files and the file types Vizard automatically detects to include in executables.

Someone else had posted a thread about the same problem earlier this year, so I posted my solution there: http://forum.worldviz.com/showthread.php?p=12669#post12669