[pylucene-dev] "Access violation" crash, subversion problems

Andrzej Bialecki ab at getopt.org
Fri Jun 25 04:29:06 PDT 2004


Hello,

I'm running PyLucene on Windows, Python 2.3.1 + win32all. I'm getting an
access violation when executing the following script, somewhere half-way
through the printing of the results:

from PyLucene import *

dir = FSDirectory.getDirectory("e:/test1/index", False)
q = QueryParser.parse("ref:file", "body", StandardAnalyzer())
searcher = IndexSearcher(dir)
hits = searcher.search(q)
for i in range(0, hits.length() - 1):
    doc = hits.doc(i)
    f = doc.get("ref")
    print f

I can provide the index in question if someone needs it for debugging.
It contains latin1 and UTF-8 strings in the field values.

I'm also trying, unsuccessfully, to check out the sources from the 
repository. I downloaded RapidSVN, and I've tried all combinations of 
{http,svn}://svn.osafoundation.org/pylucene to no avail. Either it 
responds with an error "PROPFIND of '/pylucene': 301 Moved permanently" 
(using http), or "Can't connect to host" if using "svn". Any hints?

-- 
Best regards,
Andrzej Bialecki

-------------------------------------------------
Software Architect, System Integration Specialist
CEN/ISSS EC Workshop, ECIMF project chair
EU FP6 E-Commerce Expert/Evaluator
-------------------------------------------------
FreeBSD developer (http://www.freebsd.org)



More information about the pylucene-dev mailing list