Mantis - python
Viewing Issue Advanced Details
3751 packaging minor always 2009-07-03 14:48 2009-07-24 21:22
wcohrs  
mwatters  
normal  
closed  
not fixable  
none    
none  
0003751: ImportError: ld.so.1: python:
>gimp
Traceback (most recent call last):
  File "/opt/csw/lib/gimp/2.0/plug-ins/py-slice.py", line 31, in <module>
    from gimpfu import *
  File "/opt/csw/lib/gimp/2.0/python/gimpfu.py", line 74, in <module>
    import gimp
ImportError: ld.so.1: python: Schwerer Fehler: Verschiebungsfehler: Datei /opt/c sw/lib/gimp/2.0/python/gimp.so: Symbol PyUnicodeUCS2_SetDefaultEncoding: referen ziertes Symbol nicht gefunden

(gimp:17571): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
  File "/opt/csw/lib/gimp/2.0/plug-ins/palette-to-gradient.py", line 17, in <mod ule>
    from gimpfu import *
  File "/opt/csw/lib/gimp/2.0/python/gimpfu.py", line 74, in <module>
    import gimp
ImportError: ld.so.1: python: Schwerer Fehler: Verschiebungsfehler: Datei /opt/c sw/lib/gimp/2.0/python/gimp.so: Symbol PyUnicodeUCS2_SetDefaultEncoding: referen ziertes Symbol nicht gefunden

(gimp:17571): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
  File "/opt/csw/lib/gimp/2.0/plug-ins/palette-sort.py", line 17, in <module>
    from gimpfu import *
  File "/opt/csw/lib/gimp/2.0/python/gimpfu.py", line 74, in <module>
    import gimp
ImportError: ld.so.1: python: Schwerer Fehler: Verschiebungsfehler: Datei /opt/c sw/lib/gimp/2.0/python/gimp.so: Symbol PyUnicodeUCS2_SetDefaultEncoding: referen ziertes Symbol nicht gefunden

(gimp:17571): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
  File "/opt/csw/lib/gimp/2.0/plug-ins/palette-offset.py", line 17, in <module>
    from gimpfu import *
  File "/opt/csw/lib/gimp/2.0/python/gimpfu.py", line 74, in <module>
    import gimp
ImportError: ld.so.1: python: Schwerer Fehler: Verschiebungsfehler: Datei /opt/c sw/lib/gimp/2.0/python/gimp.so: Symbol PyUnicodeUCS2_SetDefaultEncoding: referen ziertes Symbol nicht gefunden

(gimp:17571): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
  File "/opt/csw/lib/gimp/2.0/plug-ins/happy-valley-relief.py", line 20, in <mod ule>
    from gimpfu import *
  File "/opt/csw/lib/gimp/2.0/python/gimpfu.py", line 74, in <module>
    import gimp
ImportError: ld.so.1: python: Schwerer Fehler: Verschiebungsfehler: Datei /opt/c sw/lib/gimp/2.0/python/gimp.so: Symbol PyUnicodeUCS2_SetDefaultEncoding: referen ziertes Symbol nicht gefunden
http://www.opencsw.org/bugtrack/view.php?id=2941 [^]
Issue History
2009-07-03 14:48 wcohrs New Issue
2009-07-03 16:18 mwatters Note Added: 0006389
2009-07-03 16:18 mwatters Assigned To => mwatters
2009-07-03 16:18 mwatters Status new => feedback
2009-07-03 16:29 wcohrs Note Added: 0006390
2009-07-03 16:30 wcohrs Note Added: 0006391
2009-07-24 21:20 mwatters Note Added: 0006459
2009-07-24 21:22 mwatters Status feedback => closed
2009-07-24 21:22 mwatters Resolution open => not fixable

Notes
(0006389)
mwatters   
2009-07-03 16:18   
I am sorry, I can't completely read the trace back, is it in German?
but from what I can tell, you are doing something in gimp? and using the python console? and it is dumping core.

I believe this is not a problem with python, but a problem with gimp.

can you elaborate on exactly what you are doing to duplicate the problem.
(0006390)
wcohrs   
2009-07-03 16:29   
first see here
http://www.opencsw.org/bugtrack/view.php?id=2941 [^]
(0005436)
kenmays (Manager)
2008-11-25 16:02

    The problem is not **from** GIMP - it is from the GNOME-PYTHON dependency.
