RSS/Atom feed Twitter
Site is read-only, email is disabled

Pygtk errors at startup (OS X)

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

1 of 1 message available
Toggle history

Please log in to manage your subscriptions.

Pygtk errors at startup (OS X) Ettore Pasquini 22 Feb 00:33
Ettore Pasquini
2008-02-22 00:33:52 UTC (almost 17 years ago)

Pygtk errors at startup (OS X)

I just built GIMP on Mac OS X 10.4.11 from the latest svn sources but when I launch it I get these errors at startup (however, GIMP seems to run regardless):

cube15:/Volumes/datacube/svn/gimp/trunk ep$ This is a development version of GIMP. Debug messages may appear here.

Traceback (most recent call last): File "/opt/gimp/lib/gimp/2.0/plug-ins/py-slice.py", line 31, in ? from gimpfu import *
File "/opt/gimp/lib/gimp/2.0/python/gimpfu.py", line 74, in ? import gimp
ImportError: could not import pygtk

(gimp-2.5:13288): LibGimpBase-WARNING **: gimp-2.5: gimp_wire_read(): error Traceback (most recent call last):
File "/opt/gimp/lib/gimp/2.0/plug-ins/palette-to-gradient.py", line 17, in ?
from gimpfu import *
File "/opt/gimp/lib/gimp/2.0/python/gimpfu.py", line 74, in ? import gimp
ImportError: could not import pygtk

(gimp-2.5:13288): LibGimpBase-WARNING **: gimp-2.5: gimp_wire_read(): error

Identical errors also for files: "/opt/gimp/lib/gimp/2.0/plug-ins/palette-sort.py", line 17 "/opt/gimp/lib/gimp/2.0/plug-ins/palette-offset.py", line 17 "/opt/gimp/lib/gimp/2.0/plug-ins/happy-valley-relief.py", line 20 "/opt/gimp/lib/gimp/2.0/plug-ins/gimpcons.py", line 20 "/opt/gimp/lib/gimp/2.0/plug-ins/foggify.py", line 20 "/opt/gimp/lib/gimp/2.0/plug-ins/colorxhtml.py", line 25

To build GIMP I used the instructions at http://wiki.gimp.org/gimp/HowToCompileGimp/MacOSX

with:

$ ./autogen.sh --without-mng --without-alsa --disable-alsatest --without-x --with-libtiff LDFLAGS="-L/opt/gtk/lib -L/opt/local/lib -L/usr/local/lib" CPPFLAGS="-I/opt/gtk/include -I/opt/local/include -I/usr/local/include" --prefix=/opt/gimp

Any idea on how to fix those errors?

Thx

Ettore