Bug#489955: ImportError: dynamic module does not define init function (initgtk)
Jason Armstrong
ja at riverdrums.com
Thu Jul 17 16:32:04 UTC 2008
Thanks for the feedback.
Is there a way to know which file python was trying to load that
gave the actual error message?
Also, how can I see my python path?
On my machine, the following gtk.so files are found:
/usr/lib/python-support/python-gtk2/python2.4/gtk-2.0/gtk/_gtk.so
/usr/lib/python-support/python-gtk2/python2.5/gtk-2.0/gtk/gtk.so
/usr/lib/python-support/python-gtk2/python2.5/gtk-2.0/gtk/_gtk.so
/usr/lib/rep/i486-pc-linux-gnu/gui/gtk-2/gtk.so
/var/lib/python-support/python2.4/gtk-2.0/gtk/_gtk.so
/var/lib/python-support/python2.5/gtk-2.0/gtk/gtk.so
/var/lib/python-support/python2.5/gtk-2.0/gtk/_gtk.so
Most of them are symlinks to other files:
/usr/lib/python-support/python-gtk2/python2.4/gtk-2.0/gtk/_gtk.so
=> Real file from python-gtk2
/usr/lib/python-support/python-gtk2/python2.5/gtk-2.0/gtk/gtk.so
=> symlink to
/usr/lib/python-support/python-gtk2/python2.5/gtk-2.0/gtk/_gtk.so
/usr/lib/python-support/python-gtk2/python2.5/gtk-2.0/gtk/_gtk.so
=> Real file from python-gtk2
/usr/lib/rep/i486-pc-linux-gnu/gui/gtk-2/gtk.so
=> Real file from rep-gtk
/var/lib/python-support/python2.4/gtk-2.0/gtk/_gtk.so
=> symlink to
/usr/lib/python-support/python-gtk2/python2.4/gtk-2.0/gtk/_gtk.so
/var/lib/python-support/python2.5/gtk-2.0/gtk/gtk.so
=> symlink to
/usr/lib/python-support/python-gtk2/python2.5/gtk-2.0/gtk/gtk.so
/var/lib/python-support/python2.5/gtk-2.0/gtk/_gtk.so
=> symlink to
/usr/lib/python-support/python-gtk2/python2.5/gtk-2.0/gtk/_gtk.so
I have tried moving the 'real files' temporarily out of the way, but
this didn't help either.
Has the
/usr/lib/python-support/python-gtk2/python2.5/gtk-2.0/gtk/_gtk.so
file maybe been overwritten somehow?
--
Jason Armstrong
More information about the pkg-gnome-maintainers
mailing list