Ticket #31 (defect)
Opened 4 years ago
Last modified 4 years ago
turbolucene does not (yet) work with PyLucene that has been compiled using JCC rather than GCJ
Status: new
| Reported by: | guest | Assigned to: | krys |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | TurboLucene | Version: | 0.2.2 |
| Keywords: | Cc: | ||
Part of this is that PyLucene using jcc is called 'lucene'. I edited the egg to change this + I removed the PythonThread? import (which is unneeded in JCC -- garbage collector is fine with regular threading.Thread's), but it is now complaining with the following error:
Python 2.5.1 (r251:54863, Oct 5 2007, 21:08:09) [GCC 4.0.1 (Apple Inc. build 5465)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import turbolucene Traceback (most recent call last):
File "<stdin>", line 1, in <module> File "/Library/Python/2.5/site-packages/TurboLucene-0.2.2-py2.5.egg/turbolucene/init.py", line 174, in <module> AttributeError?: type object 'Field$Store' has no attribute 'YES' >>> D
This is on OS X 10.5 Server after successfully compiling and installing PyLucene using jcc. I'll investigate further, but thought you might want to know.

modified .egg