[omniORB] omniORBpy omniNotify push_structured_event problem

Duncan Grisby duncan at grisby.org
Thu May 22 17:41:58 BST 2003


On Wednesday 21 May, Joseph Newman wrote:

> 	tc = CORBA.TypeCode(CORBA.id(self.m_poseData))
> 	remainder_of_body = CORBA.Any(tc, self.m_poseData)
> 	self.m_sevnt = StructuredEvent (
>                  self.header, self.filterable_data, remainder_of_body)
> 	self.m_notifyConsumer.push_structured_event(self.m_sevnt)
> 
> But I get a BAD_PARAM: Minor: BAD_PARAM_WrongPythonType, COMPLETED_NO. 
> error.

Most likely, the data you are sending does not conform to the
TypeCode. Run with -ORBtraceLevel 10, then look at the line of C++
code the BAD_PARAM was thrown from. That will tell you what type it
was looking for when it got upset.

Cheers,

Duncan.

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



More information about the omniORB-list mailing list