Hello,

I'm facing problems with installing Pylucene on an Ubuntu 12.04 Server (32bit). 
Perhaps someone can give me some helpful advice?
I've followed the official installation instructions [1]. It seems that 
building and installing JCC works fine. Also, running "make" to build Pylucene 
seems to succeed. But if I run "make test", I get the errors attached below.


Thank you in advance!
Uwe

1: http://lucene.apache.org/pylucene/install.html



Output of "make test" (shortened):

[...]

======================================================================
ERROR: test_FieldEnumeration (__main__.PythonDirectoryTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/root/pylucene-4.6.1-1/test/test_PyLucene.py", line 236, in 
test_FieldEnumeration
    self.test_indexDocument()
  File "/root/pylucene-4.6.1-1/test/test_PyLucene.py", line 84, in 
test_indexDocument
    self.closeStore(store, writer)
  File "test/test_PythonDirectory.py", line 255, in closeStore
    for arg in args:
  File "test/test_PythonDirectory.py", line 255, in closeStore
    for arg in args:
  File "/usr/lib/python2.7/bdb.py", line 48, in trace_dispatch
    return self.dispatch_line(frame)
  File "/usr/lib/python2.7/bdb.py", line 67, in dispatch_line
    if self.quitting: raise BdbQuit
BdbQuit

======================================================================
ERROR: test_IncrementalLoop (__main__.PythonDirectoryTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_PythonDirectory.py", line 268, in test_IncrementalLoop
    self.test_indexDocument()
  File "/root/pylucene-4.6.1-1/test/test_PyLucene.py", line 84, in 
test_indexDocument
    self.closeStore(store, writer)
  File "test/test_PythonDirectory.py", line 255, in closeStore
    for arg in args:
  File "test/test_PythonDirectory.py", line 255, in closeStore
    for arg in args:
  File "/usr/lib/python2.7/bdb.py", line 48, in trace_dispatch
    return self.dispatch_line(frame)
  File "/usr/lib/python2.7/bdb.py", line 67, in dispatch_line
    if self.quitting: raise BdbQuit
BdbQuit

======================================================================
ERROR: test_getFieldInfos (__main__.PythonDirectoryTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/root/pylucene-4.6.1-1/test/test_PyLucene.py", line 282, in 
test_getFieldInfos
    self.test_indexDocument()
  File "/root/pylucene-4.6.1-1/test/test_PyLucene.py", line 84, in 
test_indexDocument
    self.closeStore(store, writer)
  File "test/test_PythonDirectory.py", line 255, in closeStore
    for arg in args:
  File "test/test_PythonDirectory.py", line 255, in closeStore
    for arg in args:
  File "/usr/lib/python2.7/bdb.py", line 48, in trace_dispatch
    return self.dispatch_line(frame)
  File "/usr/lib/python2.7/bdb.py", line 67, in dispatch_line
    if self.quitting: raise BdbQuit
BdbQuit

======================================================================
ERROR: test_indexDocument (__main__.PythonDirectoryTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/root/pylucene-4.6.1-1/test/test_PyLucene.py", line 84, in 
test_indexDocument
    self.closeStore(store, writer)
  File "test/test_PythonDirectory.py", line 255, in closeStore
    for arg in args:
  File "test/test_PythonDirectory.py", line 255, in closeStore
    for arg in args:
  File "/usr/lib/python2.7/bdb.py", line 48, in trace_dispatch
    return self.dispatch_line(frame)
  File "/usr/lib/python2.7/bdb.py", line 67, in dispatch_line
    if self.quitting: raise BdbQuit
BdbQuit

======================================================================
ERROR: test_indexDocumentWithText (__main__.PythonDirectoryTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/root/pylucene-4.6.1-1/test/test_PyLucene.py", line 112, in 
test_indexDocumentWithText
    self.closeStore(store, writer)
  File "test/test_PythonDirectory.py", line 255, in closeStore
    for arg in args:
  File "test/test_PythonDirectory.py", line 255, in closeStore
    for arg in args:
  File "/usr/lib/python2.7/bdb.py", line 48, in trace_dispatch
    return self.dispatch_line(frame)
  File "/usr/lib/python2.7/bdb.py", line 67, in dispatch_line
    if self.quitting: raise BdbQuit
BdbQuit

======================================================================
ERROR: test_indexDocumentWithUnicodeText (__main__.PythonDirectoryTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/root/pylucene-4.6.1-1/test/test_PyLucene.py", line 143, in 
test_indexDocumentWithUnicodeText
    self.closeStore(store, writer)
  File "test/test_PythonDirectory.py", line 255, in closeStore
    for arg in args:
  File "test/test_PythonDirectory.py", line 255, in closeStore
    for arg in args:
  File "/usr/lib/python2.7/bdb.py", line 48, in trace_dispatch
    return self.dispatch_line(frame)
  File "/usr/lib/python2.7/bdb.py", line 67, in dispatch_line
    if self.quitting: raise BdbQuit
BdbQuit

======================================================================
ERROR: test_removeDocument (__main__.PythonDirectoryTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/root/pylucene-4.6.1-1/test/test_PyLucene.py", line 182, in 
test_removeDocument
    self.test_indexDocument()
  File "/root/pylucene-4.6.1-1/test/test_PyLucene.py", line 84, in 
test_indexDocument
    self.closeStore(store, writer)
  File "test/test_PythonDirectory.py", line 255, in closeStore
    for arg in args:
  File "test/test_PythonDirectory.py", line 255, in closeStore
    for arg in args:
  File "/usr/lib/python2.7/bdb.py", line 48, in trace_dispatch
    return self.dispatch_line(frame)
  File "/usr/lib/python2.7/bdb.py", line 67, in dispatch_line
    if self.quitting: raise BdbQuit
BdbQuit

======================================================================
ERROR: test_removeDocuments (__main__.PythonDirectoryTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/root/pylucene-4.6.1-1/test/test_PyLucene.py", line 213, in 
test_removeDocuments
    self.test_indexDocument()
  File "/root/pylucene-4.6.1-1/test/test_PyLucene.py", line 84, in 
test_indexDocument
    self.closeStore(store, writer)
  File "test/test_PythonDirectory.py", line 255, in closeStore
    for arg in args:
  File "test/test_PythonDirectory.py", line 255, in closeStore
    for arg in args:
  File "/usr/lib/python2.7/bdb.py", line 48, in trace_dispatch
    return self.dispatch_line(frame)
  File "/usr/lib/python2.7/bdb.py", line 67, in dispatch_line
    if self.quitting: raise BdbQuit
BdbQuit

======================================================================
ERROR: test_searchDocuments (__main__.PythonDirectoryTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/root/pylucene-4.6.1-1/test/test_PyLucene.py", line 147, in 
test_searchDocuments
    self.test_indexDocument()
  File "/root/pylucene-4.6.1-1/test/test_PyLucene.py", line 84, in 
test_indexDocument
    self.closeStore(store, writer)
  File "test/test_PythonDirectory.py", line 255, in closeStore
    for arg in args:
  File "test/test_PythonDirectory.py", line 255, in closeStore
    for arg in args:
  File "/usr/lib/python2.7/bdb.py", line 48, in trace_dispatch
    return self.dispatch_line(frame)
  File "/usr/lib/python2.7/bdb.py", line 67, in dispatch_line
    if self.quitting: raise BdbQuit
BdbQuit

======================================================================
ERROR: test_searchDocumentsWithMultiField (__main__.PythonDirectoryTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/root/pylucene-4.6.1-1/test/test_PyLucene.py", line 165, in 
test_searchDocumentsWithMultiField
    self.test_indexDocument()
  File "/root/pylucene-4.6.1-1/test/test_PyLucene.py", line 84, in 
test_indexDocument
    self.closeStore(store, writer)
  File "test/test_PythonDirectory.py", line 255, in closeStore
    for arg in args:
  File "test/test_PythonDirectory.py", line 255, in closeStore
    for arg in args:
  File "/usr/lib/python2.7/bdb.py", line 48, in trace_dispatch
    return self.dispatch_line(frame)
  File "/usr/lib/python2.7/bdb.py", line 67, in dispatch_line
    if self.quitting: raise BdbQuit
BdbQuit

----------------------------------------------------------------------
Ran 10 tests in 1.153s

FAILED (errors=10)
> /root/pylucene-4.6.1-1/test/test_PythonDirectory.py(255)closeStore()
-> for arg in args:
(Pdb)
/usr/bin/python test/test_TermRangeQuery.py
..
----------------------------------------------------------------------

[...]


make: *** [test] Error 123


Reply via email to