[omniORB] Valuetype factory issue omniiORBpy
Duncan Grisby
duncan at grisby.org
Thu Jul 21 17:58:21 BST 2005
On Thursday 30 June, Jonathan Walsh wrote:
> The code I am writing is in python and calling a function from servant
> object running on a different ORB. I am receiving the exception
> "omniORB.CORBA.MARSHAL: Minor: MARSHAL_NoValueFactory, COMPLETED_YES."
> when I make the call "cookie = bmdevice_obj.subscribe_data_available(
> dacFinal_o )" the function is called on a regular CORBA object, it
> returns a valuetype Component.Cookie and takes a valuetype
> BasicSP.DataAvailableConsumer as a parameter. I have the following
> value factories registered with the orb:
> orb.register_value_factory( CORBA.id( Components.Cookie ),
> Components.Cookie )
> orb.register_value_factory( CORBA.id( BasicSP.DataAvailableConsumer ),
> BMClosedEDImpl.DataAvailableConsumer_i )
>
> I attempted to model my value factory registration from the example
> contained in the distribution, however I am unsure if I need to
> specifically implement a value factory object somewhere. Thank you in
> advance for any help with this issue.
Sorry for the delay in replying to this. Please run your code with
-ORBtraceLevel 40 and post the results.
Cheers,
Duncan.
--
-- Duncan Grisby --
-- duncan at grisby.org --
-- http://www.grisby.org --
More information about the omniORB-list
mailing list