logo       

PyUnicodeUCS2_ I'm stumped: msg#00156

gnome.gtk+.python

Subject: PyUnicodeUCS2_ I'm stumped

I noticed after an upgrade that my RedHat config utilities would not run.
I've futzed with this quite a bit, and I've narrowed the problem down, but
I'm really unsure as to how to proceed.

Specifically, the problem is this:
[root@hostname /]# python
Python 2.2.3 (#1, Mar 8 2004, 22:56:40)
[GCC 3.2.3 20030502 (Red Hat Linux 3.2.3-20)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gtk
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File
"/usr/src/build/147273-i386/install/usr/lib/python2.2/site-packages/gtk/__init__.py",
line 19, in ?
ImportError: /usr/lib/python2.2/site-packages/gtk/_gtkmodule.so: undefined
symbol: PyUnicodeUCS2_FromUnicode
>>>

[root@hostname /]# uname -a
Linux hostname.domain.com 2.4.21-20.EL #1 Thu Sep 16 14:30:02 EDT 2004
i686 i686 i386 GNU/Linux

[root@hostname /]# cat /etc/redhat-release
CentOS release 3.3 (final)

[root@hostname /]# rpm -qa | grep py
python-optik-1.4.1-2
pyxf86config-0.3.5-1
gnome-python2-1.99.14-5
pygtk2-libglade-1.99.16-8
pygtk2-1.99.16-8
pyorbit-1.99.3-5
gnome-python2-gtkhtml2-1.99.14-5
pyOpenSSL-0.5.1-8
mod_python-3.0.3-5.ent
python-2.2.3-5
gnome-python2-canvas-1.99.14-5
python-devel-2.2.3-5
rpm-python-4.2.3-10.WB1
gnome-python2-bonobo-1.99.14-5
libxml2-python-2.5.10-6

This box has been through a great deal of upgrades over the years. If I
recall correctly, it started life as a RH 7.1 box, then was upgraded to
7.2, 7.3, 8.0 (I don't remember if 9 was ever installed) then Whitebox,
and now CentOS. Not to mention hard disk, motherboard, and video
upgrades, too.

Can anyone help me troubleshoot? I've tried removing and force installing
the correct RPMs. (I can post the script I used, if interested) and I just
can't think of any other way to find the fix.

One other possible hint: If I do a 'locate pygtk2' I see this as a part
of the output:
/usr/share/doc/pygtk2-1.99.16/ChangeLog
AND I see
/usr/share/doc/pygtk2-1.99.12/ChangeLog

So it looks like I may have some leftovers of 1.99.12 - could that be
related?

Thanks in advance for the help.

Regards,
Tom


_______________________________________________
pygtk mailing list pygtk@xxxxxxxxxx
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise