[omniORB] python behavior for CORBA.Any() and omniORB.to_any()

Luke Deller ldeller at xplantechnology.com
Wed Sep 27 13:45:05 BST 2006


Hi Thomas.

>From your example:

>>> y = CORBA.Any(CORBA.TC_long, 3)
>>> print y.typecode()
<CORBA.TypeCode 'IDL:omg.org/CORBA/long:1.0'>

The above string is not produced by omniORBpy 2.7.  Perhaps your "CORBA"
module refers to a different CORBA ORB, such as the one used for GNOME?

You could confirm this by trying:
>>> CORBA
>>> CORBA.__file__

There may be an easy workaround, such as using "from omniORB import
CORBA" rather than "import CORBA".

Regards,
Luke.


**********************************************************************************************

Important Note
This email (including any attachments) contains information which is
confidential and may be subject to legal privilege.  If you are not
the intended recipient you must not use, distribute or copy this
email.  If you have received this email in error please notify the
sender immediately and delete this email. Any views expressed in this
email are not necessarily the views of XPlan Technology.

It is the duty of the recipient to virus scan and otherwise test the
information provided before loading onto any computer system.
Xplan Technology does not warrant that the
information is free of a virus or any other defect or error.
**********************************************************************************************




More information about the omniORB-list mailing list