PyGTK problems after Linux update...

B

barcaroller

I use a python-based program called 'meld' which worked fine until my latest
Fedora11/KDE4.3 update; it now gives me the following error:

prompt> meld

/usr/lib/python2.6/site-packages/gtk-2.0/glib/_glib.so: undefined
symbol: PyUnicodeUCS4_DecodeUTF8
Meld requires pygtk 2.8.0 or higher.


If I run another GTK-based utility, I also get errors:

prompt> gedit

** (gedit:28289): WARNING **: Error initializing Python interpreter:
could not import pygtk.



I have installed the latest PyGTK (pygtk-2.14.1), to no avail. Googling
these messages have also produced no major results. When I run
'pygtk-demo', I get the following errors:

prompt> python /usr/lib/pygtk/2.0/pygtk-demo.py

Traceback (most recent call last):
File "/usr/lib/pygtk/2.0/pygtk-demo.py", line 18, in <module>
import gobject
File "/usr/lib/python2.6/site-packages/gtk-2.0/gobject/__init__.py",
line 33, in <module>
from glib import spawn_async, idle_add, timeout_add,
timeout_add_seconds, \
File "/usr/lib/python2.6/site-packages/gtk-2.0/glib/__init__.py", line
30, in <module>
from glib._glib import *
ImportError: /usr/lib/python2.6/site-packages/gtk-2.0/glib/_glib.so:
undefined symbol: PyUnicodeUCS4_DecodeUTF8


Does anyone know what needs to be done to resolve this? Using Python 2.6.2
on Fedora11/KDE4.3 32-bit i386/i586/i686.
 
T

Thomas Guettler

Looks like your pygtk package does not fit to the installed python package.
 
B

barcaroller

Okay, I won't disagree, but how do I fix this?

Never mind. The latest update today included a new pygtk
which seems to have fixed the problem. All is good now.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,531
Members
45,004
Latest member
KetoBoostGummies

Latest Threads

Top