Return-Path: X-Original-To: apmail-lucene-pylucene-dev-archive@minotaur.apache.org Delivered-To: apmail-lucene-pylucene-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D6B159540 for ; Tue, 12 Mar 2013 11:16:54 +0000 (UTC) Received: (qmail 95962 invoked by uid 500); 12 Mar 2013 11:16:54 -0000 Delivered-To: apmail-lucene-pylucene-dev-archive@lucene.apache.org Received: (qmail 95828 invoked by uid 500); 12 Mar 2013 11:16:54 -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 95732 invoked by uid 99); 12 Mar 2013 11:16:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Mar 2013 11:16:53 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [50.0.193.30] (HELO ovaltofu.org) (50.0.193.30) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Mar 2013 11:16:48 +0000 Received: from [10.125.2.145] (smb-rsycl-03.wifihubtelecom.net [213.174.124.179]) (authenticated bits=0) by ovaltofu.org (8.14.4/8.14.4) with ESMTP id r2CBGNo5027948 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Tue, 12 Mar 2013 04:16:25 -0700 (PDT) Subject: Re: initVM segmentation fault References: <69BBFFF9-6DFB-4F6F-99C2-601D343ED847@apache.org> From: Andi Vajda Content-Type: text/plain; charset=us-ascii X-Mailer: iPhone Mail (10B146) In-Reply-To: Message-Id: Date: Tue, 12 Mar 2013 12:15:20 +0100 To: "pylucene-dev@lucene.apache.org" Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (1.0) X-Virus-Checked: Checked by ClamAV on apache.org On Mar 12, 2013, at 12:10, Jeune Asuncion wrote: > Hi Andi, > > Thanks for getting back. I got it resolved already by just compiling from > source the files from the download page. The JCC and pylucene on the box > were installed separately from Fedora16 repositories and it seems like they > are broken somewhat. Excellent ! Andi.. > > Jeune > On Mar 12, 2013 7:07 PM, "Andi Vajda" wrote: > >> >> On Mar 12, 2013, at 2:51, Jeune Asuncion wrote: >> >>> Dear *Pylucene*, >>> >>> I am trying to run pylucene on my Fedora box but I get a segmentation >> fault >>> when I do so. I was able to trace the cause of this error to initVM(). >>> >>> In the Python interpreter when I execute the lines of code below I get >> the >>> segmentation fault: >>> >>>>>> import lucene >>>>>> lucene.initVM() >>> Segmentation fault >>> >>> I thought this was because jcc isn't installed because I have pylucene >>> installed on another box and it returns a jcc object. However, I have jcc >>> installed as well on the box where lucene.initVM() isn't working: >>> >>>>>> import jcc >>>>>> jcc.initVM() >>> >>> >>> Would like to get some pointers as to why this is happening. >> >> Did you build PyLucene and JCC on this box ? >> >> Andi.. >> >> >>> >>> Thanks, >>> >>> Jeune >>