Discussion:
[VOTE] Release PyLucene 6.4.1 (rc1)
Andi Vajda
2017-02-06 21:38:47 UTC
Permalink
The PyLucene 6.4.1 (rc1) release tracking today's release of
Apache Lucene 6.4.1 is ready.

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

PyLucene 6.4.1 is built with JCC 2.23 included in these release artifacts.

Please vote to release these artifacts as PyLucene 6.4.1.
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
Jeff Breidenbach
2017-02-07 00:21:09 UTC
Permalink
+1
Post by Andi Vajda
The PyLucene 6.4.1 (rc1) release tracking today's release of
Apache Lucene 6.4.1 is ready.
https://dist.apache.org/repos/dist/dev/lucene/pylucene/6.4.1-rc1/
PyLucene 6.4.1 is built with JCC 2.23 included in these release artifacts.
Please vote to release these artifacts as PyLucene 6.4.1.
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
Marc Jeurissen
2017-02-07 08:07:30 UTC
Permalink
+1
Post by Andi Vajda
The PyLucene 6.4.1 (rc1) release tracking today's release of
Apache Lucene 6.4.1 is ready.
https://dist.apache.org/repos/dist/dev/lucene/pylucene/6.4.1-rc1/
PyLucene 6.4.1 is built with JCC 2.23 included in these release artifacts.
Please vote to release these artifacts as PyLucene 6.4.1.
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 – Ve35.303
Venusstraat 35 – 2000 Antwerpen
***@uantwerpen.be <mailto:***@uantwerpen.be>
T +32 3 265 49 71
<http://anet.be>
Andi Vajda
2017-02-11 22:23:21 UTC
Permalink
Ping ?
Two more PMC votes are needed before this release can happen.
Thanks !

Andi..
Post by Andi Vajda
The PyLucene 6.4.1 (rc1) release tracking today's release of
Apache Lucene 6.4.1 is ready.
https://dist.apache.org/repos/dist/dev/lucene/pylucene/6.4.1-rc1/
PyLucene 6.4.1 is built with JCC 2.23 included in these release artifacts.
Please vote to release these artifacts as PyLucene 6.4.1.
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
Michael McCandless
2017-02-12 10:25:32 UTC
Permalink
Sorry, I will have a look!

Mike McCandless

http://blog.mikemccandless.com
Post by Andi Vajda
Ping ?
Two more PMC votes are needed before this release can happen.
Thanks !
Andi..
Post by Andi Vajda
The PyLucene 6.4.1 (rc1) release tracking today's release of
Apache Lucene 6.4.1 is ready.
https://dist.apache.org/repos/dist/dev/lucene/pylucene/6.4.1-rc1/
PyLucene 6.4.1 is built with JCC 2.23 included in these release artifacts.
Please vote to release these artifacts as PyLucene 6.4.1.
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
Michael McCandless
2017-02-12 10:38:16 UTC
Permalink
+1 to release.

I ran my usual smoke test: indexing first 100K docs from English
Wikipedia export, optimizing, running a couple searches, on Ubuntu
16.04, Java 1.8.0_101, Python 2.7.12.

Mike McCandless

http://blog.mikemccandless.com


On Sun, Feb 12, 2017 at 5:25 AM, Michael McCandless
Post by Michael McCandless
Sorry, I will have a look!
Mike McCandless
http://blog.mikemccandless.com
Post by Andi Vajda
Ping ?
Two more PMC votes are needed before this release can happen.
Thanks !
Andi..
Post by Andi Vajda
The PyLucene 6.4.1 (rc1) release tracking today's release of
Apache Lucene 6.4.1 is ready.
https://dist.apache.org/repos/dist/dev/lucene/pylucene/6.4.1-rc1/
PyLucene 6.4.1 is built with JCC 2.23 included in these release artifacts.
Please vote to release these artifacts as PyLucene 6.4.1.
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
2017-02-12 18:42:53 UTC
Permalink
Post by Michael McCandless
+1 to release.
I ran my usual smoke test: indexing first 100K docs from English
Wikipedia export, optimizing, running a couple searches, on Ubuntu
16.04, Java 1.8.0_101, Python 2.7.12.
Thank you, Mike !

