[omniORB] typecode problem with omniORBpy

Lars Immisch lars@ibp.de
Fri, 6 Apr 2001 12:33:49 +0200


--NeXT-Mail-1858876197-12
Content-Type: text/enriched; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Dear all,


I have a problem with omniORBpy1.3 (latest version from cvs on
omnipy1_develop) and a particular typecode.


When I send the typecode, I get a CORBA.BAD_TYPECODE exception. A similar,
but even more complex  typecode works with omniORB. In fact, I started out
with identical structs and stripped the example down until it was minimal.


This time, the problem appears with the typecode of a struct containing an
enum and a recursive type. The typecodes of the recursive type and the
enum itself are fine.


I have attached a small example that reproduces the problem. It comes with
a makefile. The makefile assumes that omniidl is in your path and that
OMNI_ROOT is set.


server and client use the INS.


BTW, omniORBpy is _really_ nice. It's a great tool for prototyping and
testing of CORBA applications. I am glad I started using it.

<nofill>
Thanks,

Lars

</nofill>
--NeXT-Mail-1858876197-12
Content-Type: application/zip; name=typecodebug.tar.gz; x-unix-mode=0664
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=typecodebug.tar.gz

H4sICEKWzToAA3R5cGVjb2RlYnVnLnRhcgDtWv9v27YS76/WX8HndFhcOLKdpMngrMHydTDa2kHs
bSjeHgxaph0tsuhRlFOj2P/+Pkfqmx077R7W9m3QIYgl8Xh3vDvenXjyAl+E2p0vn30+aLaazaPD
w2dNwPHRS/PbSu4B+63j5rPm8f7RwUHz+PAI163WUfPgGWt+RpkyiCPNFWPPAq6ip/HE0wh/T9j5
VyOOVGPkhw0RLth8qe9k6Dj+bC6VZtEycpwd1rF3+k6wi97t+RmbyXEcCGei5IzJWejjIUumGIS1
SZGORxGbSGVJyKjLZ344ZTwcs6v3fDYPREIySjlnSHV2dTG4NgRDX/s88CNhyICPI9WIvbIsXfwb
+kDZhdAuV9NFvTDQuawRid5Icz9knCkxEUqEHkhJQ01JqVloxfJkqMV77cjRbyyFVwy8XCUiGSyE
4QNRhhmZaLcKcUVfqIXviWrNIXoXlg7NHf3mDkOulHzYzVbm2p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