Hmmm.... works on Ubuntu Hardy.

$ python
Python 2.5.2 (r252:60911, Jul 22 2009, 15:33:10)
[GCC 4.2.4 (Ubuntu 4.2.4-1ubuntu3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from lucene import Document
>>> Document()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
RuntimeError: initVM() must be called first

Recommendation is for maintainer (or anyone who wishes) to upgrade PyLucene
to the most modern version. The current version is somewhat ancient and
relies on infrastructure like gcj that is starting to rot. New PyLucene will
be much more reliable but requires complete repackaging.

Reply via email to