[omniORB] python extension classes

enrico.sirola@riskmap.it enrico.sirola@riskmap.it
Thu Feb 13 13:44:02 2003


Hello,
I just tried to implement a servant while inheriting from a python
extension class (generated via swig) as follows:

class A:
   # is the omniorb skeleton class
class B:
   # is the python wrapper of a c++ class (generated via SWIG)
class C(A, B):
   # is the true servant implementation

i can instance C ( e.g. c=C() ), but activating an object like this
fails as follows:

File "/usr/local/lib/python2.2/site-packages/PortableServer.py", line 248, in activate_object
    sys.modules["PortableServer"] = omniORB.PortableServer
omniORB.CORBA.BAD_PARAM: Minor: BAD_PARAM_WrongPythonType, COMPLETED_NO.

did any1 succeed in this kind of multiple inheriting from a Skeleton
class and a SWIG-wrapped c++ class? Is there any workaround?
Thanks in advance for your help,
enrico

-- 
Enrico Sirola <enrico.sirola@riskmap.it>
gpg public key available from www.keyserver.net, Key ID 0x377FE07F
Key fingerprint = B446 7332 ED55 BC68 5FE8  DE0F 98DF EC86 377F E07F