Darren Govoni schrieb:
Ok, thanks. Let me try that. I read the README, but am new to PyLucene and don't understand all of the docs just yet. But I'm learning!
In my TG app I fixed quite some crashing problems by doing this before every lucene operation: def init_lucene(): vm_env = lucene.getVMEnv() if vm_env == None: vm_env = lucene.initVM(lucene.CLASSPATH) assert vm_env != None vm_env.attachCurrentThread() Of course a more elegant solution would be to call this only for every new thread but I could find a way doing that in TG easily. fs PS: Please don't top post and don't use fullquote - please :-) _______________________________________________ pylucene-dev mailing list pylucene-dev@osafoundation.org http://lists.osafoundation.org/mailman/listinfo/pylucene-dev