I've cleaned out the site-local folder and did a recompile with --shared.

Now lucene.initVM() + _.isShared() and lucene.initVM().isShared() return True.

The make test still failing on PythonDirectoryTests with Java InvalidArgsError, 
but I'll try our app.

Thank you for your help!

Regards,
Csaba



-----Original Message-----
From: Andi Vajda [mailto:va...@apache.org] 
Sent: Friday, October 10, 2014 12:56 AM
To: pylucene-dev@lucene.apache.org
Subject: RE: build pyLucene 4.10.1-1



That is very suspicious. You're still likely running something older than what 
you built.

>From what I've seen before, you're not building lucene with --shared (not 
>running JCC in shared mode), thus lucene.initVM().isShared() should return 
>False.
Or, if I'm mistaken about this, it should return True, but not error out.

Try this instead:
   $ python
   $ import lucene
   $ lucene.initVM()
   <jcc.JCCEnv object at 0x10dd020f0>
   $ _.isShared()
   True  (for me, may be different for you depending on your use of --shared)

Andi..

Reply via email to