Andi Vajda schrieb:
On Thu, 13 Jul 2006, Christian Klinger wrote:
after install PyLucene i try to get the manindex.py in samples
directory to work!
the command: /usr/local/bin/python2.4 manindex.py test
raises this error
linux:/tmp/luc/PyLucene-src-2.0.0-1/samples #
/usr/local/bin/python2.4 manindex.py test
Traceback (most recent call last):
File "manindex.py", line 95, in ?
writer = IndexWriter(indexDir, StandardAnalyzer(), True)
PyLucene.JavaError: java.lang.NullPointerException
What OS are you on ? Which Linux ? Which version of gcj did you use to
build PyLucene ? Are unit tests passing (make test) ?
Andi..
Hi Andi
i ´use a Suse Linux. I ´ve compiled gcc 3.4.6 myself. make test runs
into errors with the following output.
linux:/tmp/luc/PyLucene-src-2.0.0 # make test
cd samples/LuceneInAction; /usr/local/bin/python index.py
Traceback (most recent call last):
File "index.py", line 11, in ?
False)
File
"/tmp/luc/PyLucene-src-2.0.0/samples/LuceneInAction/lia/common/TestDataDocumentHandler.py",
line 38, in createIndex
writer = IndexWriter(indexDir, StandardAnalyzer(), True)
PyLucene.JavaError: java.lang.NullPointerException
make: *** [samples/LuceneInAction/index] Error 1
linux:/tmp/luc/PyLucene-src-2.0.0 # /usr/local/gcc-3.4.6/bin/gcc -v
Reading specs from
/usr/local/gcc-3.4.6/lib/gcc/i686-pc-linux-gnu/3.4.6/specs
Configured with: ../gcc-3.4.6/configure --enable-threads=posix
--prefix=/usr/local/gcc-3.4.6 --enable-languages=c,c++,java
Thread model: posix
gcc version 3.4.6
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev