Ticket #33 (defect)

Opened 2 years ago

Last modified 2 years ago

Not import PyLucene

Status: new

Reported by: guest Assigned to: krys
Priority: critical Milestone:
Component: TurboLucene Version: 0.2.2
Keywords: Cc:

Install PyLucene and then install Turbolucene. Throw error when installing that there Pylucene. It is actually installed as lucene. Edit the init.py in which he said PyLucene by lucene, but throws this error:

G:\Solr\Turbolucene>python setup.py install G:\Solr\Turbolucene\setuptools-0.6c9-py2.5.egg\setuptools\command\sdist.py:4: Us erWarning: Module toscawidgets was already imported from g:\turbogears-academia\ trabajo ian full time\extras\foro\toscawidgets\init.pyc, but g:\turbogears-a cademia\trabajo ian full time\extras\twcurrencylabel is being added to sys.path

import os, re, sys, pkg_resources Traceback (most recent call last): File "setup.py", line 45, in <module>

import turbolucene

File "G:\Solr\Turbolucene\turbolucene\init.py", line 215, in <module>

from lucene import (PythonThread?, IndexModifier?, JavaError?, Term, ImportError?: cannot import name PythonThread?

What's changed init.py

#--- Third-party imports # import PyLucene import lucene

# from PyLucene import (PythonThread?, IndexModifier?, JavaError?, Term, # IndexSearcher?, MultiFieldQueryParser?, FSDirectory) from lucene import (PythonThread?, IndexModifier?, JavaError?, Term, IndexSearcher?, MultiFieldQueryParser?, FSDirectory) # For use in make_document # from PyLucene import Document, Field from lucene import Document, Field

Change History

09/17/09 22:46:06: Modified by guest

my email "hugotruffegm@gmail.com". Moreover, it is walking the mailing list