Discussion:
[VOTE] Release PyLucene 6.2.0 (rc2)
Andi Vajda
2016-09-09 10:06:39 UTC
Permalink
After an almost two year hiatus, a new PyLucene version is ready for
release. The PyLucene 6.2.0 (rc2) release tracking the recent release of
Apache Lucene 6.2.0 is ready.

A release candidate is available from:
https://dist.apache.org/repos/dist/dev/lucene/pylucene/6.2.0-rc2/

PyLucene 6.2.0 is built with JCC 2.22 included in these release artifacts.

Please vote to release these artifacts as PyLucene 6.2.0.
Anyone interested in this release can and should vote !

Thanks !

Andi..

ps: the KEYS file for PyLucene release signing is at:
https://dist.apache.org/repos/dist/release/lucene/pylucene/KEYS
https://dist.apache.org/repos/dist/dev/lucene/pylucene/KEYS

pps: here is my +1
Marc Jeurissen
2016-09-09 11:13:39 UTC
Permalink
+1
Post by Andi Vajda
After an almost two year hiatus, a new PyLucene version is ready for
release. The PyLucene 6.2.0 (rc2) release tracking the recent release
of Apache Lucene 6.2.0 is ready.
https://dist.apache.org/repos/dist/dev/lucene/pylucene/6.2.0-rc2/
PyLucene 6.2.0 is built with JCC 2.22 included in these release artifacts.
Please vote to release these artifacts as PyLucene 6.2.0.
Anyone interested in this release can and should vote !
Thanks !
Andi..
https://dist.apache.org/repos/dist/release/lucene/pylucene/KEYS
https://dist.apache.org/repos/dist/dev/lucene/pylucene/KEYS
pps: here is my +1
--
Signature Marc Jeurissen | UAntwerpen
Met vriendelijke groeten,

Marc Jeurissen

<http://anet.be>
Bibliotheek UAntwerpen
Stadscampus - S.A.085
Prinsstraat 9 - 2000 Antwerpen
***@uantwerpen.be <mailto:***@uantwerpen.be>
T +32 3 265 49 71
<http://anet.be>
Jeff Breidenbach
2016-09-09 18:48:44 UTC
Permalink
+1
Michael McCandless
2016-09-12 00:41:04 UTC
Permalink
+1 to release!

I installed on Ubuntu 16.04, Python 2.7, Java 1.8.0_101 and ran my
usual test, indexing first 100K Wikipedia English documents and
running a couple searches.

Thanks Andi.

Mike McCandless

http://blog.mikemccandless.com
Post by Andi Vajda
After an almost two year hiatus, a new PyLucene version is ready for
release. The PyLucene 6.2.0 (rc2) release tracking the recent release of
Apache Lucene 6.2.0 is ready.
https://dist.apache.org/repos/dist/dev/lucene/pylucene/6.2.0-rc2/
PyLucene 6.2.0 is built with JCC 2.22 included in these release artifacts.
Please vote to release these artifacts as PyLucene 6.2.0.
Anyone interested in this release can and should vote !
Thanks !
Andi..
https://dist.apache.org/repos/dist/release/lucene/pylucene/KEYS
https://dist.apache.org/repos/dist/dev/lucene/pylucene/KEYS
pps: here is my +1
Jan Høydahl
2016-09-12 07:54:37 UTC
Permalink
I’m trying to test on my mac.

Successfully built and installed JCC.
BUILD SUCCESSFUL
Total time: 1 second
ICU not installed
/usr/local/Cellar/python/2.7.12/bin/python -m jcc.__main__ --shared --arch x86_64 --jar lucene-java-6.2.0/lucene/build/core/lucene-core-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/analysis/common/lucene-analyzers-common-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/memory/lucene-memory-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/highlighter/lucene-highlighter-6.2.0.jar --jar build/jar/extensions.jar --jar lucene-java-6.2.0/lucene/build/queries/lucene-queries-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/queryparser/lucene-queryparser-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/sandbox/lucene-sandbox-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/analysis/stempel/lucene-analyzers-stempel-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/grouping/lucene-grouping-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/join/lucene-join-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/facet/lucene-facet-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/suggest/lucene-suggest-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/expressions/lucene-expressions-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/analysis/kuromoji/lucene-analyzers-kuromoji-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/misc/lucene-misc-6.2.0.jar --use_full_names --include lucene-java-6.2.0/lucene/expressions/lib/antlr4-runtime-4.5.1-1.jar --include lucene-java-6.2.0/lucene/expressions/lib/asm-5.1.jar --include lucene-java-6.2.0/lucene/expressions/lib/asm-commons-5.1.jar --package java.lang java.lang.System java.lang.Runtime --package java.util java.util.Arrays java.util.Collections java.util.HashMap java.util.HashSet java.util.TreeSet java.lang.IllegalStateException java.lang.IndexOutOfBoundsException java.util.NoSuchElementException java.text.SimpleDateFormat java.text.DecimalFormat java.text.Collator --package java.util.concurrent java.util.concurrent.Executors --package java.util.regex --package java.io java.io.StringReader --package java.nio.file java.nio.file.Path java.nio.file.Files java.nio.file.Paths --exclude org.apache.lucene.sandbox.queries.regex.JakartaRegexpCapabilities --exclude org.apache.regexp.RegexpTunnel --exclude org.apache.lucene.store.WindowsDirectory --exclude org.apache.lucene.store.NativePosixUtil --python lucene --mapping org.apache.lucene.document.Document 'get:(Ljava/lang/String;)Ljava/lang/String;' --mapping java.util.Properties 'getProperty:(Ljava/lang/String;)Ljava/lang/String;' --sequence java.util.AbstractList 'size:()I' 'get:(I)Ljava/lang/Object;' org.apache.lucene.index.IndexWriter:getReader --version 6.2.0 --module python/collections.py --module python/ICUNormalizer2Filter.py --module python/ICUFoldingFilter.py --module python/ICUTransformFilter.py --files 8 --build
Referenced from: /usr/local/lib/python2.7/site-packages/JCC-2.22-py2.7-macosx-10.12-x86_64.egg/jcc/_jcc.so
Reason: image not found
make: *** [compile] Error 1
I’m running macOS Sierra 10.12, Java 1.8.0_102 ant 1.9.7, XCode 8-beta and python 2.7.12.

Before upgrading to macOS Sierra GM, I got another error, saying Java was not installed and requesting install of Apple’s Java6.

--
Jan HÞydahl, search solution architect
Cominvent AS - www.cominvent.com
After an almost two year hiatus, a new PyLucene version is ready for release. The PyLucene 6.2.0 (rc2) release tracking the recent release of Apache Lucene 6.2.0 is ready.
https://dist.apache.org/repos/dist/dev/lucene/pylucene/6.2.0-rc2/
PyLucene 6.2.0 is built with JCC 2.22 included in these release artifacts.
Please vote to release these artifacts as PyLucene 6.2.0.
Anyone interested in this release can and should vote !
Thanks !
Andi..
https://dist.apache.org/repos/dist/release/lucene/pylucene/KEYS
https://dist.apache.org/repos/dist/dev/lucene/pylucene/KEYS
pps: here is my +1
Andi Vajda
2016-09-12 10:04:36 UTC
Permalink
I’m trying to test on my mac.
Successfully built and installed JCC.
BUILD SUCCESSFUL
Total time: 1 second
ICU not installed
/usr/local/Cellar/python/2.7.12/bin/python -m jcc.__main__ --shared --arch x86_64 --jar lucene-java-6.2.0/lucene/build/core/lucene-core-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/analysis/common/lucene-analyzers-common-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/memory/lucene-memory-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/highlighter/lucene-highlighter-6.2.0.jar --jar build/jar/extensions.jar --jar lucene-java-6.2.0/lucene/build/queries/lucene-queries-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/queryparser/lucene-queryparser-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/sandbox/lucene-sandbox-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/analysis/stempel/lucene-analyzers-stempel-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/grouping/lucene-grouping-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/join/lucene-join-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/facet/lucene-facet-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/suggest/lucene-suggest-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/expressions/lucene-expressions-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/analysis/kuromoji/lucene-analyzers-kuromoji-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/misc/lucene-misc-6.2.0.jar --use_full_names --include lucene-java-6.2.0/lucene/expressions/lib/antlr4-runtime-4.5.1-1.jar --include lucene-java-6.2.0/lucene/expressions/lib/asm-5.1.jar --include lucene-java-6.2.0/lucene/expressions/lib/asm-commons-5.1.jar --package java.lang java.lang.System java.lang.Runtime --package java.util java.util.Arrays java.util.Collections java.util.HashMap java.util.HashSet java.util.TreeSet java.lang.IllegalStateException java.lang.IndexOutOfBoundsException java.util.NoSuchElementException java.text.SimpleDateFormat java.text.DecimalFormat java.text.Collator --package java.util.concurrent java.util.concurrent.Executors --package java.util.regex --package java.io java.io.StringReader --package java.nio.file java.nio.file.Path java.nio.file.Files java.nio.file.Paths --exclude org.apache.lucene.sandbox.queries.regex.JakartaRegexpCapabilities --exclude org.apache.regexp.RegexpTunnel --exclude org.apache.lucene.store.WindowsDirectory --exclude org.apache.lucene.store.NativePosixUtil --python lucene --mapping org.apache.lucene.document.Document 'get:(Ljava/lang/String;)Ljava/lang/String;' --mapping java.util.Properties 'getProperty:(Ljava/lang/String;)Ljava/lang/String;' --sequence java.util.AbstractList 'size:()I' 'get:(I)Ljava/lang/Object;' org.apache.lucene.index.IndexWriter:getReader --version 6.2.0 --module python/collections.py --module python/ICUNormalizer2Filter.py --module python/ICUFoldingFilter.py --module python/ICUTransformFilter.py --files 8 --build
Referenced from: /usr/local/lib/python2.7/site-packages/JCC-2.22-py2.7-macosx-10.12-x86_64.egg/jcc/_jcc.so
It looks like JCC can't find java (failing to find libjava.dylib). Which java did you install ?
When building JCC, the java version (library or franework) is reported. What did it say ?
You also need to make sure JCC is built in shared mode and use a moderm setuptools (version >= 8).