Cannot be fixed through GIMP maintenance so closing ticket. Move issue to GNOME PYTHON maintainer.
(0006391)
wcohrs   
2009-07-03 16:30   
i start
gimp
Traceback (most recent call last):
  File "/opt/csw/lib/gimp/2.0/plug-ins/py-slice.py", line 31, in <module>
    from gimpfu import *
  File "/opt/csw/lib/gimp/2.0/python/gimpfu.py", line 74, in <module>
    import gimp
ImportError: ld.so.1: python: fatal: relocation error: file /opt/csw/lib/gimp/2. 0/python/gimp.so: symbol PyUnicodeUCS2_SetDefaultEncoding: referenced symbol not found

(gimp:13404): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
  File "/opt/csw/lib/gimp/2.0/plug-ins/palette-to-gradient.py", line 17, in <mod ule>
    from gimpfu import *
  File "/opt/csw/lib/gimp/2.0/python/gimpfu.py", line 74, in <module>
    import gimp
ImportError: ld.so.1: python: fatal: relocation error: file /opt/csw/lib/gimp/2. 0/python/gimp.so: symbol PyUnicodeUCS2_SetDefaultEncoding: referenced symbol not found

(gimp:13404): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
  File "/opt/csw/lib/gimp/2.0/plug-ins/palette-sort.py", line 17, in <module>
    from gimpfu import *
  File "/opt/csw/lib/gimp/2.0/python/gimpfu.py", line 74, in <module>
    import gimp
ImportError: ld.so.1: python: fatal: relocation error: file /opt/csw/lib/gimp/2. 0/python/gimp.so: symbol PyUnicodeUCS2_SetDefaultEncoding: referenced symbol not found

(gimp:13404): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
  File "/opt/csw/lib/gimp/2.0/plug-ins/palette-offset.py", line 17, in <module>
    from gimpfu import *
  File "/opt/csw/lib/gimp/2.0/python/gimpfu.py", line 74, in <module>
    import gimp
ImportError: ld.so.1: python: fatal: relocation error: file /opt/csw/lib/gimp/2. 0/python/gimp.so: symbol PyUnicodeUCS2_SetDefaultEncoding: referenced symbol not found

(gimp:13404): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
  File "/opt/csw/lib/gimp/2.0/plug-ins/happy-valley-relief.py", line 20, in <mod ule>
    from gimpfu import *
  File "/opt/csw/lib/gimp/2.0/python/gimpfu.py", line 74, in <module>
    import gimp
ImportError: ld.so.1: python: fatal: relocation error: file /opt/csw/lib/gimp/2. 0/python/gimp.so: symbol PyUnicodeUCS2_SetDefaultEncoding: referenced symbol not found

(gimp:13404): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
  File "/opt/csw/lib/gimp/2.0/plug-ins/gimpcons.py", line 20, in <module>
    from gimpfu import *
  File "/opt/csw/lib/gimp/2.0/python/gimpfu.py", line 74, in <module>
    import gimp
ImportError: ld.so.1: python: fatal: relocation error: file /opt/csw/lib/gimp/2. 0/python/gimp.so: symbol PyUnicodeUCS2_SetDefaultEncoding: referenced symbol not found

(gimp:13404): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
  File "/opt/csw/lib/gimp/2.0/plug-ins/foggify.py", line 20, in <module>
    from gimpfu import *
  File "/opt/csw/lib/gimp/2.0/python/gimpfu.py", line 74, in <module>
    import gimp
ImportError: ld.so.1: python: fatal: relocation error: file /opt/csw/lib/gimp/2. 0/python/gimp.so: symbol PyUnicodeUCS2_SetDefaultEncoding: referenced symbol not found

(gimp:13404): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
  File "/opt/csw/lib/gimp/2.0/plug-ins/colorxhtml.py", line 25, in <module>
    import gimp
ImportError: ld.so.1: python: fatal: relocation error: file /opt/csw/lib/gimp/2. 0/python/gimp.so: symbol PyUnicodeUCS2_SetDefaultEncoding: referenced symbol not found

(gimp:13404): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
^Cgimp: terminated: Interrupt
/opt/csw/lib/gimp/2.0/plug-ins/script-fu terminated: Interrupt
16:26 rayo1:/home/mets1/wcohrs>gimp
Traceback (most recent call last):
  File "/opt/csw/lib/gimp/2.0/plug-ins/py-slice.py", line 31, in <module>
    from gimpfu import *
  File "/opt/csw/lib/gimp/2.0/python/gimpfu.py", line 74, in <module>
    import gimp
