Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id CF32F200BF3 for ; Thu, 5 Jan 2017 18:03:04 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id CDDCF160B33; Thu, 5 Jan 2017 17:03:04 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 215CC160B26 for ; Thu, 5 Jan 2017 18:03:03 +0100 (CET) Received: (qmail 63267 invoked by uid 500); 5 Jan 2017 17:03:03 -0000 Mailing-List: contact pylucene-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: pylucene-dev@lucene.apache.org Delivered-To: mailing list pylucene-dev@lucene.apache.org Received: (qmail 63252 invoked by uid 99); 5 Jan 2017 17:03:03 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jan 2017 17:03:03 +0000 Received: from [192.168.0.3] (ovaltofu.org [50.0.193.30]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id A90501A02F0 for ; Thu, 5 Jan 2017 17:03:02 +0000 (UTC) From: Andi Vajda Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Date: Thu, 5 Jan 2017 09:03:00 -0800 Subject: Re: Installing PyLucene Message-Id: References: <98964B54-E4FE-4392-89D3-0D736A99346A@orbiteam.de> <3EDB9438-7276-460A-BF42-3502C38A716A@apache.org> <1D6D636D-9BA1-46F0-B5B8-E1FB3863AF63@apache.org> In-Reply-To: To: pylucene-dev@lucene.apache.org X-Mailer: iPhone Mail (14C92) archived-at: Thu, 05 Jan 2017 17:03:05 -0000 > On Jan 5, 2017, at 08:57, marco turchi wrote: >=20 > Done! all testes passed! Excellent ! >=20 > thanks a lot! > Marco >=20 >> On Thu, Jan 5, 2017 at 5:21 PM, Andi Vajda wrote: >>=20 >>=20 >>> On Jan 5, 2017, at 07:27, marco turchi wrote: >>>=20 >>> Perfect!!! >>>=20 >>> 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. >>=20 >> Your JCC install is fine. It's PyLucene that needs to be rebuilt by addin= g >> a --shared arg to its jcc invocation command line in its Makefile. No >> setuptools patching necessary. >>=20 >> Andi.. >>=20 >>>=20 >>> Thanks a lot for your help! >>> Marco >>>=20 >>>> On Thu, Jan 5, 2017 at 2:27 AM, Andi Vajda wrote: >>>>=20 >>>>=20 >>>>> On Jan 4, 2017, at 13:51, marco turchi wrote:= >>>>>=20 >>>>> No I didn't. >>>>>=20 >>>>> I have run the codes in sample and they work. For my project the >>>>> functionalities in the samples are enough. If necessary I can recompil= e >>>> jcc >>>>> with --shared. What do you suggest? >>>>=20 >>>> 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. >>>>=20 >>>> It's easy enough to rebuild PyLucene with --shared. >>>> Up to you ! >>>>=20 >>>> Andi.. >>>>=20 >>>>>=20 >>>>> Best >>>>> Marco >>>>>=20 >>>>>=20 >>>>> Il 04 Gen 2017 19:42, "Andi Vajda" ha scritto: >>>>>=20 >>>>>=20 >>>>>> On Jan 4, 2017, at 04:24, marco turchi >> wrote: >>>>>>=20 >>>>>> Dear Andi and Thomas, >>>>>> following your advice I have removed the Windows error. >>>>>>=20 >>>>>> I still have this >>>>>>=20 >>>>>> ERROR: testThroughLayerException (__main__.PythonExceptionTestCase) >>>>>>=20 >>>>>> To answer Andi, I have printed the config.SHARED just before the erro= r >>>> 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? >>>>>=20 >>>>> When you built PyLucene did you include --shared on the jcc invocation= >>>>> command line ? >>>>>=20 >>>>> Andi.. >>>>>=20 >>>>>>=20 >>>>>> Thanks a lot for your help! >>>>>> Marco >>>>>>=20 >>>>>>=20 >>>>>> On Wed, Jan 4, 2017 at 10:59 AM, Petrus Hyv=C3=B6nen < >>>> petrus.hyvonen@gmail.com> >>>>>> wrote: >>>>>>=20 >>>>>>> Dear Thomas, >>>>>>>=20 >>>>>>> I would be very interested in a python 3 port of JCC. I am not a ver= y >>>>>>> skilled developer, looked at starting a development based on the old= >>>>>>> python-3 version but it's beyond my current skills. >>>>>>>=20 >>>>>>> I would be happy to help and test and review the JCC patches, I thin= k >>>>> your >>>>>>> patches would be a valuable contribution to JCC. >>>>>>>=20 >>>>>>> With Best Regards >>>>>>> /Petrus >>>>>>>=20 >>>>>>>=20 >>>>>>> On Wed, Jan 4, 2017 at 9:13 AM, Thomas Koch >> wrote: >>>>>>>=20 >>>>>>>>> NameError: global name 'WindowsError' is not defined >>>>>>>>=20 >>>>>>>> Note that PyLucene currently lacks official Python3 support! >>>>>>>> We've done a port of PyLucene 3.6 (!) to support Python3 and offere= d >>>> 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 >>>>>>> pylucene-dev@lucene.apache.org/msg02167.html> >>>>>>>>=20 >>>>>>>> Regards, >>>>>>>> Thomas >>>>>>>>=20 >>>>>>> -- >>>>>>> _____________________________________________ >>>>>>> Petrus Hyv=C3=B6nen, Uppsala, Sweden >>>>>>> Mobile Phone/SMS:+46 73 803 19 00 >>>>>>>=20 >>>>=20 >>>>=20 >>=20 >>=20