[omniORB] [omniORBpy] omniORB.CORBA.TRANSIENT: CORBA.TRANSIENT(omniORB.TRANSIENT_ConnectFailed, CORBA.COMPLETED_NO)

Duncan Grisby duncan at grisby.org
Wed Nov 19 14:50:55 GMT 2008


On Tuesday 11 November, loretta wrote:

> when I run code similar to that in the tutorial (chapter 2.6.3 "Server code") 
> shown below, I get this error:
> 
> Traceback (most recent call last):
>   File "sensors_server.py", line 38, in <module>
>     root_context = obj._narrow( CosNaming.NamingContext)
>   File "/usr/lib/python2.5/site-packages/omniORB/CORBA.py", line 787, in 
> _narrow
>     return _omnipy.narrow(self, repoId, 1)
> omniORB.CORBA.TRANSIENT: CORBA.TRANSIENT(omniORB.TRANSIENT_ConnectFailed, 
> CORBA.COMPLETED_NO)

That code is trying to access the naming service, but it's not there.
You need to run omniNames.

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --



More information about the omniORB-list mailing list