From: Jimmy R. <ji...@re...> - 2005-10-25 19:28:02
|
Ron Provost wrote: > I'm trying to get py2exe to work with a Tkinter/Tix app that I = have.=A0 I've > gotten py2exe to work with just about everything else, so I'm confused = as > to why it's not working with Tix.=A0 I searched the mailing list = archive and > foudn someone with the same problem, and there was a response about > patching the distlist but that meant absolutely nothing to me. > > Anyway, here's the message I get when I attempt to run the generated = exe. >=20 > Traceback (most recent call last): > =A0 File "GUI.py", line 298, in ? >=A0 File "Tix.pyc", line 210, in __init__ > _tkinter.TclError: can't find package Tix > Traceback (most recent call last): >=A0 File "GUI.py", line 298, in ? >=A0 File "Tix.pyc", line 210, in __init__ > _tkinter.TclError: can't find package Tix >=A0 > Judging by what I'm accustomed to seeing in the dist directory, I kind = of > expected to see a Tix.pyd or Tix.dll file.=A0 But I don't see such a = thing. > Does anybody have any experience with this? >=A0 > Thanks for your help. > > Ron As Fuzzyman pointed out, that is a Tcl error. The Python Tix wrapper is = found, but py2exe doesn't cross over into Tcl to look for the Tix Tcl = files and DLL being used. I've put a quick Tix "Hello World" app along = with a setup.py on the Wiki that will hopefully help out: http://starship.python.net/crew/theller/moin.cgi/TixSetup Jimmy |