Opened 17 years ago

Closed 16 years ago

Last modified 16 years ago

#13970 closed defect (invalid)

gimp port crashes on click

Reported by: jeffadams78@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: jmroot (Joshua Root)
Port:

Description (last modified by jmpalacios (Juan Manuel Palacios))

OS X 10.5 on a G4 emac, the gimp port crashes after opening a JPEG and clicking on the image:

(gimp:16714): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
^[The program 'gimp' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 28748 error_code 3 request_code 39 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

(script-fu:16723): LibGimpBase-WARNING **: script-fu: gimp_wire_read(): error


There are errors on startup also, but when I was running 10.3 with the macports gimp, I got errors on startup but it ran fine anyway.

Here are the current startup errors:
Traceback (most recent call last):
  File "/opt/local/lib/gimp/2.0/plug-ins/py-slice.py", line 31, in <module>
    from gimpfu import *
  File "/opt/local/lib/gimp/2.0/python/gimpfu.py", line 74, in <module>
    import gimp
ImportError: dlopen(/opt/local/lib/gimp/2.0/python/gimp.so, 2): Symbol not found: _PyGimpChannel_Type
  Referenced from: /opt/local/lib/gimp/2.0/python/gimp.so
  Expected in: flat namespace


(gimp:16714): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
  File "/opt/local/lib/gimp/2.0/plug-ins/palette-to-gradient.py", line 17, in <module>
    from gimpfu import *
  File "/opt/local/lib/gimp/2.0/python/gimpfu.py", line 74, in <module>
    import gimp
ImportError: dlopen(/opt/local/lib/gimp/2.0/python/gimp.so, 2): Symbol not found: _PyGimpChannel_Type
  Referenced from: /opt/local/lib/gimp/2.0/python/gimp.so
  Expected in: flat namespace


(gimp:16714): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
  File "/opt/local/lib/gimp/2.0/plug-ins/palette-sort.py", line 17, in <module>
    from gimpfu import *
  File "/opt/local/lib/gimp/2.0/python/gimpfu.py", line 74, in <module>
    import gimp
ImportError: dlopen(/opt/local/lib/gimp/2.0/python/gimp.so, 2): Symbol not found: _PyGimpChannel_Type
  Referenced from: /opt/local/lib/gimp/2.0/python/gimp.so
  Expected in: flat namespace


(gimp:16714): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
  File "/opt/local/lib/gimp/2.0/plug-ins/palette-offset.py", line 17, in <module>
    from gimpfu import *
  File "/opt/local/lib/gimp/2.0/python/gimpfu.py", line 74, in <module>
    import gimp
ImportError: dlopen(/opt/local/lib/gimp/2.0/python/gimp.so, 2): Symbol not found: _PyGimpChannel_Type
  Referenced from: /opt/local/lib/gimp/2.0/python/gimp.so
  Expected in: flat namespace


(gimp:16714): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
  File "/opt/local/lib/gimp/2.0/plug-ins/happy-valley-relief.py", line 20, in <module>
    from gimpfu import *
  File "/opt/local/lib/gimp/2.0/python/gimpfu.py", line 74, in <module>
    import gimp
ImportError: dlopen(/opt/local/lib/gimp/2.0/python/gimp.so, 2): Symbol not found: _PyGimpChannel_Type
  Referenced from: /opt/local/lib/gimp/2.0/python/gimp.so
  Expected in: flat namespace


(gimp:16714): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
  File "/opt/local/lib/gimp/2.0/plug-ins/gimpcons.py", line 20, in <module>
    from gimpfu import *
  File "/opt/local/lib/gimp/2.0/python/gimpfu.py", line 74, in <module>
    import gimp
ImportError: dlopen(/opt/local/lib/gimp/2.0/python/gimp.so, 2): Symbol not found: _PyGimpChannel_Type
  Referenced from: /opt/local/lib/gimp/2.0/python/gimp.so
  Expected in: flat namespace


(gimp:16714): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
  File "/opt/local/lib/gimp/2.0/plug-ins/foggify.py", line 20, in <module>
    from gimpfu import *
  File "/opt/local/lib/gimp/2.0/python/gimpfu.py", line 74, in <module>
    import gimp
ImportError: dlopen(/opt/local/lib/gimp/2.0/python/gimp.so, 2): Symbol not found: _PyGimpChannel_Type
  Referenced from: /opt/local/lib/gimp/2.0/python/gimp.so
  Expected in: flat namespace


(gimp:16714): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
  File "/opt/local/lib/gimp/2.0/plug-ins/colorxhtml.py", line 25, in <module>
    import gimp
ImportError: dlopen(/opt/local/lib/gimp/2.0/python/gimp.so, 2): Symbol not found: _PyGimpChannel_Type
  Referenced from: /opt/local/lib/gimp/2.0/python/gimp.so
  Expected in: flat namespace

The distribution provided by http://wilber-loves-apple.org/ has the exact same behavior.

Change History (13)

comment:1 Changed 17 years ago by jeffadams78@…

BTW here are the ports I have installed:

The following ports are currently installed:

aalib @1.4rc5_2 (active) apache2 @2.2.6_0+darwin_9 (active) apr @1.2.12_0+darwin_9 (active) apr-util @1.2.12_0 (active) atk @1.20.0_1 (active) audiofile @0.2.6_1 (active) autoconf @2.61_1 (active) automake @1.10_0 (active) boost-jam @3.1.15_0 (active) bzip2 @1.0.4_1 (active) cairo @1.4.12_0 (active) cmake @2.4.7_0 (active) coreutils @6.9_1+darwin_9 (active) curl @7.17.1_0 (active) db44 @4.4.20_1 (active) dbus @1.0.2_2 (active) dbus-glib @0.74_0 (active) docbook-xml @4.5_1 (active) docbook-xml-4.1.2 @4.1.2_1 (active) docbook-xml-4.2 @4.2_0 (active) docbook-xml-4.3 @4.3_0 (active) docbook-xml-4.4 @4.4_0 (active) docbook-xml-4.5 @4.5_0 (active) docbook-xsl @1.72.0_0 (active) esound @0.2.38_1 (active) exiv2 @0.14_0 (active) expat @2.0.1_0 (active) fontconfig @2.5.0_0+macosx (active) freetype @2.3.5_1 (active) gail @1.20.1_1 (active) gawk @3.1.5_2 (active) gconf @2.20.1_0 (active) getopt @1.1.4_1 (active) gettext @0.17_2 (active) gimp @2.4_3+macosx (active) gimp-app @2.4.0_0 (active) gimp-jp2 @0.1_0 (active) gimp-lqr-plugin @0.3.0-6_0 (active) gimp-user-manual @0.13_0+fetch (active) gimp2 @2.4.2_0 (active) glib2 @2.14.4_1+darwin_9 (active) gmake @3.81_0 (active) gnome-keyring @2.20.1_0 (active) gnome-mime-data @2.18.0_3 (active) gnome-vfs @2.20.0_1 (active) gtk-doc @1.9_0 (active) gtk-nodoka-engine @0.6_0 (active) gtk2 @2.12.2_0+x11 (active) gutenprint @5.0.1_1 (active) help2man @1.36.4_1 (active) howl @1.0.0_0 (active) icns-gimp @0.1_0 (active) intltool @0.36.2_0 (active) jpeg @6b_2 (active) lcms @1.16_0 (active) libart_lgpl @2.3.19_2 (active) libbonobo @2.20.1_2 (active) libbonoboui @2.20.0_1 (active) libcroco @0.6.1_1 (active) libexif @0.6.16_1 (active) libgcrypt @1.2.4_1 (active) libglade2 @2.6.2_0 (active) libgnome @2.20.1.1_1 (active) libgnomecanvas @2.20.1.1_0 (active) libgnomeui @2.20.1.1_0 (active) libgpg-error @1.6_0 (active) libgsf @1.14.7_0 (active) libgtkhtml @2.11.1_0 (active) libiconv @1.12_0 (active) libidl @0.8.9_0 (active) libmcrypt @2.5.8_0 (active) libmikmod @3.2.0-beta2_0 (active) libmng @1.0.9_0 (active) libogg @1.1.3_2 (active) libpng @1.2.24_0 (active) librsvg @2.18.2_1 (active) libsdl @1.2.12_0+darwin_9 (active) libsdl_image @1.2.6_2 (active) libsdl_mixer @1.2.8_0 (active) libtool @1.5.24_1 (active) libusb @0.1.12_1 (active) libvorbis @1.2.0_0 (active) libwmf @0.2.8.4_0 (active) libxml2 @2.6.30_0 (active) libxslt @1.1.22_0 (active) m4 @1.4.10_1 (active) macclipboard-gimp @0.7_0 (active) macfile-gimp @0.1_0 (active) mhash @0.9.9_0 (active) mysql5 @5.0.51_0+server (active) ncurses @5.6_0 (active) ncursesw @5.6_0+darwin_9 (active) neon @0.26.4_0 (active) openjpeg @1.2_3 (active) openssl @0.9.8g_0 (active) orbit2 @2.14.10_2+darwin_9 (active) p5-locale-gettext @1.05_0 (active) p5-xml-parser @2.36_0 (active) pango @1.18.3_0 (active) pcre @7.4_0 (active) perl5.8 @5.8.8_0 (active) php5 @5.2.5_1+apache2+macosx+mysql5 (active) pkgconfig @0.22_0 (active) poppler @0.6.3_0 (active) poppler-data @0.2.0_0 (active) popt @1.12_0 (active) py25-cairo @1.4.0_1 (active) py25-gobject @2.14.0_0 (active) py25-gtk @2.12.0_0 (active) py25-numeric @24.2_1+macosx (active) python24 @2.4.4_1+darwin_9 (active) python25 @2.5.1_4+darwin_9 (active) readline @5.2.007_0+darwin_9 (active) render @0.9_1 (active) sane-backends @1.0.18_1 (active) scons @0.97_0 (active) scrollkeeper @0.3.14_6 (active) smpeg @0.4.4_6 (active) sqlite3 @3.5.4_0 (active) subversion @1.4.6_0+mod_dav_svn (active) tiff @3.8.2_1+macosx (active) ufraw @0.12_0 (active) Xft2 @2.1.12_0 (active) xmlcatmgr @2.2_1 (active) xmlto @0.0.18_3 (active) xorg-util-macros @1.1.5_0 (active) xorg-xproto @7.0.11_1 (active) xrender @0.9.0_2 (active) xsane @0.994_0 (active) zlib @1.2.3_1 (active)

comment:2 Changed 17 years ago by gui-dos (Guido Soranzio)

A workaround has already been committed along with the update to Gimp 2.4.3, [13820]: you are required to rebuild all you outdated python ports in any case.

comment:3 Changed 17 years ago by gui-dos (Guido Soranzio)

Sorry, I meant the ticket #13820 and the changeset [32520]

comment:4 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)