pip install --upgrade setuptools

Andi..
Reason: image not found
make: *** [compile] Error 1
I’m running macOS Sierra 10.12, Java 1.8.0_102 ant 1.9.7, XCode 8-beta and python 2.7.12.
Before upgrading to macOS Sierra GM, I got another error, saying Java was not installed and requesting install of Apple’s Java6.
--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com
After an almost two year hiatus, a new PyLucene version is ready for release. The PyLucene 6.2.0 (rc2) release tracking the recent release of Apache Lucene 6.2.0 is ready.
https://dist.apache.org/repos/dist/dev/lucene/pylucene/6.2.0-rc2/
PyLucene 6.2.0 is built with JCC 2.22 included in these release artifacts.
Please vote to release these artifacts as PyLucene 6.2.0.
Anyone interested in this release can and should vote !
Thanks !
Andi..
https://dist.apache.org/repos/dist/release/lucene/pylucene/KEYS
https://dist.apache.org/repos/dist/dev/lucene/pylucene/KEYS
pps: here is my +1
Jan Høydahl
2016-09-12 11:25:50 UTC
Permalink
Post by Andi Vajda
It looks like JCC can't find java (failing to find libjava.dylib). Which java did you install ?
Java 1.8.0_102
Post by Andi Vajda
When building JCC, the java version (library or franework) is reported. What did it say ?
found JAVAHOME = /Library/Java/JavaVirtualMachines/jdk1.8.0_102.jdk/Contents/Home
Post by Andi Vajda
You also need to make sure JCC is built in shared mode and use a moderm setuptools (version >= 8).
pip install --upgrade setuptools

Successfully uninstalled setuptools-23.1.0
Successfully installed setuptools-27.1.2

Tried again with updated setuptools, same result.
/usr/local/opt/python/bin/python2.7: dlopen(/usr/local/lib/python2.7/site-packages/JCC-2.22-py2.7-macosx-10.12-x86_64.egg/jcc/_jcc.so, 2): Library not loaded: @rpath/libjava.dylib

Makefile settings:
PREFIX_PYTHON=/usr/local/Cellar/python/2.7.12
ANT=ant
PYTHON=$(PREFIX_PYTHON)/bin/python
JCC=$(PYTHON) -m jcc.__main__ --shared --arch x86_64
NUM_FILES=8

GNU Make 3.81