Andi..
Post by Michael McCandless
Mike McCandless
http://blog.mikemccandless.com
On Sun, Feb 12, 2017 at 5:25 AM, Michael McCandless
Post by Michael McCandless
Sorry, I will have a look!
Mike McCandless
http://blog.mikemccandless.com
Post by Andi Vajda
Ping ?
Two more PMC votes are needed before this release can happen.
Thanks !
Andi..
Post by Andi Vajda
The PyLucene 6.4.1 (rc1) release tracking today's release of
Apache Lucene 6.4.1 is ready.
https://dist.apache.org/repos/dist/dev/lucene/pylucene/6.4.1-rc1/
PyLucene 6.4.1 is built with JCC 2.23 included in these release artifacts.
Please vote to release these artifacts as PyLucene 6.4.1.
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
2017-02-12 23:47:17 UTC
Permalink
Tried to build on my Mac again, same problem as last time when running
?make?, the command 'python -m jcc.__main__ --shared --arch ?.? requests
No Java runtime present, requesting install.
When building JCC (before building PyLucene), you need to ensure that the
proper version of Java is found. The setup.py program tries to figure it out
for you and tells what it's about to build with on stdout.

Then you need to install JCC.

Then, when building PyLucene, you need to make sure that the same python
install you used to build JCC is also going to be used by the PyLucene
Makefile, since that's where the current JCC you just built got installed.
You need edit that Makefile and uncomment/edit one of the configuration
examples to match your setup.

I'm sure it also helps if at the command line, you see something like this
$ java -version
Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)

If not, fix this before trying anything else.

Andi..
--
Jan HÞydahl, search solution architect
Cominvent AS - www.cominvent.com
Ping ?
Two more PMC votes are needed before this release can happen.
Thanks !
Andi..
Post by Andi Vajda
The PyLucene 6.4.1 (rc1) release tracking today's release of
Apache Lucene 6.4.1 is ready.
https://dist.apache.org/repos/dist/dev/lucene/pylucene/6.4.1-rc1/
PyLucene 6.4.1 is built with JCC 2.23 included in these release artifacts.
Please vote to release these artifacts as PyLucene 6.4.1.
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
2017-02-13 11:12:57 UTC
Permalink
Here is a GIST with complete install log and Makefile. I did not modify setup.py, it looked good to go

https://gist.github.com/janhoy/c996529dc492ec3ad9cb3b81e80719f2#file-pylucene-install-log-txt <https://gist.github.com/janhoy/c996529dc492ec3ad9cb3b81e80719f2#file-pylucene-install-log-txt>

In Makefile I customized only these vars
PREFIX_PYTHON=/usr/local/Cellar/python/2.7.13/
ANT=/usr/local/Cellar/ant/1.10.0/bin/ant
PYTHON=$(PREFIX_PYTHON)/bin/python
JCC=$(PYTHON) -m jcc
NUM_FILES=8
JCC finds Java Home, and python version is 2.7.13
My version of ‘make’ is macOS default gmake 3.81

I also tried with (g)make 4.2.1 but same problem.

--
Jan HÞydahl, search solution architect
Cominvent AS - www.cominvent.com
No Java runtime present, requesting install.
When building JCC (before building PyLucene), you need to ensure that the proper version of Java is found. The setup.py program tries to figure it out for you and tells what it's about to build with on stdout.
Then you need to install JCC.
Then, when building PyLucene, you need to make sure that the same python install you used to build JCC is also going to be used by the PyLucene Makefile, since that's where the current JCC you just built got installed.
You need edit that Makefile and uncomment/edit one of the configuration
examples to match your setup.
I'm sure it also helps if at the command line, you see something like this
$ java -version
Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)
If not, fix this before trying anything else.
Andi..
--
Jan HÞydahl, search solution architect
Cominvent AS - www.cominvent.com
Ping ?
Two more PMC votes are needed before this release can happen.
Thanks !
Andi..
Post by Andi Vajda
The PyLucene 6.4.1 (rc1) release tracking today's release of
Apache Lucene 6.4.1 is ready.
https://dist.apache.org/repos/dist/dev/lucene/pylucene/6.4.1-rc1/
PyLucene 6.4.1 is built with JCC 2.23 included in these release artifacts.
Please vote to release these artifacts as PyLucene 6.4.1.
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
2017-02-13 12:14:22 UTC
Permalink
Hi,

I found the reason, it is a Java bug which is fixed in Java9: https://bugs.openjdk.java.net/browse/JDK-7131356 <https://bugs.openjdk.java.net/browse/JDK-7131356>

The workaround was to install Apple’s Java6, then make and make install succeeds.

I then tested python IndexFiles.py <folder> and python SearchFiles.py and it all works :-)

+1 to release

