Sorry for being late for the feedbak,

Here is what i get:


SystemError: NULL result without error in PyObject_Call.

The same error when removing the init statement using the latest release of 
pylucene.

Thanks.
Adil :)






________________________________
De : Andi Vajda <va...@apache.org>
À : pylucene-dev@lucene.apache.org
Envoyé le : Jeu 8 Octobre 2009, 18 h 13 min 08 s
Objet : Re: Re : PyLucene: SystemError: NULL result without error in 
PyObject_Call


On Thu, 8 Oct 2009, Adil Zaaraoui wrote:

> Now it works.
>
> The problem was that i was trying to instantiate the lucene StandardAnalyser 
> object without initializing the VM classpath; so before instantiating the 
> object i added this statement:
> lucene.initVM(lucene.CLASSPATH).

Did the new version give you a better error message ?

Andi..

>
> Many thanks
>
>
>
>
> ________________________________
> De : Andi Vajda <va...@apache.org>
> À : pylucene-dev@lucene.apache.org
> Envoyé le : Mer 7 Octobre 2009, 18 h 29 min 51 s
> Objet : Re: PyLucene: SystemError: NULL result without error in PyObject_Call
>
>
> On Wed, 7 Oct 2009, Adil Zaaraoui wrote:
>
>> I'm trying to test indexing documents using PyLucene; I tried the file 
>> IndexFiles.py from pylucene samples 
>> (http://svn.apache.org/viewvc/lucene/pylucene/trunk/samples/IndexFiles.py?view=markup).
>>  When runing the IndexFiles("/tmp/indexing", "index", 
>> lucene.StandardAnalyzer()) i get the following error:
>
> It works fine for me here.
> How did you invoke the program ?
> I did:
>  $ python samples/IndexFiles.py /Users/vajda
>
> You might want to try the latest from svn trunk, I fixed a bug there where
> "SystemError: NULL result without error in PyObject_Call" was reported 
> instead of the actual error message.
>
> Andi..

__________________________________________________
Do You Yahoo!?
En finir avec le spam? Yahoo! Mail vous offre la meilleure protection possible 
contre les messages non sollicités 
http://mail.yahoo.fr Yahoo! Mail 

Reply via email to