--
Jan HÞydahl, search solution architect
Cominvent AS - www.cominvent.com
Post by Andi Vajda
Post by Jan Høydahl
I’m trying to test on my mac.
Successfully built and installed JCC.
BUILD SUCCESSFUL
Total time: 1 second
ICU not installed
/usr/local/Cellar/python/2.7.12/bin/python -m jcc.__main__ --shared --arch x86_64 --jar lucene-java-6.2.0/lucene/build/core/lucene-core-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/analysis/common/lucene-analyzers-common-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/memory/lucene-memory-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/highlighter/lucene-highlighter-6.2.0.jar --jar build/jar/extensions.jar --jar lucene-java-6.2.0/lucene/build/queries/lucene-queries-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/queryparser/lucene-queryparser-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/sandbox/lucene-sandbox-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/analysis/stempel/lucene-analyzers-stempel-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/grouping/lucene-grouping-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/join/lucene-join-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/facet/lucene-facet-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/suggest/lucene-suggest-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/expressions/lucene-expressions-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/analysis/kuromoji/lucene-analyzers-kuromoji-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/misc/lucene-misc-6.2.0.jar --use_full_names --include lucene-java-6.2.0/lucene/expressions/lib/antlr4-runtime-4.5.1-1.jar --include lucene-java-6.2.0/lucene/expressions/lib/asm-5.1.jar --include lucene-java-6.2.0/lucene/expressions/lib/asm-commons-5.1.jar --package java.lang java.lang.System java.lang.Runtime --package java.util java.util.Arrays java.util.Collections java.util.HashMap java.util.HashSet java.util.TreeSet java.lang.IllegalStateException java.lang.IndexOutOfBoundsException java.util.NoSuchElementException java.text.SimpleDateFormat java.text.DecimalFormat java.text.Collator --package java.util.concurrent java.util.concurrent.Executors --package java.util.regex --package java.io java.io.StringReader --package java.nio.file java.nio.file.Path java.nio.file.Files java.nio.file.Paths --exclude org.apache.lucene.sandbox.queries.regex.JakartaRegexpCapabilities --exclude org.apache.regexp.RegexpTunnel --exclude org.apache.lucene.store.WindowsDirectory --exclude org.apache.lucene.store.NativePosixUtil --python lucene --mapping org.apache.lucene.document.Document 'get:(Ljava/lang/String;)Ljava/lang/String;' --mapping java.util.Properties 'getProperty:(Ljava/lang/String;)Ljava/lang/String;' --sequence java.util.AbstractList 'size:()I' 'get:(I)Ljava/lang/Object;' org.apache.lucene.index.IndexWriter:getReader --version 6.2.0 --module python/collections.py --module python/ICUNormalizer2Filter.py --module python/ICUFoldingFilter.py --module python/ICUTransformFilter.py --files 8 --build
Referenced from: /usr/local/lib/python2.7/site-packages/JCC-2.22-py2.7-macosx-10.12-x86_64.egg/jcc/_jcc.so
It looks like JCC can't find java (failing to find libjava.dylib). Which java did you install ?
When building JCC, the java version (library or franework) is reported. What did it say ?
You also need to make sure JCC is built in shared mode and use a moderm setuptools (version >= 8).
pip install --upgrade setuptools
Andi..
Post by Jan Høydahl
Reason: image not found
make: *** [compile] Error 1
I’m running macOS Sierra 10.12, Java 1.8.0_102 ant 1.9.7, XCode 8-beta and python 2.7.12.
Before upgrading to macOS Sierra GM, I got another error, saying Java was not installed and requesting install of Apple’s Java6.
--
Jan HÞydahl, search solution architect
Cominvent AS - www.cominvent.com
After an almost two year hiatus, a new PyLucene version is ready for release. The PyLucene 6.2.0 (rc2) release tracking the recent release of Apache Lucene 6.2.0 is ready.
https://dist.apache.org/repos/dist/dev/lucene/pylucene/6.2.0-rc2/
PyLucene 6.2.0 is built with JCC 2.22 included in these release artifacts.
Please vote to release these artifacts as PyLucene 6.2.0.
Anyone interested in this release can and should vote !
Thanks !
Andi..
https://dist.apache.org/repos/dist/release/lucene/pylucene/KEYS
https://dist.apache.org/repos/dist/dev/lucene/pylucene/KEYS
pps: here is my +1
Andi Vajda
2016-09-12 12:26:55 UTC
Permalink
Post by Jan Høydahl
Post by Andi Vajda
It looks like JCC can't find java (failing to find libjava.dylib). Which java did you install ?
Java 1.8.0_102
Post by Andi Vajda
When building JCC, the java version (library or franework) is reported. What did it say ?
found JAVAHOME = /Library/Java/JavaVirtualMachines/jdk1.8.0_102.jdk/Contents/Home
Well, I haven't tried this combination of OS and Java before. You need to find where libjava.dylib actually is and see that the settngs in JCC's setup.py file are correct and correspond to the path and name of that library.

Is this a java you installed or did it come with that macOS beta ?

