[omniORB] omniORBpy : problem with sequence of double and sequenc of struct

Claudio Scafuri claudio.scafuri@elettra.trieste.it
Wed, 17 Oct 2001 21:33:36 +0200


I am trying to port a C++ CORBA client to python. omniORBpy seems to
have
some problems with a method returning a sequence of doubles. The
sequence returned
has the correct lenght but it seems to be off by one. The first element
is garbage,
and the last element contains what should be at position n-1.

There are also problems with another method returning a sequence of
structs. A field
of the struct, a double, always contains garbage. The other fileds of
the struct
are correct.

Notice that these problem do not exists for the client using omniORB 
C++.

Environment: linux RH 6.2, omniORB 3.0.4, omniORBPy 1.4, python 2.1


Thank you