[omniORB] BAD_PARAM_WrongPythonType

Compan compan at ipanematech.com
Wed Sep 28 10:10:38 BST 2005


Hi,

My python client gets this exception when invoking a request.

IDL:

    struct Flow
    {
      string source;
    };

    interface CollectorConsumer
    {
      oneway void on_test (in Flow f);
    };

python code:
    flow = new.instance (Flow)
    flow.source = 'ipe'
    consumer.on_test (flow)

Using -ORBtraceLevel 10, the output is:
  omniORB: throw BAD_PARAM from pyMarshal.cc:263
(NO,BAD_PARAM_WrongPythonType)
The exception is thrown by the validateTypeULong() function.

I have no idea of how to solve this so any help would be appreciated.
I'm using python 2.4.1 and omniORB 4.0.6 (with omniORBpy 2.6)

Thanks,
  Arnaud.




More information about the omniORB-list mailing list