Andi Vajda wrote:
> 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.
I'll prepare a test case tomorrow. Thanks again!
Christian
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
On Mon, 9 Mar 2009, Aaron Lav wrote:
It looks to me as if the shipped PythonQueryParser (for overriding
query parsing with Python code) only overrides the getBooleanQuery(Vector),
but that just calls getBooleanQuery(List,boolean), which is the function
which actually does the work (in the curre
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
On Mon, 9 Mar 2009, Christian Heimes wrote:
public native void pythonDecRef();
public native void processTextPosition( TextPosition text );
public native void startDocument(PDDocument pdf);
public native void startPage(PDPage page);
}
pdfbox.initVM(classpath=pdfbox.CLASSPATH)
cl
It looks to me as if the shipped PythonQueryParser (for overriding
query parsing with Python code) only overrides the getBooleanQuery(Vector),
but that just calls getBooleanQuery(List,boolean), which is the function
which actually does the work (in the current version of Lucene).
I've attached a p
Andi Vajda wrote
> > After both these fixes, I was able to build wrappers for pdfbox:
> >
> > >>> from pdfbox import *
> > >>> initVM(CLASSPATH, vmargs='-Djava.awt.headless=true')
> >
> > >>>
> >
> > This is all checked into rev 751772.
> >
> > Please let me know if this works for you, I'd
On Sat, 28 Feb 2009, Christian Heimes wrote:
Christian Heimes wrote:
Thanks Andi! Your proposed solution worked like a charm and the file
compiles. However the next file breaks with another error. This time it
didn't help to add "operator" to the list of RES
Follow up:
Apparently JCC doesn't
On Mon, 9 Mar 2009, Bill Janssen wrote:
I just spent some time tracking down a core dump in a big Python
program, in PyLucene, till I figured out that the thread making the call
had never been registered as a Java thread (the code at some interim
calling frame changed till it suddenly was calli
I just spent some time tracking down a core dump in a big Python
program, in PyLucene, till I figured out that the thread making the call
had never been registered as a Java thread (the code at some interim
calling frame changed till it suddenly was calling into Java).
Is there some way to make th
10 matches
Mail list logo