[omniORB] omniORBpy problem

Duncan Grisby duncan at grisby.org
Fri Aug 29 13:45:26 BST 2003


On Tuesday 26 August, Joseph Newman wrote:

> I've just upgraded to python (2.3), omniORB (4.0.2), omniORBpy (2.2) 
> and omniNotify (beta from CVS). I'm having a problem in getting an 
> object reference. I get the following result:
> 
> Traceback (most recent call last):
>    File "./PoseDataReceiver.py", line 120, in ?
>      myOrbConnection.registerService("PoseDataReceiver", 
> myPoseDataReceiver._this())
>    File "/usr/local/lib/python2.3/site-packages/PortableServer.py", line 
> 95, in _this
> 
> omniORB.CORBA.BAD_PARAM: Minor: BAD_PARAM_WrongPythonType, COMPLETED_NO.

What trace do you get with traceLevel 10?

One guess is that your servant class is derived from a class that is
now a new-style class in Python 2.3. omniORBpy requires old style
classes for servants.

Cheers,

Duncan.

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



More information about the omniORB-list mailing list