Mantis - py_gtk
Viewing Issue Advanced Details
3832 other major always 2009-08-07 17:23 2012-03-16 08:31
choman  
cgrzemba  
normal  
closed  
fixed  
none    
none  
0003832: PyGTK is unable to import gtk
On both sparc and i386 packages, after installing pygtk "correctly". The following error is produced:
     ImportError: ld.so.1: python: fatal: relocation error:
     file /opt/csw/lib/python/site-packages/gtk-2.0/gtk/_gtk.so:
     symbol PyUnicodeUCS2_DecodeUTF8: referenced symbol not found

see below.

Also being filed under a separate bug, pygtk requires pygobjct. which also has a bug
Python 2.6.2 (r262:71600, May 27 2009, 13:06:14) [C] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygtk
>>> import gtk
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/csw/lib/python/site-packages/gtk-2.0/gtk/__init__.py", line 48, in <module>
    from gtk import _gtk
ImportError: ld.so.1: python: fatal: relocation error: file /opt/csw/lib/python/site-packages/gtk-2.0/gtk/_gtk.so: symbol PyUnicodeUCS2_DecodeUTF8: referenced symbol not found
Issue History
2009-08-07 17:23 choman New Issue
2012-03-16 08:29 cgrzemba Status new => assigned
2012-03-16 08:29 cgrzemba Assigned To => cgrzemba
2012-03-16 08:31 cgrzemba Note Added: 0009741
2012-03-16 08:31 cgrzemba Status assigned => closed
2012-03-16 08:31 cgrzemba Resolution open => fixed

Notes
(0009741)
cgrzemba   
2012-03-16 08:31   
not reproducible/seen in
py_gtk CSWpy-gtk 2.17.0,REV=2012.03.15