PS: The page http://lucene.apache.org/pylucene/install.html <http://lucene.apache.org/pylucene/install.html> is outdated wrt Mac, versions etc and should probably mention the Java6 bug as well

--
Jan HÞydahl, search solution architect
Cominvent AS - www.cominvent.com
Post by Jan Høydahl
Here is a GIST with complete install log and Makefile. I did not modify setup.py, it looked good to go
https://gist.github.com/janhoy/c996529dc492ec3ad9cb3b81e80719f2#file-pylucene-install-log-txt <https://gist.github.com/janhoy/c996529dc492ec3ad9cb3b81e80719f2#file-pylucene-install-log-txt>
In Makefile I customized only these vars
PREFIX_PYTHON=/usr/local/Cellar/python/2.7.13/
ANT=/usr/local/Cellar/ant/1.10.0/bin/ant
PYTHON=$(PREFIX_PYTHON)/bin/python
JCC=$(PYTHON) -m jcc
NUM_FILES=8
JCC finds Java Home, and python version is 2.7.13
My version of ‘make’ is macOS default gmake 3.81
I also tried with (g)make 4.2.1 but same problem.
--
Jan HÞydahl, search solution architect
Cominvent AS - www.cominvent.com <http://www.cominvent.com/>
No Java runtime present, requesting install.
When building JCC (before building PyLucene), you need to ensure that the proper version of Java is found. The setup.py program tries to figure it out for you and tells what it's about to build with on stdout.
Then you need to install JCC.
Then, when building PyLucene, you need to make sure that the same python install you used to build JCC is also going to be used by the PyLucene Makefile, since that's where the current JCC you just built got installed.
You need edit that Makefile and uncomment/edit one of the configuration
examples to match your setup.
I'm sure it also helps if at the command line, you see something like this
$ java -version
Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)
If not, fix this before trying anything else.
Andi..
--
Jan HÞydahl, search solution architect
Cominvent AS - www.cominvent.com <http://www.cominvent.com/>
Ping ?
Two more PMC votes are needed before this release can happen.
Thanks !
Andi..
Post by Andi Vajda
The PyLucene 6.4.1 (rc1) release tracking today's release of
Apache Lucene 6.4.1 is ready.
https://dist.apache.org/repos/dist/dev/lucene/pylucene/6.4.1-rc1/ <https://dist.apache.org/repos/dist/dev/lucene/pylucene/6.4.1-rc1/>
PyLucene 6.4.1 is built with JCC 2.23 included in these release artifacts.
Please vote to release these artifacts as PyLucene 6.4.1.
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
2017-02-13 13:06:30 UTC
Permalink
I did some website fixes wrt versions and Mac OS X -> macOS renaming.

--
Jan HÞydahl, search solution architect
Cominvent AS - www.cominvent.com
Post by Jan Høydahl
Hi,
I found the reason, it is a Java bug which is fixed in Java9: https://bugs.openjdk.java.net/browse/JDK-7131356 <https://bugs.openjdk.java.net/browse/JDK-7131356>
The workaround was to install Apple’s Java6, then make and make install succeeds.
I then tested python IndexFiles.py <folder> and python SearchFiles.py and it all works :-)
+1 to release
PS: The page http://lucene.apache.org/pylucene/install.html <http://lucene.apache.org/pylucene/install.html> is outdated wrt Mac, versions etc and should probably mention the Java6 bug as well
--
Jan HÞydahl, search solution architect
Cominvent AS - www.cominvent.com <http://www.cominvent.com/>
Post by Jan Høydahl
Here is a GIST with complete install log and Makefile. I did not modify setup.py, it looked good to go
https://gist.github.com/janhoy/c996529dc492ec3ad9cb3b81e80719f2#file-pylucene-install-log-txt <https://gist.github.com/janhoy/c996529dc492ec3ad9cb3b81e80719f2#file-pylucene-install-log-txt>
In Makefile I customized only these vars
PREFIX_PYTHON=/usr/local/Cellar/python/2.7.13/
ANT=/usr/local/Cellar/ant/1.10.0/bin/ant
PYTHON=$(PREFIX_PYTHON)/bin/python
JCC=$(PYTHON) -m jcc
NUM_FILES=8
JCC finds Java Home, and python version is 2.7.13
My version of ‘make’ is macOS default gmake 3.81
I also tried with (g)make 4.2.1 but same problem.
--
Jan HÞydahl, search solution architect
Cominvent AS - www.cominvent.com <http://www.cominvent.com/>
No Java runtime present, requesting install.
When building JCC (before building PyLucene), you need to ensure that the proper version of Java is found. The setup.py program tries to figure it out for you and tells what it's about to build with on stdout.
Then you need to install JCC.
Then, when building PyLucene, you need to make sure that the same python install you used to build JCC is also going to be used by the PyLucene Makefile, since that's where the current JCC you just built got installed.
You need edit that Makefile and uncomment/edit one of the configuration
examples to match your setup.
I'm sure it also helps if at the command line, you see something like this
$ java -version
Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)
If not, fix this before trying anything else.
Andi..
--
Jan HÞydahl, search solution architect
Cominvent AS - www.cominvent.com <http://www.cominvent.com/>
Ping ?
Two more PMC votes are needed before this release can happen.
Thanks !
Andi..
Post by Andi Vajda
The PyLucene 6.4.1 (rc1) release tracking today's release of
Apache Lucene 6.4.1 is ready.
https://dist.apache.org/repos/dist/dev/lucene/pylucene/6.4.1-rc1/ <https://dist.apache.org/repos/dist/dev/lucene/pylucene/6.4.1-rc1/>
PyLucene 6.4.1 is built with JCC 2.23 included in these release artifacts.
Please vote to release these artifacts as PyLucene 6.4.1.
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/release/lucene/pylucene/KEYS>
https://dist.apache.org/repos/dist/dev/lucene/pylucene/KEYS
pps: here is my +1
Andi Vajda
2017-02-13 21:49:47 UTC
Permalink
Post by Jan Høydahl
I did some website fixes wrt versions and Mac OS X -> macOS renaming.
LGTM !

