[pygtk] PyGTK and Freeze.py - How?

Christopher Bland themanatuf at juno.com
Sat Nov 11 02:56:09 WST 2006


I've read a couple of threads regarding PyGTK and Freeze.py but I
haven't been able to get it to work nor have I found anyone who has
gotten it to work?

Has anyone had success getting freeze to work with their PyGTK app? I
have a simple 'Hello World' app and whenever I execute the frozen
binary I get the well known:

[code]
Traceback (most recent call last):
  File "hello.py", line 10, in ?
    import gtk
  File "/usr/lib/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line
38, in ?
    import gobject as _gobject
  File "/usr/lib/python2.4/site-packages/gtk-2.0/gobject/__init__.py",
line 30, in ?
    from _gobject import *
SystemError: dynamic module not initialized properly
[/code]

I've tried putting the _gobject.so in the working dir of the app,
setting PYTHONPATH and even setting LD_LIBRARY_PATH when building the
binary, but no luck...

If anyone has any thoughts and/or ideas I'd greatly appreciate it. Thanks!


________________________________________________________________________
Try Juno Platinum for Free! Then, only $9.95/month!
Unlimited Internet Access with 1GB of Email Storage.
Visit http://www.juno.com/value to sign up today!




More information about the pygtk mailing list