On Wed, 14 Nov 2007, Bill Janssen wrote:

But I still have the problem reflected in the stack trace with GDB:
the "value" being extracted is not of the Python type JavaError (it's
of the Python type "Throwable"), and doesn't have the method
"getJavaException", while the "exc" *is* of type JavaError.  Either
the code in PyErr_SetJavaError() isn't correct, or the code in
throwPythonError() isn't correct.

Quite possibly so. If your contention is correct, then change line 565 in functions.cpp to call 'getJavaException' on 'exc' instead of 'value'.

If you send me code that reproduces the problem, I can get to the bottom of this.

Andi..
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to