Andi..
Post by Jan Høydahl
Post by Andi Vajda
You also need to make sure JCC is built in shared mode and use a moderm setuptools (version >= 8).
pip install --upgrade setuptools
Successfully uninstalled setuptools-23.1.0
Successfully installed setuptools-27.1.2
Tried again with updated setuptools, same result.
PREFIX_PYTHON=/usr/local/Cellar/python/2.7.12
ANT=ant
PYTHON=$(PREFIX_PYTHON)/bin/python
JCC=$(PYTHON) -m jcc.__main__ --shared --arch x86_64
NUM_FILES=8
GNU Make 3.81
--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com
Post by Andi Vajda
I’m trying to test on my mac.
Successfully built and installed JCC.
BUILD SUCCESSFUL
Total time: 1 second
ICU not installed
/usr/local/Cellar/python/2.7.12/bin/python -m jcc.__main__ --shared --arch x86_64 --jar lucene-java-6.2.0/lucene/build/core/lucene-core-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/analysis/common/lucene-analyzers-common-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/memory/lucene-memory-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/highlighter/lucene-highlighter-6.2.0.jar --jar build/jar/extensions.jar --jar lucene-java-6.2.0/lucene/build/queries/lucene-queries-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/queryparser/lucene-queryparser-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/sandbox/lucene-sandbox-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/analysis/stempel/lucene-analyzers-stempel-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/grouping/lucene-grouping-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/join/lucene-join-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/facet/lucene-facet-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/suggest/lucene-suggest-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/expressions/lucene-expressions-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/analysis/kuromoji/lucene-analyzers-kuromoji-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/misc/lucene-misc-6.2.0.jar --use_full_names --include lucene-java-6.2.0/lucene/expressions/lib/antlr4-runtime-4.5.1-1.jar --include lucene-java-6.2.0/lucene/expressions/lib/asm-5.1.jar --include lucene-java-6.2.0/lucene/expressions/lib/asm-commons-5.1.jar --package java.lang java.lang.System java.lang.Runtime --package java.util java.util.Arrays java.util.Collections java.util.HashMap java.util.HashSet java.util.TreeSet java.lang.IllegalStateException java.lang.IndexOutOfBoundsException java.util.NoSuchElementException java.text.SimpleDateFormat java.text.DecimalFormat java.text.Collator --package java.util.concurrent java.util.concurrent.Executors --package java.util.regex --package java.io java.io.StringReader --package java.nio.file java.nio.file.Path java.nio.file.Files java.nio.file.Paths --exclude org.apache.lucene.sandbox.queries.regex.JakartaRegexpCapabilities --exclude org.apache.regexp.RegexpTunnel --exclude org.apache.lucene.store.WindowsDirectory --exclude org.apache.lucene.store.NativePosixUtil --python lucene --mapping org.apache.lucene.document.Document 'get:(Ljava/lang/String;)Ljava/lang/String;' --mapping java.util.Properties 'getProperty:(Ljava/lang/String;)Ljava/lang/String;' --sequence java.util.AbstractList 'size:()I' 'get:(I)Ljava/lang/Object;' org.apache.lucene.index.IndexWriter:getReader --version 6.2.0 --module python/collections.py --module python/ICUNormalizer2Filter.py --module python/ICUFoldingFilter.py --module python/ICUTransformFilter.py --files 8 --build
Referenced from: /usr/local/lib/python2.7/site-packages/JCC-2.22-py2.7-macosx-10.12-x86_64.egg/jcc/_jcc.so
It looks like JCC can't find java (failing to find libjava.dylib). Which java did you install ?
When building JCC, the java version (library or franework) is reported. What did it say ?
You also need to make sure JCC is built in shared mode and use a moderm setuptools (version >= 8).
pip install --upgrade setuptools
Andi..
Reason: image not found
make: *** [compile] Error 1
I’m running macOS Sierra 10.12, Java 1.8.0_102 ant 1.9.7, XCode 8-beta and python 2.7.12.
Before upgrading to macOS Sierra GM, I got another error, saying Java was not installed and requesting install of Apple’s Java6.
--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com
After an almost two year hiatus, a new PyLucene version is ready for release. The PyLucene 6.2.0 (rc2) release tracking the recent release of Apache Lucene 6.2.0 is ready.
https://dist.apache.org/repos/dist/dev/lucene/pylucene/6.2.0-rc2/
PyLucene 6.2.0 is built with JCC 2.22 included in these release artifacts.
Please vote to release these artifacts as PyLucene 6.2.0.
Anyone interested in this release can and should vote !
Thanks !
Andi..
https://dist.apache.org/repos/dist/release/lucene/pylucene/KEYS
https://dist.apache.org/repos/dist/dev/lucene/pylucene/KEYS
pps: here is my +1
Jan Høydahl
2016-09-12 12:56:51 UTC
Permalink
I downloaded and installed JDK from Oracle. And point to it with JAVA_HOME

Looks to me that in setup.py, LFLAGS get populated with correct -rpath to the lib folder including libjava.dylib but I’m not that into make, so I’m afraid I’m stuck and cannot vote on the release yet...

