lucene-pylucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andi Vajda <va...@apache.org>
Subject Re: Installing PyLucene
Date Thu, 05 Jan 2017 17:03:00 GMT

> On Jan 5, 2017, at 08:57, marco turchi <marco.turchi@gmail.com> wrote:
> 
> Done! all testes passed!

Excellent !

> 
> thanks a lot!
> Marco
> 
>> On Thu, Jan 5, 2017 at 5:21 PM, Andi Vajda <vajda@apache.org> wrote:
>> 
>> 
>>> On Jan 5, 2017, at 07:27, marco turchi <marco.turchi@gmail.com> wrote:
>>> 
>>> Perfect!!!
>>> 
>>> For now, I keep the version as it is. I'll try later to install jcc with
>>> --shared flag, because I'm not sure if the patch for the setuptools
>>> requires root access.
>> 
>> Your JCC install is fine. It's PyLucene that needs to be rebuilt by adding
>> a --shared arg to its jcc invocation command line in its Makefile. No
>> setuptools patching necessary.
>> 
>> Andi..
>> 
>>> 
>>> Thanks a lot for your help!
>>> Marco
>>> 
>>>> On Thu, Jan 5, 2017 at 2:27 AM, Andi Vajda <vajda@apache.org> wrote:
>>>> 
>>>> 
>>>>> On Jan 4, 2017, at 13:51, marco turchi <marco.turchi@gmail.com>
wrote:
>>>>> 
>>>>> No I didn't.
>>>>> 
>>>>> I have run the codes in sample and they work. For my project the
>>>>> functionalities in the samples are enough. If necessary I can recompile
>>>> jcc
>>>>> with --shared. What do you suggest?
>>>> 
>>>> If you don't use --shared then the jcc that is linked into PyLucene is
>> not
>>>> running shared mode and the test failure you're seeing is due to that.
>>>> 
>>>> It's easy enough to rebuild PyLucene with --shared.
>>>> Up to you !
>>>> 
>>>> Andi..
>>>> 
>>>>> 
>>>>> Best
>>>>> Marco
>>>>> 
>>>>> 
>>>>> Il 04 Gen 2017 19:42, "Andi Vajda" <vajda@apache.org> ha scritto:
>>>>> 
>>>>> 
>>>>>> On Jan 4, 2017, at 04:24, marco turchi <marco.turchi@gmail.com>
>> wrote:
>>>>>> 
>>>>>> Dear Andi and Thomas,
>>>>>> following your advice I have removed the Windows error.
>>>>>> 
>>>>>> I still have this
>>>>>> 
>>>>>> ERROR: testThroughLayerException (__main__.PythonExceptionTestCase)
>>>>>> 
>>>>>> To answer Andi, I have printed the config.SHARED just before the
error
>>>> and
>>>>>> the output is true, in my opinion, showing that the shared mode is
>>>> enabled
>>>>>> when running tests. Is this that you were mentioning in your email?
>>>>> 
>>>>> When you built PyLucene did you include --shared on the jcc invocation
>>>>> command line ?
>>>>> 
>>>>> Andi..
>>>>> 
>>>>>> 
>>>>>> Thanks a lot for your help!
>>>>>> Marco
>>>>>> 
>>>>>> 
>>>>>> On Wed, Jan 4, 2017 at 10:59 AM, Petrus Hyvönen <
>>>> petrus.hyvonen@gmail.com>
>>>>>> wrote:
>>>>>> 
>>>>>>> Dear Thomas,
>>>>>>> 
>>>>>>> I would be very interested in a python 3 port of JCC. I am not
a very
>>>>>>> skilled developer, looked at starting a development based on
the old
>>>>>>> python-3 version but it's beyond my current skills.
>>>>>>> 
>>>>>>> I would be happy to help and test and review the JCC patches,
I think
>>>>> your
>>>>>>> patches would be a valuable contribution to JCC.
>>>>>>> 
>>>>>>> With Best Regards
>>>>>>> /Petrus
>>>>>>> 
>>>>>>> 
>>>>>>> On Wed, Jan 4, 2017 at 9:13 AM, Thomas Koch <koch@orbiteam.de>
>> wrote:
>>>>>>> 
>>>>>>>>> NameError: global name 'WindowsError' is not defined
>>>>>>>> 
>>>>>>>> Note that PyLucene currently lacks official Python3 support!
>>>>>>>> We've done a port of PyLucene 3.6 (!) to support Python3
and offered
>>>> the
>>>>>>>> patches needed to JCC and PyLucene for use/review on the
list - but
>>>>>>> didn't
>>>>>>>> get any feedback so far.
>>>>>>>> cf. https://www.mail-archive.com/pylucene-dev@lucene.apache.
>>>>>>>> org/msg02167.html <https://www.mail-archive.com/
>>>>>>>> pylucene-dev@lucene.apache.org/msg02167.html>
>>>>>>>> 
>>>>>>>> Regards,
>>>>>>>> Thomas
>>>>>>>> 
>>>>>>> --
>>>>>>> _____________________________________________
>>>>>>> Petrus Hyvönen, Uppsala, Sweden
>>>>>>> Mobile Phone/SMS:+46 73 803 19 00
>>>>>>> 
>>>> 
>>>> 
>> 
>> 


Mime
View raw message