Andi..
Post by Jan Høydahl
--
Jan HÞydahl, search solution architect
Cominvent AS - www.cominvent.com
Post by Jan Høydahl
Hi,
I found the reason, it is a Java bug which is fixed in Java9: https://bugs.openjdk.java.net/browse/JDK-7131356 <https://bugs.openjdk.java.net/browse/JDK-7131356>
The workaround was to install Apple?s Java6, then make and make install succeeds.
I then tested python IndexFiles.py <folder> and python SearchFiles.py and it all works :-)
+1 to release
PS: The page http://lucene.apache.org/pylucene/install.html <http://lucene.apache.org/pylucene/install.html> is outdated wrt Mac, versions etc and should probably mention the Java6 bug as well
--
Jan HÞydahl, search solution architect
Cominvent AS - www.cominvent.com <http://www.cominvent.com/>
Post by Jan Høydahl
Here is a GIST with complete install log and Makefile. I did not modify setup.py, it looked good to go
https://gist.github.com/janhoy/c996529dc492ec3ad9cb3b81e80719f2#file-pylucene-install-log-txt <https://gist.github.com/janhoy/c996529dc492ec3ad9cb3b81e80719f2#file-pylucene-install-log-txt>
In Makefile I customized only these vars
PREFIX_PYTHON=/usr/local/Cellar/python/2.7.13/
ANT=/usr/local/Cellar/ant/1.10.0/bin/ant
PYTHON=$(PREFIX_PYTHON)/bin/python
JCC=$(PYTHON) -m jcc
NUM_FILES=8
JCC finds Java Home, and python version is 2.7.13
My version of ?make? is macOS default gmake 3.81
I also tried with (g)make 4.2.1 but same problem.
--
Jan HÞydahl, search solution architect
Cominvent AS - www.cominvent.com <http://www.cominvent.com/>
No Java runtime present, requesting install.
When building JCC (before building PyLucene), you need to ensure that the proper version of Java is found. The setup.py program tries to figure it out for you and tells what it's about to build with on stdout.
Then you need to install JCC.
Then, when building PyLucene, you need to make sure that the same python install you used to build JCC is also going to be used by the PyLucene Makefile, since that's where the current JCC you just built got installed.
You need edit that Makefile and uncomment/edit one of the configuration
examples to match your setup.
I'm sure it also helps if at the command line, you see something like this
$ java -version
Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)
If not, fix this before trying anything else.
Andi..
--
Jan HÞydahl, search solution architect
Cominvent AS - www.cominvent.com <http://www.cominvent.com/>
Ping ?
Two more PMC votes are needed before this release can happen.
Thanks !
Andi..
Post by Andi Vajda
The PyLucene 6.4.1 (rc1) release tracking today's release of
Apache Lucene 6.4.1 is ready.
https://dist.apache.org/repos/dist/dev/lucene/pylucene/6.4.1-rc1/ <https://dist.apache.org/repos/dist/dev/lucene/pylucene/6.4.1-rc1/>
PyLucene 6.4.1 is built with JCC 2.23 included in these release artifacts.
Please vote to release these artifacts as PyLucene 6.4.1.
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/release/lucene/pylucene/KEYS>
https://dist.apache.org/repos/dist/dev/lucene/pylucene/KEYS
pps: here is my +1
Andi Vajda
2017-02-13 21:48:22 UTC
Permalink
Post by Jan Høydahl
Hi,
https://bugs.openjdk.java.net/browse/JDK-7131356
<https://bugs.openjdk.java.net/browse/JDK-7131356>
The workaround was to install Apple?s Java6, then make and make install
succeeds.
I then tested python IndexFiles.py <folder> and python SearchFiles.py and it all works :-)
Wow. Thank you for elucidating this !!
I always have the old Java 6 installed because Photoshop requires it.
Sigh. Phew.

