One of my boxes is misbehaving, and I don't know how to track down why.

I'm using Gentoo, and I've got all the packages upgraded to the current
releases (python 2.2.3, pygtk 1.99.16 , gnome-python 1.99.16,
libgnomecanvas 2.2.1). I have this same setup on another machine. One of
my machines works perfectly well. The other one is having serious
problems with gnome.ui and gnome.canvas.

The only difference between the two is the broken machine has been
upgraded numerous times (software version upgrades, that is), and the
working machine was installed with the latest Gentoo, Gnome, etc.

When I tried to (in immediate mode) "import gnome.canvas", I was
getting:

Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: No module named canvas

I've installed gnome-python and libgnomecanvas, and there is indeed a
file called canvasmodule.so in the gnome folder. I couldn't understand
why it couldn't be found, and the error message isn't very helpful.

After fooling around with the installation some, I seem to have broken
it further. Now when I try to import gnome.ui or gnome.canvas, I simply
get:

>>> import gnome.ui
Fatal Python error: could not import _gtk
Aborted

And it quits back to the prompt. I've tried to re emerge python, pygtk,
gnome-python and libgnomecanvas to no avail.

I don't even know how to track down what's going wrong. I remember
reading that _gtk is an older module. Is that true? If so, why is it
being accessed? Can I turn that off somehow?

Thanks in advance,
  Colin
-- 
Colin Fox <[EMAIL PROTECTED]>
CF Consulting Inc.

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to