[omniORB] omniORBpy and threads

Duncan Grisby duncan at grisby.org
Fri Jul 25 15:54:02 BST 2003


On Monday 16 July, Bastien SENEQUE wrote:

> I'm developing a tool mixing C++ and Python.
> I'm using omniORB and methods of Python/C API in C++ components.
> I'm also using the ppembed library (provided with the "Programming Python 
> 2nd Edition" book) over the Python/C API.
> I'm using omniORBpy from python.
> Python version is 2.2.2. Linux distrib is Red Hat 9.0. omniORB version is 
> 4.0.1. omniORBpy version is 2.1.
> 
> When I instanciate from C++ a python object which import omniORB, the 
> following error occurs :
> 
> Error: your Python executable was not built with thread support.
>         omniORBpy requires threads. Sorry.

[...]
> But when I'm using threading module in python interpreter, I get no errors.

What happens if you run a simple bit of Python that tries to import
the threading module?

> Could you help me, please ? Might there be a connection between this 
> problem and the new RH9's threads model ?

I very much doubt it's anything to do with the threading model.

Cheers,

Duncan.

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



More information about the omniORB-list mailing list