> On Oct 10, 2014, at 09:46, Márk Csaba <mar...@gwyll.eu> wrote:
> 
> Oracle JDK 7.
> 
> $ java -version
> java version "1.7.0_67"
> Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
> Java HotSpot(TM) Server VM (build 24.65-b04, mixed mode)

What happens when you run a test file manually ?
  $ python test/test_..,,py

Andi..

> 
> Csaba
> 
> -----Original Message-----
> From: Andi Vajda [mailto:va...@apache.org] 
> Sent: Friday, October 10, 2014 6:30 PM
> To: pylucene-dev@lucene.apache.org
> Subject: Re: build pyLucene 4.10.1-1
> 
> 
>> On Oct 10, 2014, at 03:14, Márk Csaba <mar...@gwyll.eu> wrote:
>> 
>> I've cleaned out the site-local folder and did a recompile with --shared.
> 
> Either way, it should work, with or without --shared. What version of Java 
> are you using and which distribution ? OpenJDK, Oracle, other ?
> 
> Andi..
> 
>> 
>> 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