ImportError: ld.so.1: python: fatal: relocation error: file /opt/csw/lib/gimp/2.0/python/gimp.so: symbol PyUnicodeUCS2_SetDefaultEncoding: referenced symbol not found

(gimp:13444): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
  File "/opt/csw/lib/gimp/2.0/plug-ins/palette-to-gradient.py", line 17, in <module>
    from gimpfu import *
  File "/opt/csw/lib/gimp/2.0/python/gimpfu.py", line 74, in <module>
    import gimp
ImportError: ld.so.1: python: fatal: relocation error: file /opt/csw/lib/gimp/2.0/python/gimp.so: symbol PyUnicodeUCS2_SetDefaultEncoding: referenced symbol not found

(gimp:13444): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
  File "/opt/csw/lib/gimp/2.0/plug-ins/palette-sort.py", line 17, in <module>
    from gimpfu import *
  File "/opt/csw/lib/gimp/2.0/python/gimpfu.py", line 74, in <module>
    import gimp
ImportError: ld.so.1: python: fatal: relocation error: file /opt/csw/lib/gimp/2.0/python/gimp.so: symbol PyUnicodeUCS2_SetDefaultEncoding: referenced symbol not found

(gimp:13444): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
  File "/opt/csw/lib/gimp/2.0/plug-ins/palette-offset.py", line 17, in <module>
    from gimpfu import *
  File "/opt/csw/lib/gimp/2.0/python/gimpfu.py", line 74, in <module>
    import gimp
ImportError: ld.so.1: python: fatal: relocation error: file /opt/csw/lib/gimp/2.0/python/gimp.so: symbol PyUnicodeUCS2_SetDefaultEncoding: referenced symbol not found

(gimp:13444): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
  File "/opt/csw/lib/gimp/2.0/plug-ins/happy-valley-relief.py", line 20, in <module>
    from gimpfu import *
  File "/opt/csw/lib/gimp/2.0/python/gimpfu.py", line 74, in <module>
    import gimp
ImportError: ld.so.1: python: fatal: relocation error: file /opt/csw/lib/gimp/2.0/python/gimp.so: symbol PyUnicodeUCS2_SetDefaultEncoding: referenced symbol not found

(gimp:13444): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
  File "/opt/csw/lib/gimp/2.0/plug-ins/gimpcons.py", line 20, in <module>
    from gimpfu import *
  File "/opt/csw/lib/gimp/2.0/python/gimpfu.py", line 74, in <module>
    import gimp
ImportError: ld.so.1: python: fatal: relocation error: file /opt/csw/lib/gimp/2.0/python/gimp.so: symbol PyUnicodeUCS2_SetDefaultEncoding: referenced symbol not found

(gimp:13444): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
  File "/opt/csw/lib/gimp/2.0/plug-ins/foggify.py", line 20, in <module>
    from gimpfu import *
  File "/opt/csw/lib/gimp/2.0/python/gimpfu.py", line 74, in <module>
    import gimp
ImportError: ld.so.1: python: fatal: relocation error: file /opt/csw/lib/gimp/2.0/python/gimp.so: symbol PyUnicodeUCS2_SetDefaultEncoding: referenced symbol not found

(gimp:13444): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
  File "/opt/csw/lib/gimp/2.0/plug-ins/colorxhtml.py", line 25, in <module>
    import gimp
ImportError: ld.so.1: python: fatal: relocation error: file /opt/csw/lib/gimp/2.0/python/gimp.so: symbol PyUnicodeUCS2_SetDefaultEncoding: referenced symbol not found

(gimp:13444): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
(0006459)
mwatters   
2009-07-24 21:20   
This BigID and http://www.opencsw.org/bugtrack/view.php?id=2941 [^] [^] are 2 separate issues. BugID 2941 appears to be pygtk related. I am working on a new version of pygtk.

This BugID is a problem with gimp.

when I run nm on gimp.so it returns nothing. furthermore, PyUnicodeUCS* is part of libpython. looking at dump -Lv and ldd on gimp.so it is not linked against libpython.

I will move this bug to gimp.
can you re-open http://www.opencsw.org/bugtrack/view.php?id=2941 [^] and move it to pygtk.