--
Jan HÞydahl, search solution architect
Cominvent AS - www.cominvent.com
Post by Andi Vajda
Post by Jan Høydahl
Post by Andi Vajda
It looks like JCC can't find java (failing to find libjava.dylib). Which java did you install ?
Java 1.8.0_102
Post by Andi Vajda
When building JCC, the java version (library or franework) is reported. What did it say ?
found JAVAHOME = /Library/Java/JavaVirtualMachines/jdk1.8.0_102.jdk/Contents/Home
Well, I haven't tried this combination of OS and Java before. You need to find where libjava.dylib actually is and see that the settngs in JCC's setup.py file are correct and correspond to the path and name of that library.
Is this a java you installed or did it come with that macOS beta ?
Andi..
Post by Jan Høydahl
Post by Andi Vajda
You also need to make sure JCC is built in shared mode and use a moderm setuptools (version >= 8).
pip install --upgrade setuptools
Successfully uninstalled setuptools-23.1.0
Successfully installed setuptools-27.1.2
Tried again with updated setuptools, same result.
PREFIX_PYTHON=/usr/local/Cellar/python/2.7.12
ANT=ant
PYTHON=$(PREFIX_PYTHON)/bin/python
JCC=$(PYTHON) -m jcc.__main__ --shared --arch x86_64
NUM_FILES=8
GNU Make 3.81
--
Jan HÞydahl, search solution architect
Cominvent AS - www.cominvent.com
Post by Andi Vajda
Post by Jan Høydahl
I’m trying to test on my mac.
Successfully built and installed JCC.
BUILD SUCCESSFUL
Total time: 1 second
ICU not installed
/usr/local/Cellar/python/2.7.12/bin/python -m jcc.__main__ --shared --arch x86_64 --jar lucene-java-6.2.0/lucene/build/core/lucene-core-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/analysis/common/lucene-analyzers-common-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/memory/lucene-memory-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/highlighter/lucene-highlighter-6.2.0.jar --jar build/jar/extensions.jar --jar lucene-java-6.2.0/lucene/build/queries/lucene-queries-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/queryparser/lucene-queryparser-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/sandbox/lucene-sandbox-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/analysis/stempel/lucene-analyzers-stempel-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/grouping/lucene-grouping-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/join/lucene-join-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/facet/lucene-facet-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/suggest/lucene-suggest-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/expressions/lucene-expressions-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/analysis/kuromoji/lucene-analyzers-kuromoji-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/misc/lucene-misc-6.2.0.jar --use_full_names --include lucene-java-6.2.0/lucene/expressions/lib/antlr4-runtime-4.5.1-1.jar --include lucene-java-6.2.0/lucene/expressions/lib/asm-5.1.jar --include lucene-java-6.2.0/lucene/expressions/lib/asm-commons-5.1.jar --package java.lang java.lang.System java.lang.Runtime --package java.util java.util.Arrays java.util.Collections java.util.HashMap java.util.HashSet java.util.TreeSet java.lang.IllegalStateException java.lang.IndexOutOfBoundsException java.util.NoSuchElementException java.text.SimpleDateFormat java.text.DecimalFormat java.text.Collator --package java.util.concurrent java.util.concurrent.Executors --package java.util.regex --package java.io java.io.StringReader --package java.nio.file java.nio.file.Path java.nio.file.Files java.nio.file.Paths --exclude org.apache.lucene.sandbox.queries.regex.JakartaRegexpCapabilities --exclude org.apache.regexp.RegexpTunnel --exclude org.apache.lucene.store.WindowsDirectory --exclude org.apache.lucene.store.NativePosixUtil --python lucene --mapping org.apache.lucene.document.Document 'get:(Ljava/lang/String;)Ljava/lang/String;' --mapping java.util.Properties 'getProperty:(Ljava/lang/String;)Ljava/lang/String;' --sequence java.util.AbstractList 'size:()I' 'get:(I)Ljava/lang/Object;' org.apache.lucene.index.IndexWriter:getReader --version 6.2.0 --module python/collections.py --module python/ICUNormalizer2Filter.py --module python/ICUFoldingFilter.py --module python/ICUTransformFilter.py --files 8 --build
Referenced from: /usr/local/lib/python2.7/site-packages/JCC-2.22-py2.7-macosx-10.12-x86_64.egg/jcc/_jcc.so
It looks like JCC can't find java (failing to find libjava.dylib). Which java did you install ?
When building JCC, the java version (library or franework) is reported. What did it say ?
You also need to make sure JCC is built in shared mode and use a moderm setuptools (version >= 8).
pip install --upgrade setuptools
Andi..
Post by Jan Høydahl
Reason: image not found
make: *** [compile] Error 1
I’m running macOS Sierra 10.12, Java 1.8.0_102 ant 1.9.7, XCode 8-beta and python 2.7.12.
Before upgrading to macOS Sierra GM, I got another error, saying Java was not installed and requesting install of Apple’s Java6.
--
Jan HÞydahl, search solution architect
Cominvent AS - www.cominvent.com
After an almost two year hiatus, a new PyLucene version is ready for release. The PyLucene 6.2.0 (rc2) release tracking the recent release of Apache Lucene 6.2.0 is ready.
https://dist.apache.org/repos/dist/dev/lucene/pylucene/6.2.0-rc2/
PyLucene 6.2.0 is built with JCC 2.22 included in these release artifacts.
Please vote to release these artifacts as PyLucene 6.2.0.
Anyone interested in this release can and should vote !
Thanks !
Andi..
https://dist.apache.org/repos/dist/release/lucene/pylucene/KEYS
https://dist.apache.org/repos/dist/dev/lucene/pylucene/KEYS
pps: here is my +1
Andi Vajda
2016-09-12 13:12:28 UTC
Permalink
Post by Jan Høydahl
I downloaded and installed JDK from Oracle. And point to it with JAVA_HOME
Not at my computer right now so can't be too specific but setting JAVA_HOME is not good enough. You need to run some script from Oracle to make this java version the default for your OS.
A quick search found this for java 7: http://docs.oracle.com/javase/7/docs/webnotes/install/mac/mac-jdk.html
I remember doing something similar for java 8.

