Re: [C++-sig] Indexing suite v2 multiple module problem

2012-07-25 Thread John Reid
On 25/07/12 09:44, Roman Yakovenko wrote: > Do you use dlopen? > > import sys > sys.setdlopenflags(RTLD_NOW | RTLD_GLOBAL) > > In multi-module environment you have to share boost python registry. (Sorry if this is a duplicate post, the last one seemed to disappear) Thanks, your advice fixed it:

Re: [C++-sig] Indexing suite v2 multiple module problem

2012-07-25 Thread Roman Yakovenko
On Wed, Jul 25, 2012 at 11:03 AM, John Reid wrote: > Hi, > > I'm using a version of the indexing suite I believe I copied from > Roman's codebase some time ago. I've recently refactored my project into > multiple modules and now I'm have some runtime errors when iterating > over sequences in pytho

[C++-sig] Indexing suite v2 multiple module problem

2012-07-25 Thread John Reid
Hi, I'm using a version of the indexing suite I believe I copied from Roman's codebase some time ago. I've recently refactored my project into multiple modules and now I'm have some runtime errors when iterating over sequences in python. At runtime I get the cryptic message: RuntimeError: get It