Description: modified (diff)
Milestone: Port Bugs

comment:5 Changed 17 years ago by jeffadams78@…

I don't have any outdated ports, python or otherwise (according to "port outdated" anyway), and this is gimp 2.4.3. It would appear that the workaround is not effective in my case.

comment:6 Changed 17 years ago by skymoo (Adam Mercer)

looks like you need to install the updated X11 from http://xquartz.macosforge.org

comment:7 Changed 17 years ago by bakkerbart@…

I can confirm that updating X11 fixes this.

comment:8 in reply to:  5 ; Changed 17 years ago by gui-dos (Guido Soranzio)

Cc: jeffadams78@… added

Replying to jeffadams78@yahoo.com:

I don't have any outdated ports, python

From the output you posted, it doesn't seem you have updated to revision "_1" of py25-gobject, nor py25-gtk: I still read "py25-gobject @2.14.0_0" and "py25-gtk @2.12.0_0")

comment:9 in reply to:  8 Changed 17 years ago by jeffadams78@…

Those must not apply to my setup, because macports won't install them. See below.

Replying to gui_dos@macports.org:

From the output you posted, it doesn't seem you have updated to revision "_1" of py25-gobject, nor py25-gtk: I still read "py25-gobject @2.14.0_0" and "py25-gtk @2.12.0_0")

bash-3.2$ sudo port outdated
Password:
No installed ports are outdated.
bash-3.2$ port installed | grep py
  py25-cairo @1.4.0_1 (active)
  '''py25-gobject @2.14.0_0 (active)'''
  py25-gtk @2.12.0_0 (active)
  py25-numeric @24.2_1+macosx (active)
  python24 @2.4.4_1+darwin_9 (active)
  python25 @2.5.1_4+darwin_9 (active)
bash-3.2$ sudo port upgrade py25-gobject
Password:
bash-3.2$ port installed | grep py
  py25-cairo @1.4.0_1 (active)
  '''py25-gobject @2.14.0_0 (active)'''
  py25-gtk @2.12.0_0 (active)
  py25-numeric @24.2_1+macosx (active)
  python24 @2.4.4_1+darwin_9 (active)
  python25 @2.5.1_4+darwin_9 (active)
bash-3.2$ 

comment:10 Changed 17 years ago by raimue (Rainer Müller)

Please run port sync to get the latest ports tree.

comment:11 Changed 17 years ago by jmroot (Joshua Root)

Cc: jmr@… added; jeffadams78@… removed

Does the updated X11 in OS X 10.5.2 fix this?

comment:12 Changed 16 years ago by dbevans (David B. Evans)

Resolution: invalid
Status: newclosed

Closing due to lack of response and gimp 2.6.2 is now current. If problem persists with the current version of gimp please submit a new ticket.

comment:13 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.