Andi..
Post by Jan Høydahl
Looks to me that in setup.py, LFLAGS get populated with correct -rpath to the lib folder including libjava.dylib but I’m not that into make, so I’m afraid I’m stuck and cannot vote on the release yet...
--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com
Post by Andi Vajda
Post by Jan Høydahl
Post by Andi Vajda
It looks like JCC can't find java (failing to find libjava.dylib). Which java did you install ?
Java 1.8.0_102
Post by Andi Vajda
When building JCC, the java version (library or franework) is reported. What did it say ?
found JAVAHOME = /Library/Java/JavaVirtualMachines/jdk1.8.0_102.jdk/Contents/Home
Well, I haven't tried this combination of OS and Java before. You need to find where libjava.dylib actually is and see that the settngs in JCC's setup.py file are correct and correspond to the path and name of that library.
Is this a java you installed or did it come with that macOS beta ?
Andi..
Post by Jan Høydahl
Post by Andi Vajda
You also need to make sure JCC is built in shared mode and use a moderm setuptools (version >= 8).
pip install --upgrade setuptools
Successfully uninstalled setuptools-23.1.0
Successfully installed setuptools-27.1.2
Tried again with updated setuptools, same result.
PREFIX_PYTHON=/usr/local/Cellar/python/2.7.12
ANT=ant
PYTHON=$(PREFIX_PYTHON)/bin/python
JCC=$(PYTHON) -m jcc.__main__ --shared --arch x86_64
NUM_FILES=8
GNU Make 3.81
--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com
Post by Andi Vajda
I’m trying to test on my mac.
Successfully built and installed JCC.
BUILD SUCCESSFUL
Total time: 1 second
ICU not installed
/usr/local/Cellar/python/2.7.12/bin/python -m jcc.__main__ --shared --arch x86_64 --jar lucene-java-6.2.0/lucene/build/core/lucene-core-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/analysis/common/lucene-analyzers-common-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/memory/lucene-memory-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/highlighter/lucene-highlighter-6.2.0.jar --jar build/jar/extensions.jar --jar lucene-java-6.2.0/lucene/build/queries/lucene-queries-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/queryparser/lucene-queryparser-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/sandbox/lucene-sandbox-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/analysis/stempel/lucene-analyzers-stempel-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/grouping/lucene-grouping-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/join/lucene-join-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/facet/lucene-facet-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/suggest/lucene-suggest-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/expressions/lucene-expressions-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/analysis/kuromoji/lucene-analyzers-kuromoji-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/misc/lucene-misc-6.2.0.jar --use_full_names --include lucene-java-6.2.0/lucene/expressions/lib/antlr4-runtime-4.5.1-1.jar --include lucene-java-6.2.0/lucene/expressions/lib/asm-5.1.jar --include lucene-java-6.2.0/lucene/expressions/lib/asm-commons-5.1.jar --package java.lang java.lang.System java.lang.Runtime --package java.util java.util.Arrays java.util.Collections java.util.HashMap java.util.HashSet java.util.TreeSet java.lang.IllegalStateException java.lang.IndexOutOfBoundsException java.util.NoSuchElementException java.text.SimpleDateFormat java.text.DecimalFormat java.text.Collator --package java.util.concurrent java.util.concurrent.Executors --package java.util.regex --package java.io java.io.StringReader --package java.nio.file java.nio.file.Path java.nio.file.Files java.nio.file.Paths --exclude org.apache.lucene.sandbox.queries.regex.JakartaRegexpCapabilities --exclude org.apache.regexp.RegexpTunnel --exclude org.apache.lucene.store.WindowsDirectory --exclude org.apache.lucene.store.NativePosixUtil --python lucene --mapping org.apache.lucene.document.Document 'get:(Ljava/lang/String;)Ljava/lang/String;' --mapping java.util.Properties 'getProperty:(Ljava/lang/String;)Ljava/lang/String;' --sequence java.util.AbstractList 'size:()I' 'get:(I)Ljava/lang/Object;' org.apache.lucene.index.IndexWriter:getReader --version 6.2.0 --module python/collections.py --module python/ICUNormalizer2Filter.py --module python/ICUFoldingFilter.py --module python/ICUTransformFilter.py --files 8 --build
Referenced from: /usr/local/lib/python2.7/site-packages/JCC-2.22-py2.7-macosx-10.12-x86_64.egg/jcc/_jcc.so
It looks like JCC can't find java (failing to find libjava.dylib). Which java did you install ?
When building JCC, the java version (library or franework) is reported. What did it say ?
You also need to make sure JCC is built in shared mode and use a moderm setuptools (version >= 8).
pip install --upgrade setuptools
Andi..
Reason: image not found
make: *** [compile] Error 1
I’m running macOS Sierra 10.12, Java 1.8.0_102 ant 1.9.7, XCode 8-beta and python 2.7.12.
Before upgrading to macOS Sierra GM, I got another error, saying Java was not installed and requesting install of Apple’s Java6.
--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com
After an almost two year hiatus, a new PyLucene version is ready for release. The PyLucene 6.2.0 (rc2) release tracking the recent release of Apache Lucene 6.2.0 is ready.
https://dist.apache.org/repos/dist/dev/lucene/pylucene/6.2.0-rc2/
PyLucene 6.2.0 is built with JCC 2.22 included in these release artifacts.
Please vote to release these artifacts as PyLucene 6.2.0.
Anyone interested in this release can and should vote !
Thanks !
Andi..
https://dist.apache.org/repos/dist/release/lucene/pylucene/KEYS
https://dist.apache.org/repos/dist/dev/lucene/pylucene/KEYS
pps: here is my +1
Andi Vajda
2016-09-12 10:06:32 UTC
Permalink
I’m trying to test on my mac.
Successfully built and installed JCC.
BUILD SUCCESSFUL
Total time: 1 second
ICU not installed
/usr/local/Cellar/python/2.7.12/bin/python -m jcc.__main__ --shared --arch x86_64 --jar lucene-java-6.2.0/lucene/build/core/lucene-core-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/analysis/common/lucene-analyzers-common-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/memory/lucene-memory-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/highlighter/lucene-highlighter-6.2.0.jar --jar build/jar/extensions.jar --jar lucene-java-6.2.0/lucene/build/queries/lucene-queries-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/queryparser/lucene-queryparser-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/sandbox/lucene-sandbox-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/analysis/stempel/lucene-analyzers-stempel-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/grouping/lucene-grouping-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/join/lucene-join-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/facet/lucene-facet-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/suggest/lucene-suggest-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/expressions/lucene-expressions-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/analysis/kuromoji/lucene-analyzers-kuromoji-6.2.0.jar --jar lucene-java-6.2.0/lucene/build/misc/lucene-misc-6.2.0.jar --use_full_names --include lucene-java-6.2.0/lucene/expressions/lib/antlr4-runtime-4.5.1-1.jar --include lucene-java-6.2.0/lucene/expressions/lib/asm-5.1.jar --include lucene-java-6.2.0/lucene/expressions/lib/asm-commons-5.1.jar --package java.lang java.lang.System java.lang.Runtime --package java.util java.util.Arrays java.util.Collections java.util.HashMap java.util.HashSet java.util.TreeSet java.lang.IllegalStateException java.lang.IndexOutOfBoundsException java.util.NoSuchElementException java.text.SimpleDateFormat java.text.DecimalFormat java.text.Collator --package java.util.concurrent java.util.concurrent.Executors --package java.util.regex --package java.io java.io.StringReader --package java.nio.file java.nio.file.Path java.nio.file.Files java.nio.file.Paths --exclude org.apache.lucene.sandbox.queries.regex.JakartaRegexpCapabilities --exclude org.apache.regexp.RegexpTunnel --exclude org.apache.lucene.store.WindowsDirectory --exclude org.apache.lucene.store.NativePosixUtil --python lucene --mapping org.apache.lucene.document.Document 'get:(Ljava/lang/String;)Ljava/lang/String;' --mapping java.util.Properties 'getProperty:(Ljava/lang/String;)Ljava/lang/String;' --sequence java.util.AbstractList 'size:()I' 'get:(I)Ljava/lang/Object;' org.apache.lucene.index.IndexWriter:getReader --version 6.2.0 --module python/collections.py --module python/ICUNormalizer2Filter.py --module python/ICUFoldingFilter.py --module python/ICUTransformFilter.py --files 8 --build
Referenced from: /usr/local/lib/python2.7/site-packages/JCC-2.22-py2.7-macosx-10.12-x86_64.egg/jcc/_jcc.so
Reason: image not found
make: *** [compile] Error 1
I’m running macOS Sierra 10.12, Java 1.8.0_102 ant 1.9.7, XCode 8-beta and python 2.7.12.
Before upgrading to macOS Sierra GM, I got another error, saying Java was not installed and requesting install of Apple’s Java6.
For Lucene you must be running at least java 7, right ? I did all my testing with java 8.

