Traceback (most recent call last): File "/usr/share/redhat-config-services/serviceconf.py", line 26, in ? import gtk File "/usr/lib/python2.2/site-packages/rhpl/__init__.py", line 43, in ? # dummy __init__ so that things work File "/usr/lib/python2.2/ihooks.py", line 397, in import_module q, tail = self.find_head_package(parent, name) File "/usr/lib/python2.2/ihooks.py", line 433, in find_head_package q = self.import_it(head, qname, parent) File "/usr/lib/python2.2/ihooks.py", line 486, in import_it m = self.loader.load_module(fqname, stuff) File "/usr/lib/python2.2/ihooks.py", line 268, in load_module m = self.hooks.load_dynamic(name, filename, file) File "/usr/lib/python2.2/site-packages/gtk-2.0/ltihooks.py", line 51, in load_dynamic return ihooks.Hooks.load_dynamic(self, name, filename, file) File "/usr/lib/python2.2/ihooks.py", line 172, in load_dynamic return imp.load_dynamic(name, filename, file) ImportError: /usr/lib/python2.2/site-packages/gtk-2.0/gtk/_gtk.so: undefined symbol: PyUnicodeUCS2_FromUnicode
I got the above problem after trying to install Pythonol on my (redhat 9) system, and for that I installed (IIRC) pygtk. Probably also some other dependencies. I just don't know anymore, because I did not immediately notice this problem. However after a while I noticed the redhat-config scripts could no longer be launched. Then I found out the problem pasted above was causing that.
After noticing this I have reinstalled every python related package on my system I could find, but this problem won't go away.
`rpm -qf _gtk.so` shows that _gtk.so doesn't belong to any package. Aargh. So this is probably something I installed from a tarball. Yet python/gtk/pygtk is installed by rpm.
I can remove it manually (and _gtk.la), but then the program fails with:
Fatal Python error: could not import pango /usr/share/redhat-config-services/redhat-config-services: line 4: 13918 Aborted /usr/bin/python /usr/share/redhat-config-services/serviceconf.py
It must probably also possible to trace this back, and perhaps manually edit some config
files to fix this, but I am severly lacking python knowledge to do this. Any pointers?
At this moment I am thinking of completely removing the /usr/lib/python2.2/
and reinstall every rpm that has files in that directory. I hope there is an easier way though.
Anyone?
Eric
_________________________________________________________________ MSN Search, for accurate results! http://search.msn.nl
_______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
