[omniORB] omniORBpy, corbaloc, and object id/keys

Duncan Grisby dgrisby@uk.research.att.com
Fri, 16 Feb 2001 11:15:42 +0000


On Thursday 15 February, "Cary O'Brien" wrote:

[...]
> The client can use
> 
>    corbaloc::localhost:5566/MyNameDB
> 
> But, when the server does this...
> 
>   # Print out the IOR
>   print orb.object_to_string(eo)
> 
> Out comes 
> 
>   IOR:01000000010000000000000000000000

That is a nil object reference. I just tried your example, and it
prints out the correct IOR. Are you sure that eo has not become None
at some point, perhaps due to a failed _narrow()?  What do you get if
you print eo just before calling object_to_string()?

Cheers,

Duncan.

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