Thanks !

Andi..
Post by Jan Høydahl
+1 to release
PS: The page http://lucene.apache.org/pylucene/install.html <http://lucene.apache.org/pylucene/install.html> is outdated wrt Mac, versions etc and should probably mention the Java6 bug as well
--
Jan HÞydahl, search solution architect
Cominvent AS - www.cominvent.com
Post by Jan Høydahl
Here is a GIST with complete install log and Makefile. I did not modify setup.py, it looked good to go
https://gist.github.com/janhoy/c996529dc492ec3ad9cb3b81e80719f2#file-pylucene-install-log-txt <https://gist.github.com/janhoy/c996529dc492ec3ad9cb3b81e80719f2#file-pylucene-install-log-txt>
In Makefile I customized only these vars
PREFIX_PYTHON=/usr/local/Cellar/python/2.7.13/
ANT=/usr/local/Cellar/ant/1.10.0/bin/ant
PYTHON=$(PREFIX_PYTHON)/bin/python
JCC=$(PYTHON) -m jcc
NUM_FILES=8
JCC finds Java Home, and python version is 2.7.13
My version of ?make? is macOS default gmake 3.81
I also tried with (g)make 4.2.1 but same problem.
--
Jan HÞydahl, search solution architect
Cominvent AS - www.cominvent.com <http://www.cominvent.com/>
No Java runtime present, requesting install.
When building JCC (before building PyLucene), you need to ensure that the proper version of Java is found. The setup.py program tries to figure it out for you and tells what it's about to build with on stdout.
Then you need to install JCC.
Then, when building PyLucene, you need to make sure that the same python install you used to build JCC is also going to be used by the PyLucene Makefile, since that's where the current JCC you just built got installed.
You need edit that Makefile and uncomment/edit one of the configuration
examples to match your setup.
I'm sure it also helps if at the command line, you see something like this
$ java -version
Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)
If not, fix this before trying anything else.
Andi..
--
Jan HÞydahl, search solution architect
Cominvent AS - www.cominvent.com <http://www.cominvent.com/>
Ping ?
Two more PMC votes are needed before this release can happen.
Thanks !
Andi..
Post by Andi Vajda
The PyLucene 6.4.1 (rc1) release tracking today's release of
Apache Lucene 6.4.1 is ready.
https://dist.apache.org/repos/dist/dev/lucene/pylucene/6.4.1-rc1/ <https://dist.apache.org/repos/dist/dev/lucene/pylucene/6.4.1-rc1/>
PyLucene 6.4.1 is built with JCC 2.23 included in these release artifacts.
Please vote to release these artifacts as PyLucene 6.4.1.
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
2017-02-13 21:50:47 UTC
Permalink
This vote has now passed.
Thank you all for voting.

