You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Benoit Chesneau (JIRA)" <ji...@apache.org> on 2012/11/05 08:44:12 UTC

[jira] [Commented] (COUCHDB-1591) CouchDB crashes on startup on OS X with a space in the an added .ini path

    [ https://issues.apache.org/jira/browse/COUCHDB-1591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13490489#comment-13490489 ] 

Benoit Chesneau commented on COUCHDB-1591:
------------------------------------------

I made some tests and the problem isn't in Erlang but in the couch shell script. 

$start_argument get:`/Users/benoitc/work/couchdb/etc/couchdb/default_dev.ini /Users/benoitc/work/couchdb/etc/couchdb/local_dev.ini ~/Library/Application'

and couch:

     ["/Users/benoitc/work/couchdb/etc/couchdb/default_dev.ini",
      "/Users/benoitc/work/couchdb/etc/couchdb/local_dev.ini",
      "/Users/benoitc/Library/Application"]

After passing "$@" to the  `parse_script_option_list` function and then getopt allows me to run the following command:

   ./utils/run -a "'~/Library/Application\ Support/test.ini'"

Note the ' in the string. Then on the erlang side the lists of ini is:

      ["/Users/benoitc/work/couchdb/etc/couchdb/default_dev.ini",
      "/Users/benoitc/work/couchdb/etc/couchdb/local_dev.ini",
      "/Users/benoitc/Library/Application Support/test.ini"]
                
> CouchDB crashes on startup on OS X with a space in the an added .ini path
> -------------------------------------------------------------------------
>
>                 Key: COUCHDB-1591
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1591
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>    Affects Versions: 1.2, 1.3
>            Reporter: Benoit Chesneau
>            Priority: Blocker
>
> Passing a path with a space in it doesn't work .
> Ticket created after ml discussion here:
> http://mail-archives.apache.org/mod_mbox/couchdb-user/201211.mbox/browser

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira