Ticket #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: | jmr@… | |
| Port: |
Description (last modified by jmpp@…) (diff)
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
comment:2 Changed 5 years ago by gui_dos@…
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:5 follow-up: ↓ 8 Changed 5 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 5 years ago by ram@…
looks like you need to install the updated X11 from http://xquartz.macosforge.org
comment:8 in reply to: ↑ 5 ; follow-up: ↓ 9 Changed 5 years ago by gui_dos@…
- 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 5 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 5 years ago by raimue@…
Please run port sync to get the latest ports tree.
comment:11 Changed 5 years ago by jmr@…
- Cc jmr@… added; jeffadams78@… removed
Does the updated X11 in OS X 10.5.2 fix this?
comment:12 Changed 5 years ago by devans@…
- Status changed from new to closed
- Resolution set to invalid
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.


BTW here are the ports I have installed:
The following ports are currently installed: