Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 83851D692 for ; Mon, 5 Nov 2012 06:49:04 +0000 (UTC) Received: (qmail 56349 invoked by uid 500); 5 Nov 2012 06:49:03 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 56276 invoked by uid 500); 5 Nov 2012 06:49:02 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 56198 invoked by uid 99); 5 Nov 2012 06:49:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Nov 2012 06:49:00 +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 (nike.apache.org: domain of bchesneau@gmail.com designates 209.85.210.180 as permitted sender) Received: from [209.85.210.180] (HELO mail-ia0-f180.google.com) (209.85.210.180) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Nov 2012 06:48:54 +0000 Received: by mail-ia0-f180.google.com with SMTP id f6so3944964iag.11 for ; Sun, 04 Nov 2012 22:48:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=1oqNFdsCop3MdSvb+oUBg3hmIEZWq1DHrBHMMhjTKP8=; b=oYyNgOE1JU5VFVhhGvSCwcIcqxbEM/BQC/bBExWfIsLPetu6bpawGrlM17b1YRN7i+ U7S1qTNnF3+RiJ2efGipaYIuU4T58LoNnd7rLEB857AKOZ7T/iPrA86XQYPRjfgB5JR1 0MjAMC1s2zIJNgCyDrMFBTxnA9K7F6TwECWoeFehJK1eb59XSP6RadozjLSQpmlOR9O7 4b49908Z9HZ/MV4ajkz7OV1+XqqR8Z2s5W4vNUKVYtDUrBjSNTfbt9UErA1RgA7DQydO q9zpmAsswnfF1nUyiur95DWt31bE+ONbRR/W7G+I76BRCoDMCwn8yQ2IR3r6cZxgakjI XtRg== MIME-Version: 1.0 Received: by 10.50.209.71 with SMTP id mk7mr8573935igc.34.1352098113708; Sun, 04 Nov 2012 22:48:33 -0800 (PST) Received: by 10.64.77.196 with HTTP; Sun, 4 Nov 2012 22:48:33 -0800 (PST) In-Reply-To: References: <5C831BD7-7E60-4BA5-ACE9-04BCAF495FAD@couchbase.com> Date: Mon, 5 Nov 2012 07:48:33 +0100 Message-ID: Subject: Re: CouchDB crashes on startup on OS X with a space in the an added .ini path From: Benoit Chesneau To: "user@couchdb.apache.org" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Nov 5, 2012 at 6:23 AM, Dustin Sallings wrote: > Benoit Chesneau > writes: > >> Just checked and this is definitely an issue in couchdb: >> >> $ ./utils/run -a ~/Library/Application\ Support/test.ini >> inis ["/Users/benoitc/work/couchdb/etc/couchdb/default_dev.ini", >> "/Users/benoitc/work/couchdb/etc/couchdb/local_dev.ini", >> "/Users/benoitc/Library/Application"] >> >> Maybe an issue when passing the configuration to Erlang, the path may >> not be encoded. I will have a look on that after the breakfast. > > > I fixed this issue a few times in the past, though I'm not sure the > current state. I'll see if I can isolate the individual changes that > helped. I believe it was mostly these three changes (in "git am" > format): > > > http://pastebin.com/HqdvhLm0 > http://pastebin.com/09zGsYsK > http://pastebin.com/sDaYKcYm > > > -- > dustin > Thanks the third one is more appropriate , it helps to figure what is the problem. Unnfortunately the option parsing has changed too much to just take your patch :) Quoytin $@ on last line of the script make the option appear. Now I need to figure how to shift at the right position in the loop of parse_script_option_list. Maybe you can help on that one? - beno=EEt