Andi..
--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com
After an almost two year hiatus, a new PyLucene version is ready for release. The PyLucene 6.2.0 (rc2) release tracking the recent release of Apache Lucene 6.2.0 is ready.
https://dist.apache.org/repos/dist/dev/lucene/pylucene/6.2.0-rc2/
PyLucene 6.2.0 is built with JCC 2.22 included in these release artifacts.
Please vote to release these artifacts as PyLucene 6.2.0.
Anyone interested in this release can and should vote !
Thanks !
Andi..
https://dist.apache.org/repos/dist/release/lucene/pylucene/KEYS
https://dist.apache.org/repos/dist/dev/lucene/pylucene/KEYS
pps: here is my +1
Andi Vajda
2016-09-18 07:01:40 UTC
Permalink
+1
Thank Tommaso, this vote has now passed !

Andi..
Tommaso
Post by Andi Vajda
After an almost two year hiatus, a new PyLucene version is ready for
release. The PyLucene 6.2.0 (rc2) release tracking the recent release of
Apache Lucene 6.2.0 is ready.
https://dist.apache.org/repos/dist/dev/lucene/pylucene/6.2.0-rc2/
PyLucene 6.2.0 is built with JCC 2.22 included in these release artifacts.
Please vote to release these artifacts as PyLucene 6.2.0.
Anyone interested in this release can and should vote !
Thanks !
Andi..
https://dist.apache.org/repos/dist/release/lucene/pylucene/KEYS
https://dist.apache.org/repos/dist/dev/lucene/pylucene/KEYS
pps: here is my +1
Loading...