[omniORB] omniorb_py and trading service

Duncan Grisby duncan at grisby.org
Thu Jun 26 13:11:18 BST 2003


On Thursday 26 June, Bernd Winterstein wrote:

> I have a problem accessing the TradingService from python. Maybe anyone 
> has a good idea.

[...]
> lookup.query("ExampleService", "TRUE", "", policies, desiredProps, 1, 
> offers, iterator, appliedPolicies )
[...]
> TypeError: Operation requires 6 arguments; 9 given

You're calling query() with the wrong number of arguments, just like
it says. IDL out arguments are represented as extra returns values in
a tuple, not as parameters.

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --



More information about the omniORB-list mailing list