> >>> goodstuff.initVM(classpath=lucene.CLASSPATH, maxheap='2000m',
> >>> env=lucene.getVMEnv())
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> TypeError: <jcc.JCCEnv object at 0xb7ed0240>
> >>>
Hmmm, when I think about it, there's no way this can work. The
comparison in jcc.cpp is
if (!PyObject_TypeCheck((PyObject *) jccenv, &JCCEnvType))
and PyObject_TypeCheck compares the two pointers for equality, but the
two different "JCCEnvType" variables are in two different shared
libraries. So they'll never match.
Bill
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev