lucene-pylucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andi Vajda <va...@apache.org>
Subject Re: Test failures with pylucene-2.4.1-1
Date Fri, 25 Feb 2011 15:23:46 GMT

On Feb 25, 2011, at 4:34, tuxdna <tuxdna@gmail.com> wrote:

> Hi,
>
> I built pylucene-2.4.1-1 on Fedora 14.
> ( https://tuxdna.wordpress.com/2011/02/25/pylucene-on-fedora-14/ )
>
> When I did make test, I found test failures which I am pasting below:

This looks like a version of jcc "too new" for this old a pylucene is  
used.
Which version of jcc did you use ?
The one that came with pylucene 2.4.1 or a newer one ?

Andi..


>
>
> ===========================BEGIN===========================
>
> find test -name 'test_*.py' | xargs -t -n 1 /usr/bin/python
> /usr/bin/python test/test_RewriteQuery.py
> .
> ----------------------------------------------------------------------
> Ran 1 test in 0.050s
>
> OK
> /usr/bin/python test/test_Highlighter.py
> ..
> ----------------------------------------------------------------------
> Ran 2 tests in 0.115s
>
> OK
> Searching for: wicked
>    A <b>wicked</b> problem... of the problem.  <b>Wicked</b>
> Searching for: wicked
>    A <B>wicked</B> problem is one for which each... the  
> understanding of
> the problem.  <B>Wicked</B>
> /usr/bin/python test/test_PositionIncrement.py
> ..
> ----------------------------------------------------------------------
> Ran 2 tests in 0.096s
>
> OK
> /usr/bin/python test/test_PythonQueryParser.py
> ..
> ----------------------------------------------------------------------
> Ran 2 tests in 0.009s
>
> OK
> /usr/bin/python test/test_FilteredQuery.py
> ..
> ----------------------------------------------------------------------
> Ran 2 tests in 0.110s
>
> OK
> /usr/bin/python test/test_FuzzyQuery.py
> ..
> ----------------------------------------------------------------------
> Ran 2 tests in 0.105s
>
> OK
> /usr/bin/python test/test_Binary.py
> E
> ======================================================================
> ERROR: testBinary (__main__.BinaryTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "test/test_Binary.py", line 32, in testBinary
>    83, 89, 105, 56, 95, 75, 0, 0, 14, 215, 128])
>  File "test/test_Binary.py", line 27, in binary
>    assert c == v and b == [ord(a) for a in v]
> TypeError: ord() expected string of length 1, but int found
>
> ----------------------------------------------------------------------
> Ran 1 test in 0.002s
>
> FAILED (errors=1)
> /usr/bin/python test/test_bug1763.py
> .
> ----------------------------------------------------------------------
> Ran 1 test in 0.106s
>
> OK
> /usr/bin/python test/test_StopAnalyzer.py
> ..
> ----------------------------------------------------------------------
> Ran 2 tests in 0.001s
>
> OK
> /usr/bin/python test/test_PrefixFilter.py
> .
> ----------------------------------------------------------------------
> Ran 1 test in 0.095s
>
> OK
> /usr/bin/python test/test_bug1842.py
> .
> ----------------------------------------------------------------------
> Ran 1 test in 0.099s
>
> OK
> /usr/bin/python test/test_PrefixQuery.py
> .
> ----------------------------------------------------------------------
> Ran 1 test in 0.097s
>
> OK
> /usr/bin/python test/test_RangeQuery.py
> ..
> ----------------------------------------------------------------------
> Ran 2 tests in 0.114s
>
> OK
> /usr/bin/python test/test_PythonDirectory.py
> ETesting Indexing Incremental Looping
> indexing  0
> EEEEEEEEE
> ======================================================================
> ERROR: test_FieldEnumeration (__main__.PythonDirectoryTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "/home/sansari/Downloads/pylucene-2.4.1-1/test/ 
> test_PyLucene.py",
> line 212, in test_FieldEnumeration
>    self.test_indexDocument()
>  File "/home/sansari/Downloads/pylucene-2.4.1-1/test/ 
> test_PyLucene.py",
> line 62, in test_indexDocument
>    self.closeStore(store, writer)
>  File "test/test_PythonDirectory.py", line 222, in closeStore
>    store.close()
>  File "test/test_PythonDirectory.py", line 144, in close
>    stream.close()
>  File "test/test_PythonDirectory.py", line 116, in close
>    super(PythonFileStreamOutput, self).close()
> JavaError: org.apache.jcc.PythonException: sequence item 0: expected
> string, int found
> Traceback (most recent call last):
>  File "test/test_PythonDirectory.py", line 127, in flushBuffer
>    self.fh.write(''.join(buffer))
> TypeError: sequence item 0: expected string, int found
>
>    Java stacktrace:
> org.apache.jcc.PythonException: sequence item 0: expected string,  
> int found
> Traceback (most recent call last):
>  File "test/test_PythonDirectory.py", line 127, in flushBuffer
>    self.fh.write(''.join(buffer))
> TypeError: sequence item 0: expected string, int found
>
>    at org.apache.pylucene.store.PythonIndexOutput.flushBuffer(Native  
> Method)
>    at org.apache.pylucene.store.PythonIndexOutput.flushBuffer 
> (Unknown Source)
>    at org.apache.lucene.store.BufferedIndexOutput.flushBuffer 
> (BufferedIndexOutput.java:96)
>    at org.apache.lucene.store.BufferedIndexOutput.flush 
> (BufferedIndexOutput.java:85)
>    at org.apache.lucene.store.BufferedIndexOutput.close 
> (BufferedIndexOutput.java:109)
>
>
> ======================================================================
> ERROR: test_IncrementalLoop (__main__.PythonDirectoryTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "test/test_PythonDirectory.py", line 229, in  
> test_IncrementalLoop
>    self.test_indexDocument()
>  File "/home/sansari/Downloads/pylucene-2.4.1-1/test/ 
> test_PyLucene.py",
> line 62, in test_indexDocument
>    self.closeStore(store, writer)
>  File "test/test_PythonDirectory.py", line 222, in closeStore
>    store.close()
>  File "test/test_PythonDirectory.py", line 144, in close
>    stream.close()
>  File "test/test_PythonDirectory.py", line 116, in close
>    super(PythonFileStreamOutput, self).close()
> JavaError: org.apache.jcc.PythonException: sequence item 0: expected
> string, int found
> Traceback (most recent call last):
>  File "test/test_PythonDirectory.py", line 127, in flushBuffer
>    self.fh.write(''.join(buffer))
> TypeError: sequence item 0: expected string, int found
>
>    Java stacktrace:
> org.apache.jcc.PythonException: sequence item 0: expected string,  
> int found
> Traceback (most recent call last):
>  File "test/test_PythonDirectory.py", line 127, in flushBuffer
>    self.fh.write(''.join(buffer))
> TypeError: sequence item 0: expected string, int found
>
>    at org.apache.pylucene.store.PythonIndexOutput.flushBuffer(Native  
> Method)
>    at org.apache.pylucene.store.PythonIndexOutput.flushBuffer 
> (Unknown Source)
>    at org.apache.lucene.store.BufferedIndexOutput.flushBuffer 
> (BufferedIndexOutput.java:96)
>    at org.apache.lucene.store.BufferedIndexOutput.flush 
> (BufferedIndexOutput.java:85)
>    at org.apache.lucene.store.BufferedIndexOutput.close 
> (BufferedIndexOutput.java:109)
>
>
> ======================================================================
> ERROR: test_getFieldNames (__main__.PythonDirectoryTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "/home/sansari/Downloads/pylucene-2.4.1-1/test/ 
> test_PyLucene.py",
> line 262, in test_getFieldNames
>    self.test_indexDocument()
>  File "/home/sansari/Downloads/pylucene-2.4.1-1/test/ 
> test_PyLucene.py",
> line 62, in test_indexDocument
>    self.closeStore(store, writer)
>  File "test/test_PythonDirectory.py", line 222, in closeStore
>    store.close()
>  File "test/test_PythonDirectory.py", line 144, in close
>    stream.close()
>  File "test/test_PythonDirectory.py", line 116, in close
>    super(PythonFileStreamOutput, self).close()
> JavaError: org.apache.jcc.PythonException: sequence item 0: expected
> string, int found
> Traceback (most recent call last):
>  File "test/test_PythonDirectory.py", line 127, in flushBuffer
>    self.fh.write(''.join(buffer))
> TypeError: sequence item 0: expected string, int found
>
>    Java stacktrace:
> org.apache.jcc.PythonException: sequence item 0: expected string,  
> int found
> Traceback (most recent call last):
>  File "test/test_PythonDirectory.py", line 127, in flushBuffer
>    self.fh.write(''.join(buffer))
> TypeError: sequence item 0: expected string, int found
>
>    at org.apache.pylucene.store.PythonIndexOutput.flushBuffer(Native  
> Method)
>    at org.apache.pylucene.store.PythonIndexOutput.flushBuffer 
> (Unknown Source)
>    at org.apache.lucene.store.BufferedIndexOutput.flushBuffer 
> (BufferedIndexOutput.java:96)
>    at org.apache.lucene.store.BufferedIndexOutput.flush 
> (BufferedIndexOutput.java:85)
>    at org.apache.lucene.store.BufferedIndexOutput.close 
> (BufferedIndexOutput.java:109)
>
>
> ======================================================================
> ERROR: test_indexDocument (__main__.PythonDirectoryTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "/home/sansari/Downloads/pylucene-2.4.1-1/test/ 
> test_PyLucene.py",
> line 62, in test_indexDocument
>    self.closeStore(store, writer)
>  File "test/test_PythonDirectory.py", line 222, in closeStore
>    store.close()
>  File "test/test_PythonDirectory.py", line 144, in close
>    stream.close()
>  File "test/test_PythonDirectory.py", line 116, in close
>    super(PythonFileStreamOutput, self).close()
> JavaError: org.apache.jcc.PythonException: sequence item 0: expected
> string, int found
> Traceback (most recent call last):
>  File "test/test_PythonDirectory.py", line 127, in flushBuffer
>    self.fh.write(''.join(buffer))
> TypeError: sequence item 0: expected string, int found
>
>    Java stacktrace:
> org.apache.jcc.PythonException: sequence item 0: expected string,  
> int found
> Traceback (most recent call last):
>  File "test/test_PythonDirectory.py", line 127, in flushBuffer
>    self.fh.write(''.join(buffer))
> TypeError: sequence item 0: expected string, int found
>
>    at org.apache.pylucene.store.PythonIndexOutput.flushBuffer(Native  
> Method)
>    at org.apache.pylucene.store.PythonIndexOutput.flushBuffer 
> (Unknown Source)
>    at org.apache.lucene.store.BufferedIndexOutput.flushBuffer 
> (BufferedIndexOutput.java:96)
>    at org.apache.lucene.store.BufferedIndexOutput.flush 
> (BufferedIndexOutput.java:85)
>    at org.apache.lucene.store.BufferedIndexOutput.close 
> (BufferedIndexOutput.java:109)
>
>
> ======================================================================
> ERROR: test_indexDocumentWithText (__main__.PythonDirectoryTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "/home/sansari/Downloads/pylucene-2.4.1-1/test/ 
> test_PyLucene.py",
> line 90, in test_indexDocumentWithText
>    self.closeStore(store, writer)
>  File "test/test_PythonDirectory.py", line 222, in closeStore
>    store.close()
>  File "test/test_PythonDirectory.py", line 144, in close
>    stream.close()
>  File "test/test_PythonDirectory.py", line 116, in close
>    super(PythonFileStreamOutput, self).close()
> JavaError: org.apache.jcc.PythonException: sequence item 0: expected
> string, int found
> Traceback (most recent call last):
>  File "test/test_PythonDirectory.py", line 127, in flushBuffer
>    self.fh.write(''.join(buffer))
> TypeError: sequence item 0: expected string, int found
>
>    Java stacktrace:
> org.apache.jcc.PythonException: sequence item 0: expected string,  
> int found
> Traceback (most recent call last):
>  File "test/test_PythonDirectory.py", line 127, in flushBuffer
>    self.fh.write(''.join(buffer))
> TypeError: sequence item 0: expected string, int found
>
>    at org.apache.pylucene.store.PythonIndexOutput.flushBuffer(Native  
> Method)
>    at org.apache.pylucene.store.PythonIndexOutput.flushBuffer 
> (Unknown Source)
>    at org.apache.lucene.store.BufferedIndexOutput.flushBuffer 
> (BufferedIndexOutput.java:96)
>    at org.apache.lucene.store.BufferedIndexOutput.flush 
> (BufferedIndexOutput.java:85)
>    at org.apache.lucene.store.BufferedIndexOutput.close 
> (BufferedIndexOutput.java:109)
>
>
> ======================================================================
> ERROR: test_indexDocumentWithUnicodeText  
> (__main__.PythonDirectoryTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "/home/sansari/Downloads/pylucene-2.4.1-1/test/ 
> test_PyLucene.py",
> line 121, in test_indexDocumentWithUnicodeText
>    self.closeStore(store, writer)
>  File "test/test_PythonDirectory.py", line 222, in closeStore
>    store.close()
>  File "test/test_PythonDirectory.py", line 144, in close
>    stream.close()
>  File "test/test_PythonDirectory.py", line 116, in close
>    super(PythonFileStreamOutput, self).close()
> JavaError: org.apache.jcc.PythonException: sequence item 0: expected
> string, int found
> Traceback (most recent call last):
>  File "test/test_PythonDirectory.py", line 127, in flushBuffer
>    self.fh.write(''.join(buffer))
> TypeError: sequence item 0: expected string, int found
>
>    Java stacktrace:
> org.apache.jcc.PythonException: sequence item 0: expected string,  
> int found
> Traceback (most recent call last):
>  File "test/test_PythonDirectory.py", line 127, in flushBuffer
>    self.fh.write(''.join(buffer))
> TypeError: sequence item 0: expected string, int found
>
>    at org.apache.pylucene.store.PythonIndexOutput.flushBuffer(Native  
> Method)
>    at org.apache.pylucene.store.PythonIndexOutput.flushBuffer 
> (Unknown Source)
>    at org.apache.lucene.store.BufferedIndexOutput.flushBuffer 
> (BufferedIndexOutput.java:96)
>    at org.apache.lucene.store.BufferedIndexOutput.flush 
> (BufferedIndexOutput.java:85)
>    at org.apache.lucene.store.BufferedIndexOutput.close 
> (BufferedIndexOutput.java:109)
>
>
> ======================================================================
> ERROR: test_removeDocument (__main__.PythonDirectoryTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "/home/sansari/Downloads/pylucene-2.4.1-1/test/ 
> test_PyLucene.py",
> line 159, in test_removeDocument
>    self.test_indexDocument()
>  File "/home/sansari/Downloads/pylucene-2.4.1-1/test/ 
> test_PyLucene.py",
> line 62, in test_indexDocument
>    self.closeStore(store, writer)
>  File "test/test_PythonDirectory.py", line 222, in closeStore
>    store.close()
>  File "test/test_PythonDirectory.py", line 144, in close
>    stream.close()
>  File "test/test_PythonDirectory.py", line 116, in close
>    super(PythonFileStreamOutput, self).close()
> JavaError: org.apache.jcc.PythonException: sequence item 0: expected
> string, int found
> Traceback (most recent call last):
>  File "test/test_PythonDirectory.py", line 127, in flushBuffer
>    self.fh.write(''.join(buffer))
> TypeError: sequence item 0: expected string, int found
>
>    Java stacktrace:
> org.apache.jcc.PythonException: sequence item 0: expected string,  
> int found
> Traceback (most recent call last):
>  File "test/test_PythonDirectory.py", line 127, in flushBuffer
>    self.fh.write(''.join(buffer))
> TypeError: sequence item 0: expected string, int found
>
>    at org.apache.pylucene.store.PythonIndexOutput.flushBuffer(Native  
> Method)
>    at org.apache.pylucene.store.PythonIndexOutput.flushBuffer 
> (Unknown Source)
>    at org.apache.lucene.store.BufferedIndexOutput.flushBuffer 
> (BufferedIndexOutput.java:96)
>    at org.apache.lucene.store.BufferedIndexOutput.flush 
> (BufferedIndexOutput.java:85)
>    at org.apache.lucene.store.BufferedIndexOutput.close 
> (BufferedIndexOutput.java:109)
>
>
> ======================================================================
> ERROR: test_removeDocuments (__main__.PythonDirectoryTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "/home/sansari/Downloads/pylucene-2.4.1-1/test/ 
> test_PyLucene.py",
> line 190, in test_removeDocuments
>    self.test_indexDocument()
>  File "/home/sansari/Downloads/pylucene-2.4.1-1/test/ 
> test_PyLucene.py",
> line 62, in test_indexDocument
>    self.closeStore(store, writer)
>  File "test/test_PythonDirectory.py", line 222, in closeStore
>    store.close()
>  File "test/test_PythonDirectory.py", line 144, in close
>    stream.close()
>  File "test/test_PythonDirectory.py", line 116, in close
>    super(PythonFileStreamOutput, self).close()
> JavaError: org.apache.jcc.PythonException: sequence item 0: expected
> string, int found
> Traceback (most recent call last):
>  File "test/test_PythonDirectory.py", line 127, in flushBuffer
>    self.fh.write(''.join(buffer))
> TypeError: sequence item 0: expected string, int found
>
>    Java stacktrace:
> org.apache.jcc.PythonException: sequence item 0: expected string,  
> int found
> Traceback (most recent call last):
>  File "test/test_PythonDirectory.py", line 127, in flushBuffer
>    self.fh.write(''.join(buffer))
> TypeError: sequence item 0: expected string, int found
>
>    at org.apache.pylucene.store.PythonIndexOutput.flushBuffer(Native  
> Method)
>    at org.apache.pylucene.store.PythonIndexOutput.flushBuffer 
> (Unknown Source)
>    at org.apache.lucene.store.BufferedIndexOutput.flushBuffer 
> (BufferedIndexOutput.java:96)
>    at org.apache.lucene.store.BufferedIndexOutput.flush 
> (BufferedIndexOutput.java:85)
>    at org.apache.lucene.store.BufferedIndexOutput.close 
> (BufferedIndexOutput.java:109)
>
>
> ======================================================================
> ERROR: test_searchDocuments (__main__.PythonDirectoryTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "/home/sansari/Downloads/pylucene-2.4.1-1/test/ 
> test_PyLucene.py",
> line 125, in test_searchDocuments
>    self.test_indexDocument()
>  File "/home/sansari/Downloads/pylucene-2.4.1-1/test/ 
> test_PyLucene.py",
> line 62, in test_indexDocument
>    self.closeStore(store, writer)
>  File "test/test_PythonDirectory.py", line 222, in closeStore
>    store.close()
>  File "test/test_PythonDirectory.py", line 144, in close
>    stream.close()
>  File "test/test_PythonDirectory.py", line 116, in close
>    super(PythonFileStreamOutput, self).close()
> JavaError: org.apache.jcc.PythonException: sequence item 0: expected
> string, int found
> Traceback (most recent call last):
>  File "test/test_PythonDirectory.py", line 127, in flushBuffer
>    self.fh.write(''.join(buffer))
> TypeError: sequence item 0: expected string, int found
>
>    Java stacktrace:
> org.apache.jcc.PythonException: sequence item 0: expected string,  
> int found
> Traceback (most recent call last):
>  File "test/test_PythonDirectory.py", line 127, in flushBuffer
>    self.fh.write(''.join(buffer))
> TypeError: sequence item 0: expected string, int found
>
>    at org.apache.pylucene.store.PythonIndexOutput.flushBuffer(Native  
> Method)
>    at org.apache.pylucene.store.PythonIndexOutput.flushBuffer 
> (Unknown Source)
>    at org.apache.lucene.store.BufferedIndexOutput.flushBuffer 
> (BufferedIndexOutput.java:96)
>    at org.apache.lucene.store.BufferedIndexOutput.flush 
> (BufferedIndexOutput.java:85)
>    at org.apache.lucene.store.BufferedIndexOutput.close 
> (BufferedIndexOutput.java:109)
>
>
> ======================================================================
> ERROR: test_searchDocumentsWithMultiField  
> (__main__.PythonDirectoryTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "/home/sansari/Downloads/pylucene-2.4.1-1/test/ 
> test_PyLucene.py",
> line 142, in test_searchDocumentsWithMultiField
>    self.test_indexDocument()
>  File "/home/sansari/Downloads/pylucene-2.4.1-1/test/ 
> test_PyLucene.py",
> line 62, in test_indexDocument
>    self.closeStore(store, writer)
>  File "test/test_PythonDirectory.py", line 222, in closeStore
>    store.close()
>  File "test/test_PythonDirectory.py", line 144, in close
>    stream.close()
>  File "test/test_PythonDirectory.py", line 116, in close
>    super(PythonFileStreamOutput, self).close()
> JavaError: org.apache.jcc.PythonException: sequence item 0: expected
> string, int found
> Traceback (most recent call last):
>  File "test/test_PythonDirectory.py", line 127, in flushBuffer
>    self.fh.write(''.join(buffer))
> TypeError: sequence item 0: expected string, int found
>
>    Java stacktrace:
> org.apache.jcc.PythonException: sequence item 0: expected string,  
> int found
> Traceback (most recent call last):
>  File "test/test_PythonDirectory.py", line 127, in flushBuffer
>    self.fh.write(''.join(buffer))
> TypeError: sequence item 0: expected string, int found
>
>    at org.apache.pylucene.store.PythonIndexOutput.flushBuffer(Native  
> Method)
>    at org.apache.pylucene.store.PythonIndexOutput.flushBuffer 
> (Unknown Source)
>    at org.apache.lucene.store.BufferedIndexOutput.flushBuffer 
> (BufferedIndexOutput.java:96)
>    at org.apache.lucene.store.BufferedIndexOutput.flush 
> (BufferedIndexOutput.java:85)
>    at org.apache.lucene.store.BufferedIndexOutput.close 
> (BufferedIndexOutput.java:109)
>
>
> ----------------------------------------------------------------------
> Ran 10 tests in 5.057s
>
> FAILED (errors=10)
> /usr/bin/python test/test_PyLuceneThread.py
> ..
> ----------------------------------------------------------------------
> Ran 2 tests in 1.719s
>
> OK
> /usr/bin/python test/test_RegexQuery.py
> .....
> ----------------------------------------------------------------------
> Ran 5 tests in 0.114s
>
> OK
> /usr/bin/python test/test_PhraseQuery.py
> ........
> ----------------------------------------------------------------------
> Ran 8 tests in 0.124s
>
> OK
> /usr/bin/python test/test_ThaiAnalyzer.py
> .
> ----------------------------------------------------------------------
> Ran 1 test in 0.031s
>
> OK
> /usr/bin/python test/test_PyLucene.py
> ..................
> ----------------------------------------------------------------------
> Ran 18 tests in 3.053s
>
> OK
> /usr/bin/python test/test_StopWords.py
> .
> ----------------------------------------------------------------------
> Ran 1 test in 0.003s
>
> OK
> /usr/bin/python test/test_Compress.py
> .
> ----------------------------------------------------------------------
> Ran 1 test in 0.266s
>
> OK
> /usr/bin/python test/test_CachingWrapperFilter.py
> .
> ----------------------------------------------------------------------
> Ran 1 test in 0.048s
>
> OK
> /usr/bin/python test/test_BooleanPrefixQuery.py
> .
> ----------------------------------------------------------------------
> Ran 1 test in 0.086s
>
> OK
> /usr/bin/python test/test_RangeFilter.py
> ...
> ----------------------------------------------------------------------
> Ran 3 tests in 0.411s
>
> OK
> /usr/bin/python test/test_BooleanQuery.py
> .
> ----------------------------------------------------------------------
> Ran 1 test in 0.002s
>
> OK
> /usr/bin/python test/test_Similarity.py
> .
> ----------------------------------------------------------------------
> Ran 1 test in 0.101s
>
> OK
> /usr/bin/python test/test_bug1564.py
> .
> ----------------------------------------------------------------------
> Ran 1 test in 0.097s
>
> OK
> /usr/bin/python test/test_RuntimeException.py
> .
> ----------------------------------------------------------------------
> Ran 1 test in 0.007s
>
> OK
> /usr/bin/python test/test_BooleanOr.py
> .....
> ----------------------------------------------------------------------
> Ran 5 tests in 0.113s
>
> OK
> /usr/bin/python test/test_DocBoost.py
> .
> ----------------------------------------------------------------------
> Ran 1 test in 0.089s
>
> OK
> /usr/bin/python test/test_Sort.py
> EEEEEEEEEEEE
> ======================================================================
> ERROR: testAutoSort (__main__.SortTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "test/test_Sort.py", line 385, in testAutoSort
>    self._assertMatches(self.full, self.queryX, sort, "IGAEC")
>  File "test/test_Sort.py", line 105, in _assertMatches
>    for hit in searcher.search(query, sort)])
> TypeError: Document<stored/uncompressed<tracer:I>>
>
> ======================================================================
> ERROR: testBuiltInSorts (__main__.SortTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "test/test_Sort.py", line 322, in testBuiltInSorts
>    self._assertMatches(self.full, self.queryX, sort, "ACEGI")
>  File "test/test_Sort.py", line 105, in _assertMatches
>    for hit in searcher.search(query, sort)])
> TypeError: Document<stored/uncompressed<tracer:A>>
>
> ======================================================================
> ERROR: testCustomSorts (__main__.SortTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "test/test_Sort.py", line 490, in testCustomSorts
>    self._assertMatches(self.full, self.queryX, sort, "CAIEG")
>  File "test/test_Sort.py", line 105, in _assertMatches
>    for hit in searcher.search(query, sort)])
> TypeError: Document<stored/uncompressed<tracer:C>>
>
> ======================================================================
> ERROR: testEmptyFieldSort (__main__.SortTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "test/test_Sort.py", line 433, in testEmptyFieldSort
>    self._assertMatches(self.full, self.queryF, sort, "ZJI")
>  File "test/test_Sort.py", line 105, in _assertMatches
>    for hit in searcher.search(query, sort)])
> TypeError: Document<stored/uncompressed<tracer:Z>>
>
> ======================================================================
> ERROR: testEmptyIndex (__main__.SortTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "test/test_Sort.py", line 359, in testEmptyIndex
>    self._assertMatches(empty, self.queryX, sort, "")
>  File "test/test_Sort.py", line 105, in _assertMatches
>    for hit in searcher.search(query, sort)])
> JavaError: java.lang.IndexOutOfBoundsException: Not a valid hit  
> number: 0
>    Java stacktrace:
> java.lang.IndexOutOfBoundsException: Not a valid hit number: 0
>    at org.apache.lucene.search.Hits.hitDoc(Hits.java:215)
>    at org.apache.lucene.search.Hits.doc(Hits.java:168)
>
>
> ======================================================================
> ERROR: testLocaleSort (__main__.SortTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "test/test_Sort.py", line 475, in testLocaleSort
>    self._assertMatches(self.full, self.queryX, sort, "AIGEC")
>  File "test/test_Sort.py", line 105, in _assertMatches
>    for hit in searcher.search(query, sort)])
> TypeError: Document<stored/uncompressed<tracer:A>>
>
> ======================================================================
> ERROR: testMultiSort (__main__.SortTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "test/test_Sort.py", line 508, in testMultiSort
>    self._runMultiSorts(searcher)
>  File "test/test_Sort.py", line 206, in _runMultiSorts
>    "[AB]{2}[CD]{2}[EF]{2}[GH]{2}[IJ]{2}")
>  File "test/test_Sort.py", line 116, in _assertMatchesPattern
>    for hit in searcher.search(query, sort)])
> TypeError: Document<stored/uncompressed<tracer:A>>
>
> ======================================================================
> ERROR: testNormalizedScores (__main__.SortTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "test/test_Sort.py", line 527, in testNormalizedScores
>    scoresX = self._getScores(full.search(self.queryX))
>  File "test/test_Sort.py", line 276, in _getScores
>    hit = Hit.cast_(hit)
> TypeError: Document<stored/uncompressed<tracer:A>>
>
> ======================================================================
> ERROR: testParallelMultiSort (__main__.SortTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "test/test_Sort.py", line 516, in testParallelMultiSort
>    self._runMultiSorts(searcher)
>  File "test/test_Sort.py", line 206, in _runMultiSorts
>    "[AB]{2}[CD]{2}[EF]{2}[GH]{2}[IJ]{2}")
>  File "test/test_Sort.py", line 116, in _assertMatchesPattern
>    for hit in searcher.search(query, sort)])
> TypeError: Document<stored/uncompressed<tracer:A>>
>
> ======================================================================
> ERROR: testReverseSort (__main__.SortTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "test/test_Sort.py", line 405, in testReverseSort
>    self._assertMatches(self.full, self.queryX, sort, "IEGCA")
>  File "test/test_Sort.py", line 105, in _assertMatches
>    for hit in searcher.search(query, sort)])
> TypeError: Document<stored/uncompressed<tracer:I>>
>
> ======================================================================
> ERROR: testSortCombos (__main__.SortTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "test/test_Sort.py", line 458, in testSortCombos
>    self._assertMatches(self.full, self.queryX, sort, "IGEAC")
>  File "test/test_Sort.py", line 105, in _assertMatches
>    for hit in searcher.search(query, sort)])
> TypeError: Document<stored/uncompressed<tracer:I>>
>
> ======================================================================
> ERROR: testTypedSort (__main__.SortTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "test/test_Sort.py", line 337, in testTypedSort
>    self._assertMatches(self.full, self.queryX, sort, "IGAEC")
>  File "test/test_Sort.py", line 105, in _assertMatches
>    for hit in searcher.search(query, sort)])
> TypeError: Document<stored/uncompressed<tracer:I>>
>
> ----------------------------------------------------------------------
> Ran 12 tests in 0.286s
>
> FAILED (errors=12)
> /usr/bin/python test/test_Not.py
> .
> ----------------------------------------------------------------------
> Ran 1 test in 0.099s
>
> OK
> /usr/bin/python test/test_PerFieldAnalyzerWrapper.py
> .
> ----------------------------------------------------------------------
> Ran 1 test in 0.002s
>
> OK
> /usr/bin/python test/test_Analyzers.py
> ...
> ----------------------------------------------------------------------
> Ran 3 tests in 0.003s
>
> OK
> make: *** [test] Error 123
>
> ===========================END===========================
>
>
> /tuxdna

Mime
View raw message