Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D424BDD9B for ; Tue, 18 Sep 2012 11:40:37 +0000 (UTC) Received: (qmail 96431 invoked by uid 500); 18 Sep 2012 11:40:36 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 96182 invoked by uid 500); 18 Sep 2012 11:40:35 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 96160 invoked by uid 99); 18 Sep 2012 11:40:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2012 11:40:34 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rcmuir@gmail.com designates 209.85.212.48 as permitted sender) Received: from [209.85.212.48] (HELO mail-vb0-f48.google.com) (209.85.212.48) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2012 11:40:30 +0000 Received: by vbme21 with SMTP id e21so8662728vbm.35 for ; Tue, 18 Sep 2012 04:40:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=z6IyaCY+PlR7N2b9qZUcX1L1in6xxfMlCkB5xXv5hqQ=; b=W7+xXgba9RUsE8wjsyH9P9o87e8h3HDNvLQwJygMYICiJhKIM5tWMWnp7WXeaHhz9K E9iqhvvp0xBx8tXk8kzuVWEVCOoY3rBKZqSRdEGRqoe7w3sEm4ZeHdbWgZTT+Mg/AnHb NYgEWIfCMnaBaVzww/OggRDvst4EQXnIxpdWWolTOfnqo4GcjgrihHxw62Ht92EPn7VD vFyqmvOZAeI0Vm8eaDjKYRklTgWn4eWXCXlCSDMFOrdeQLNU/lfMjST0cFXwvYTdnoRe /fr6DmqzZuJQ0HVQOU3aMZBwdF2PcLryc+iig13WxBhMUyqpjnSJRLJJWEAgOs7LspVb PAQg== Received: by 10.221.1.137 with SMTP id nq9mr9252046vcb.16.1347968409271; Tue, 18 Sep 2012 04:40:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.239.14 with HTTP; Tue, 18 Sep 2012 04:39:48 -0700 (PDT) In-Reply-To: References: From: Robert Muir Date: Tue, 18 Sep 2012 07:39:48 -0400 Message-ID: Subject: Re: "ant precommit" can't find python To: dev@lucene.apache.org Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org yes you need python3, unfortunately the scripts dont work with python2. I'm not sure what help we could give besides the message already given... for the mac i installed the binary package from http://python.org/download/ On Tue, Sep 18, 2012 at 7:30 AM, Erick Erickson wrote: > I tried running "ant precommit" on my machine and get this after it > cranks away for a while: > > > /Users/Erick/apache/4x/build.xml:59: The following error occurred > while executing this line: > /Users/Erick/apache/4x/lucene/build.xml:230: The following error > occurred while executing this line: > /Users/Erick/apache/4x/lucene/common-build.xml:1802: Execute failed: > java.io.IOException: Cannot run program "python3.2" (in directory > "/Users/Erick/apache/4x/lucene"): error=2, No such file or directory > at java.lang.ProcessBuilder.start(ProcessBuilder.java:460) > at java.lang.Runtime.exec(Runtime.java:593) > . > . > . > > It appears that I have python 2.6 hanging around on my machine, but > I've never used it, so haven't set up anything, and it's the wrong > version anyway. > > Can we add a check for python existing up-front and maybe print a > helpful message (I'm thinking something like ivy-bootstrap)? I'm > guessing that actually having the executable in 4x/lucene isn't the > best solution and I should have an env variable somewhere? > > Erick > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org > For additional commands, e-mail: dev-help@lucene.apache.org > -- lucidworks.com --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org