Discussion:
[omniORB] 'MARSHAL_InvalidIOR' Error
Willis Vandevanter
2013-09-18 14:09:58 UTC
Permalink
Hi!

I am running into an issue when attempting to parse a stringified IOR. I
have successfully used this IOR with JacORB and it parses correctly here
http://www2.parc.com/istl/projects/ILU/parseIOR/. However, when attempting
to parse the IOR with OmniORBpy I get the error:
Traceback (most recent call last):
File "parse.py", line 17, in <module>
obj = orb.string_to_object(ior)
File "/usr/local/lib/python2.7/
dist-packages/omniORB/CORBA.py", line 564, in string_to_object
return _omnipy.orb_func.string_to_object(self, ior)
MARSHAL: CORBA.MARSHAL(omniORB.MARSHAL_InvalidIOR, CORBA.COMPLETED_NO)
<<

The example IOR is:
IOR:010000003500000049444c3a4d79494f5254657374696e67506c6174666f726d2f434f524241466163746f72792f507269766174654d696e3a322e31000000000100000000000000460000000101010106000000424f34575600f60410000000000000006fd92d52f03106000000000001000000010000001400000001583301010001000000000000010100000000000200

I used the same client code for parsing stringified IORs that is in the
User Guide.

Thanks!
-Will
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20130918/3c3aa519/attachment.html>
Duncan Grisby
2013-09-18 14:35:54 UTC
Permalink
Post by Willis Vandevanter
I am running into an issue when attempting to parse a stringified
IOR. I have successfully used this IOR with JacORB and it parses
correctly here http://www2.parc.com/istl/projects/ILU/parseIOR/.
However, when attempting to parse the IOR with OmniORBpy I get the
It is indeed invalid, although only slightly. It claims the IIOP profile
is longer than the amount of data that is present in it. If you run set
the strictIIOP configuration parameter to 0, omniORB logs an error and
lets you use it:

$ ORBstrictIIOP=0 catior
IOR:010000003500000049444c3a4d79494f5254657374696e67506c6174666f726d2f434f524241466163746f72792f507269766174654d696e3a322e31000000000100000000000000460000000101010106000000424f34575600f60410000000000000006fd92d52f03106000000000001000000010000001400000001583301010001000000000000010100000000000200
Type ID: "IDL:MyIORTestingPlatform/CORBAFactory/PrivateMin:2.1"
Profiles:
omniORB: (0) 2013-09-18 15:33:55.177787: Warning: IIOP Profile has
garbage at end. Ignoring.
1. IIOP 1.1 BO4WV 1270 "\x00\x00\x00\x00o\xd9-R\xf01\x06\x00\x00\x00\x00
\x00"
TAG_CODE_SETS char native code set: ISO-8859-1
char conversion code sets:
wchar native code set: UCS-2-level-1
wchar conversion code sets:

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