[Orbit-python-list] CosNaming marshalling problem.
Status: Inactive
Brought to you by:
tack
From: Marcelo CB <co...@as...> - 2000-11-23 21:50:33
|
This code refuses to work : ------------------------------------------------ #!/usr/bin/env python import sys, CORBA CORBA.load_idl("CosNaming.idl") orb = CORBA.ORB_init(sys.argv, CORBA.ORB_ID) ior = open("name-server.ior").readline() CosNaming = orb.string_to_object(ior) -------------------------------------------------------- Resulting in : -------------------------------------------------------- Message: CORBA exception raised: IDL:CORBA/MARSHAL:1.0 Traceback (innermost last): File "./ns.py", line 8, in ? CosNaming = orb.string_to_object(ior) CORBA.SystemException: IDL:CORBA/MARSHAL:1.0: IDL:CORBA/MARSHAL:1.0 -------------------------------------------------------- CosNaming.idl came from ORBit 0.53. orbit-name-server is running and an ior-decode in name-server.ior shows me it is what I think it is. I can browse the name-server with ORBit's name-client. I tried orbit-python 0.1.3 and latest CVS checkout, but got the same results. I already have a lot of other stuff running ok with orbit-python. Well, now I'm stuck ... can you help me ? thanks, marcelo. -- Marcelo Corbani de Barros co...@as... Async Open Source Development - Brasil www.async.com.br |