JOHN CORRY wrote:
> I am using Glade 2 + pythoncard.=A0 The program works before I try and =
turn
> it into an executable.=A0 I use the single file sample in the site =
package
> to turn it into an exe.=A0 I change the name text_wx to my filename
> 'restore' and this creates the exe for me.=A0 However when I run the =
exe, I
> get the following error:
>
> Traceback (most recent call last):
> =A0=A0 File "restore.py", line 247, in ?
>=A0=A0 File "restore.py, line 18, in __init__
> RuntimeError: could not create GladeXML object
>
> Line 18 in the program=A0is: self.wTree =3D gtk.glade.XML =
("Restore.glade",
> "window1")
> I have used the single file before to create an exe of a py file which =
did
> not include Glade.=A0 So I know that it works when Glade is not =
involved.
I'm unfamiliar with the use of Glade and Pythoncard, but maybe something =
here would help:
http://www.async.com.br/faq/pygtk/index.py?req=3Dshow&file=3Dfaq21.005.ht=
p
If not, can you make a minimal application (essentially a GUI Hello =
World) that exhibits the problem? If it's pretty small (say a couple of =
KB) send it to the list along with the version numbers of everything you =
use in the sample (including Python and py2exe) then someone may be able =
to help.
Jimmy
|