[omniORB] Unable to import omniORB.CORBA in omniORBpy

Duncan Grisby dgrisby@uk.research.att.com
Wed, 16 Aug 2000 13:37:00 +0100


On Wednesday 16 August, Harry Henry Gebel wrote:

> I builh omniORB 3.0 and omniORBpy 1.0 on a Mandrake Linux 7.1 system
> without errors. I then installed it by copying
> lib/i586_linux_2.0_glibc2.1/* to /usr/local/lib (and running ldconfig),
> copying lib/python/* to /usr/lib/python1.5/site-packages, and copying
> lib/i586_linux_2.0_glibc2.1/_omnipymodule.so to
> /usr/lib/python1.5/site-packages/omniORB . When try to import omniORB.CORBA
> I get the following exception:
> 
>   File "/usr/lib/python1.5/site-packages/omniORB/__init__.py", line 280, in ?
>     from _omnipy.omni_func import *
> ImportError: No module named omni_func

_omnipymodule.so should go in /usr/lib/python1.5/site-packages/, not
/usr/lib/python1.5/site-packages/omniORB.

Cheers,

Duncan.

-- 
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --