Re: PyGTK and Py2Exe troubles
- From: "Tim N. van der Leeuw" <tim.leeuwvander@xxxxxxxxxxxxx>
- Date: 24 Jun 2006 10:27:49 -0700
riqu...@xxxxxxxxx wrote:
Tim N. van der Leeuw ha scritto:
I tried to create a windows executable of a pygtk program. My first
attempt worked, kinda, except that no themes were applied and no
readable fonts were found by pango; so all letters where just empty
squares. But the program worked.
I looked up some docs, found the following recipe on the PyGTK Wiki
site:
http://starship.python.net/crew/theller/moin.cgi/Py2exeAndPyGTK
I followed those instructions to convert my setup.py file; everything
still worked the same as before.
versions of python,gtk,pygtk? wich windows?
wich installer of gtk have you used?
did you install pycairo too?
try again with these one, if different from yours
gtk -> http://gladewin32.sourceforge.net
pygtk/pycairo -> http://www.mapr.ucl.ac.be/~gustin/win32_ports/
bye,
Riccardo
Riccardo,
Thanks for your reply; sorry for omitting all the relevant details!
Python: 2.4.3 from python.org
Windows XP SP2
GTK 2.8.18 from gladewin32
pygtk & pycairo from Gustin's ports.
py2exe: 0.6.5
The program works when run under the interpreter; but crashes when
using py2exe and all shared files mentioned, are copied to the same dir
as the exe. (When I don't copy all those files, pango complains about
missing fonts and shows only empty squares for all leters. but the
program doesn't crash. It only crashes when GTK's shared files are with
the program)
Thanks,
--Tim
.
- References:
- PyGTK and Py2Exe troubles
- From: Tim N. van der Leeuw
- Re: PyGTK and Py2Exe troubles
- From: riquito
- PyGTK and Py2Exe troubles
- Prev by Date: Re: PyGTK and Py2Exe troubles
- Next by Date: Re: Kamaelia 0.4.0 RELEASED - Faster! More Tools! More Examples! More Docs! ;-)
- Previous by thread: Re: PyGTK and Py2Exe troubles
- Next by thread: search engine
- Index(es):