florian wrote:

hi!

i compiled gnome-python 1.99.15 yesterday and for some reason
i cannot import gnome.ui anymore..

Python 2.2.2 (#1, Jan 18 2003, 10:38:15)
[GCC 3.2.2 20030109 (Debian prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.


import pygtk
pygtk.require("2.0")
import gnome
import gnome.ui


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


when i go to /usr/lib/python2.2/site-packages/gtk-2.0/gnome though the uimodule.so and uimodule.la file is there though.

also configure told me that it will compile gnome-python with gnome.ui
included.

any ideas what could go wrong?


Install the latest version of pyorbit (as opposed to orbit-python), then rerun configure/make/install on gnome-python. Without pyorbit installed, modules that include CORBA types in their APIs don't get built (since they need the corba bindings).

I might change how this works a bit in the next gnome-python release so that configure will fail if it doesn't find pyorbit (but provide a configure option to let it continue if you need to compile without pyorbit for some reason).

James.

--
Email: [EMAIL PROTECTED]
WWW:   http://www.daa.com.au/~james/



_______________________________________________
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