On Mon, 9 Mar 2009, Christian Heimes wrote:

Andi Vajda wrote:
At first quick glance, you declare a native startPage method but your
python class is not implementing it. On the other hand, it has a
startArticle method.

Oh, you are right. But that doesn't fix the issue. It's still failing
with the error message "SystemError: NULL result without error in
PyObject_Call". I adde some System.out.println() calls to the Java code.
The error is caused by "startDocument(document);".

Do you have some tips how to debug the code?

Something's not setup right and the error is not properly reported.
To debug this, I'd use gdb to step through the code.
If you send me a self-contained test case that reproduces this, I can give it a try.

Andi..

Reply via email to