Just like Marcin Swiderski, I really need to install PyLucene on an
Ubuntu x64 machine.  I would strongly prefer PyLucene 2.0 to make it
compatible with what I just installed on my laptop (which is instead
32-bit Fedora Core 4).

The PyLucene home page is thoroughly misleading, because it just says
"Ubuntu".  Marcin and I both downloaded the binary.  Of course the OS
refused to run it, because it is ELF32.

Then I tried to compile from source.

My machine is running, I think, Ubuntu 6.10 (Edgy Eft).  It has gcj
4.1. As you might expect from Andi's recent experience, the compile from
source does not work.  That is, the package compiles, but some of the
tests fail.  Here is a report:

======================================================================
FAIL: test_bug1564 (__main__.Test_Bug1564)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_bug1564.py", line 53, in test_bug1564
    self.assertEqual(hits.length(), 1)
AssertionError: 0 != 1

======================================================================
ERROR: test_bug1763 (__main__.Test_Bug1763)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_bug1763.py", line 65, in test_bug1763
    self.assertEqual(hits.doc(0).get('id'), '2')
JavaError: java.lang.IndexOutOfBoundsException: Not a valid hit number: 0

======================================================================
ERROR: testDocBoost (__main__.DocBoostTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_DocBoost.py", line 68, in testDocBoost
    hitCollector())
JavaError: java.lang.NullPointerException

======================================================================
ERROR: testFilteredQuery (__main__.FilteredQueryTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_FilteredQuery.py", line 97, in testFilteredQuery
    hits = self.searcher.search(filteredquery, Sort("sorter"))
JavaError: java.lang.NullPointerException

I will try to build gcj from the unstable 4.2 snapshot.  That is really
not my favorite thing to do, but I don't know that I have much choice.

I am willing to lend the irreplaceable Andi Vajda a guest account on
my Ubuntu computer, trefoil.math.ucdavis.edu, for the sake of a more
shareable solution.

-- 
  /\  Greg Kuperberg (UC Davis)
 /  \ Home page: http://www.math.ucdavis.edu/~greg/
 \  / Visit the Math ArXiv Front at http://front.math.ucdavis.edu/
  \/  * All the math that's fit to e-print *
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to