lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Rowe <sar...@gmail.com>
Subject Re: [NAG][VOTE] Release PyLucene 4.4.0-1
Date Thu, 22 Aug 2013 16:46:35 GMT
+1

'make test' succeeds for me on OS X 10.8.4 with stock Python 2.7.

However, when I enable either the smartcn or the spatial contrib by uncommented the lines
adding them to JARS in Makefile, pylucene build fails:

====== Smartcn enabled ======

/usr/bin/python -m jcc --shared --arch x86_64 --jar lucene-java-4.4.0/lucene/build/core/lucene-core-4.4.0.jar
--jar lucene-java-4.4.0/lucene/build/analysis/common/lucene-analyzers-common-4.4.0.jar --jar
lucene-java-4.4.0/lucene/build/memory/lucene-memory-4.4.0.jar --jar lucene-java-4.4.0/lucene/build/highlighter/lucene-highlighter-4.4.0.jar
--jar build/jar/extensions.jar --jar lucene-java-4.4.0/lucene/build/queries/lucene-queries-4.4.0.jar
--jar lucene-java-4.4.0/lucene/build/queryparser/lucene-queryparser-4.4.0.jar --jar lucene-java-4.4.0/lucene/build/sandbox/lucene-sandbox-4.4.0.jar
--jar lucene-java-4.4.0/lucene/build/analysis/smartcn/lucene-analyzers-smartcn-4.4.0.jar --jar
lucene-java-4.4.0/lucene/build/analysis/stempel/lucene-analyzers-stempel-4.4.0.jar --jar lucene-java-4.4.0/lucene/build/grouping/lucene-grouping-4.4.0.jar
--jar lucene-java-4.4.0/lucene/build/join/lucene-join-4.4.0.jar --jar lucene-java-4.4.0/lucene/build/facet/lucene-facet-4.4.0.jar
--jar lucene-java-4.4.0/lucene/build/suggest/lucene-suggest-4.4.0.jar --include lucene-java-4.4.0/lucene/build/misc/lucene-misc-4.4.0.jar
 --use_full_names --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
java.io.InputStreamReader java.io.FileInputStream java.io.DataInputStream --exclude org.apache.lucene.sandbox.queries.regex.JakartaRegexpCapabilities
--exclude org.apache.regexp.RegexpTunnel --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 4.4.0 --module python/collections.py --module python/ICUNormalizer2Filter.py --module
python/ICUFoldingFilter.py --module python/ICUTransformFilter.py  --files 8 --build 
While loading org/apache/lucene/analysis/cn/smart/AnalyzerProfile
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py",
line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py",
line 72, in _run_code
    exec code in run_globals
  File "/Library/Python/2.7/site-packages/JCC-2.17-py2.7-macosx-10.8-intel.egg/jcc/__main__.py",
line 107, in <module>
    cpp.jcc(sys.argv)
  File "/Library/Python/2.7/site-packages/JCC-2.17-py2.7-macosx-10.8-intel.egg/jcc/cpp.py",
line 583, in jcc
    cls = findClass(className.replace('.', '/'))
  File "/Library/Python/2.7/site-packages/JCC-2.17-py2.7-macosx-10.8-intel.egg/jcc/cpp.py",
line 73, in findClass
    cls = _findClass(className)
jcc.cpp.JavaError: java.lang.ExceptionInInitializerError
Java stacktrace:
java.lang.ExceptionInInitializerError
Caused by: java.lang.RuntimeException: WARNING: Can not find lexical dictionary directory!
This will cause unpredictable exceptions in your application! Please refer to the manual to
download the dictionaries.
	at org.apache.lucene.analysis.cn.smart.AnalyzerProfile.init(AnalyzerProfile.java:72)
	at org.apache.lucene.analysis.cn.smart.AnalyzerProfile.<clinit>(AnalyzerProfile.java:43)

make: *** [compile] Error 255

===============================

======= Spatial enabled =======
/usr/bin/python -m jcc --shared --arch x86_64 --jar lucene-java-4.4.0/lucene/build/core/lucene-core-4.4.0.jar
--jar lucene-java-4.4.0/lucene/build/analysis/common/lucene-analyzers-common-4.4.0.jar --jar
lucene-java-4.4.0/lucene/build/memory/lucene-memory-4.4.0.jar --jar lucene-java-4.4.0/lucene/build/highlighter/lucene-highlighter-4.4.0.jar
--jar build/jar/extensions.jar --jar lucene-java-4.4.0/lucene/build/queries/lucene-queries-4.4.0.jar
--jar lucene-java-4.4.0/lucene/build/queryparser/lucene-queryparser-4.4.0.jar --jar lucene-java-4.4.0/lucene/build/sandbox/lucene-sandbox-4.4.0.jar
--jar lucene-java-4.4.0/lucene/build/analysis/smartcn/lucene-analyzers-smartcn-4.4.0.jar --jar
lucene-java-4.4.0/lucene/build/analysis/stempel/lucene-analyzers-stempel-4.4.0.jar --jar lucene-java-4.4.0/lucene/build/spatial/lucene-spatial-4.4.0.jar
--jar lucene-java-4.4.0/lucene/build/grouping/lucene-grouping-4.4.0.jar --jar lucene-java-4.4.0/lucene/build/join/lucene-join-4.4.0.jar
--jar lucene-java-4.4.0/lucene/build/facet/lucene-facet-4.4.0.jar --jar lucene-java-4.4.0/lucene/build/suggest/lucene-suggest-4.4.0.jar
--include lucene-java-4.4.0/lucene/build/misc/lucene-misc-4.4.0.jar  --use_full_names --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 java.io.InputStreamReader java.io.FileInputStream java.io.DataInputStream
--exclude org.apache.lucene.sandbox.queries.regex.JakartaRegexpCapabilities --exclude org.apache.regexp.RegexpTunnel
--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 4.4.0 --module python/collections.py --module python/ICUNormalizer2Filter.py --module
python/ICUFoldingFilter.py --module python/ICUTransformFilter.py  --files 8 --build 
While loading org/apache/lucene/spatial/prefix/tree/QuadPrefixTree
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py",
line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py",
line 72, in _run_code
    exec code in run_globals
  File "/Library/Python/2.7/site-packages/JCC-2.17-py2.7-macosx-10.8-intel.egg/jcc/__main__.py",
line 107, in <module>
    cpp.jcc(sys.argv)
  File "/Library/Python/2.7/site-packages/JCC-2.17-py2.7-macosx-10.8-intel.egg/jcc/cpp.py",
line 583, in jcc
    cls = findClass(className.replace('.', '/'))
  File "/Library/Python/2.7/site-packages/JCC-2.17-py2.7-macosx-10.8-intel.egg/jcc/cpp.py",
line 73, in findClass
    cls = _findClass(className)
jcc.cpp.JavaError: java.lang.NoClassDefFoundError: com/spatial4j/core/shape/Shape
Java stacktrace:
java.lang.NoClassDefFoundError: com/spatial4j/core/shape/Shape
Caused by: java.lang.ClassNotFoundException: com.spatial4j.core.shape.Shape
	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

make: *** [compile] Error 255
===============================

On Aug 22, 2013, at 5:46 AM, Andi Vajda <vajda@apache.org> wrote:
> One more PMC vote is needed for this vote pass...
> 
> Thanks !
> 
> Andi..
> 
> ---------- Forwarded message ----------
> Date: Sat, 17 Aug 2013 07:52:07 -0700 (PDT)
> From: Andi Vajda <vajda@apache.org>
> Reply-To: pylucene-dev@lucene.apache.org, Andi Vajda <vajda@apache.org>
> To: pylucene-dev@lucene.apache.org
> Cc: general@lucene.apache.org
> Subject: [VOTE] Release PyLucene 4.4.0-1
> 
> 
> The PyLucene 4.4.0-1 release tracking the recent release of Apache Lucene 4.4.0 is ready.
> 
> A release candidate is available from:
> http://people.apache.org/~vajda/staging_area/
> 
> A list of changes in this release can be seen at:
> http://svn.apache.org/repos/asf/lucene/pylucene/branches/pylucene_4_4/CHANGES
> 
> PyLucene 4.4.0 is built with JCC 2.17 included in these release artifacts:
> http://svn.apache.org/repos/asf/lucene/pylucene/trunk/jcc/CHANGES
> 
> A list of Lucene Java changes can be seen at:
> http://svn.apache.org/repos/asf/lucene/dev/tags/lucene_solr_4_4_0/lucene/CHANGES.txt
> 
> Please vote to release these artifacts as PyLucene 4.4.0-1.
> 
> Thanks !
> 
> Andi..
> 
> ps: the KEYS file for PyLucene release signing is at:
> http://svn.apache.org/repos/asf/lucene/pylucene/dist/KEYS
> http://people.apache.org/~vajda/staging_area/KEYS
> 
> pps: here is my +1


Mime
View raw message