Andi..
Post by Jan Høydahl
Hi,
I found the reason, it is a Java bug which is fixed in Java9: https://bugs.openjdk.java.net/browse/JDK-7131356 <https://bugs.openjdk.java.net/browse/JDK-7131356>
The workaround was to install Apple?s Java6, then make and make install succeeds.
I then tested python IndexFiles.py <folder> and python SearchFiles.py and it all works :-)
+1 to release
PS: The page http://lucene.apache.org/pylucene/install.html <http://lucene.apache.org/pylucene/install.html> is outdated wrt Mac, versions etc and should probably mention the Java6 bug as well
--
Jan HÞydahl, search solution architect
Cominvent AS - www.cominvent.com
Post by Jan Høydahl
Here is a GIST with complete install log and Makefile. I did not modify setup.py, it looked good to go
https://gist.github.com/janhoy/c996529dc492ec3ad9cb3b81e80719f2#file-pylucene-install-log-txt <https://gist.github.com/janhoy/c996529dc492ec3ad9cb3b81e80719f2#file-pylucene-install-log-txt>
In Makefile I customized only these vars
PREFIX_PYTHON=/usr/local/Cellar/python/2.7.13/
ANT=/usr/local/Cellar/ant/1.10.0/bin/ant
PYTHON=$(PREFIX_PYTHON)/bin/python
JCC=$(PYTHON) -m jcc
NUM_FILES=8
JCC finds Java Home, and python version is 2.7.13
My version of ?make? is macOS default gmake 3.81
I also tried with (g)make 4.2.1 but same problem.
--
Jan HÞydahl, search solution architect
Cominvent AS - www.cominvent.com <http://www.cominvent.com/>
No Java runtime present, requesting install.
When building JCC (before building PyLucene), you need to ensure that the proper version of Java is found. The setup.py program tries to figure it out for you and tells what it's about to build with on stdout.
Then you need to install JCC.
Then, when building PyLucene, you need to make sure that the same python install you used to build JCC is also going to be used by the PyLucene Makefile, since that's where the current JCC you just built got installed.
You need edit that Makefile and uncomment/edit one of the configuration
examples to match your setup.
I'm sure it also helps if at the command line, you see something like this
$ java -version
Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)
If not, fix this before trying anything else.
Andi..
--
Jan HÞydahl, search solution architect
Cominvent AS - www.cominvent.com <http://www.cominvent.com/>
Ping ?
Two more PMC votes are needed before this release can happen.
Thanks !
Andi..
Post by Andi Vajda
The PyLucene 6.4.1 (rc1) release tracking today's release of
Apache Lucene 6.4.1 is ready.
https://dist.apache.org/repos/dist/dev/lucene/pylucene/6.4.1-rc1/ <https://dist.apache.org/repos/dist/dev/lucene/pylucene/6.4.1-rc1/>
PyLucene 6.4.1 is built with JCC 2.23 included in these release artifacts.
Please vote to release these artifacts as PyLucene 6.4.1.
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
2017-02-13 21:46:45 UTC
Permalink
Post by Jan Høydahl
Here is a GIST with complete install log and Makefile. I did not modify setup.py, it looked good to go
https://gist.github.com/janhoy/c996529dc492ec3ad9cb3b81e80719f2#file-pylucene-install-log-txt <https://gist.github.com/janhoy/c996529dc492ec3ad9cb3b81e80719f2#file-pylucene-install-log-txt>
In Makefile I customized only these vars
PREFIX_PYTHON=/usr/local/Cellar/python/2.7.13/
ANT=/usr/local/Cellar/ant/1.10.0/bin/ant
PYTHON=$(PREFIX_PYTHON)/bin/python
JCC=$(PYTHON) -m jcc
NUM_FILES=8
JCC finds Java Home, and python version is 2.7.13
My version of ?make? is macOS default gmake 3.81
I also tried with (g)make 4.2.1 but same problem.
Apart from the trailing slash in PREFIX_PYTHON which leads to a // later on
(which I don't think is the cause of the problem), I can't see anything
wrong.

Andi..
Post by Jan Høydahl
--
Jan HÞydahl, search solution architect
Cominvent AS - www.cominvent.com
No Java runtime present, requesting install.
When building JCC (before building PyLucene), you need to ensure that the proper version of Java is found. The setup.py program tries to figure it out for you and tells what it's about to build with on stdout.
Then you need to install JCC.
Then, when building PyLucene, you need to make sure that the same python install you used to build JCC is also going to be used by the PyLucene Makefile, since that's where the current JCC you just built got installed.
You need edit that Makefile and uncomment/edit one of the configuration
examples to match your setup.
I'm sure it also helps if at the command line, you see something like this
$ java -version
Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)
If not, fix this before trying anything else.
Andi..
--
Jan HÞydahl, search solution architect
Cominvent AS - www.cominvent.com
Ping ?
Two more PMC votes are needed before this release can happen.
Thanks !
Andi..
Post by Andi Vajda
The PyLucene 6.4.1 (rc1) release tracking today's release of
Apache Lucene 6.4.1 is ready.
https://dist.apache.org/repos/dist/dev/lucene/pylucene/6.4.1-rc1/
PyLucene 6.4.1 is built with JCC 2.23 included in these release artifacts.
Please vote to release these artifacts as PyLucene 6.4.1.
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...