couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Will Perry (JIRA)" <>
Subject [jira] [Commented] (COUCHDB-1936) First inifile section ignored if at first line of file
Date Mon, 18 Nov 2013 18:23:22 GMT


Will Perry commented on COUCHDB-1936:

I don't have a dev environment, and can't find a `utils` directory or `run` script/executable
in the windows install dir. 

I've zipped up a copy of my ini file from before and after a boot here:

Is there anything else I can do to help narrow-down or repro this issue? I can provide you
with (temp) access to a Windows VM in the cloud to reproduce and debug on if that's helpful!

> First inifile section ignored if at first line of file
> ------------------------------------------------------
>                 Key: COUCHDB-1936
>                 URL:
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>            Reporter: Will Perry
> If local.ini does not have a blank/comment as it's first line, then config settings in
the first section are ignored.
> Imagine:
> [couchdb]\n
> uuid=fafaad266ad7c9ea492a2f857a699738\n
> If this ini file is used, and couchdb is booted, a new UUID config setting will be created,
> [couchdb]\n
> uuid=fafaad266ad7c9ea492a2f857a699738\n
> \n
> [couchdb]\n
> uuid=123412341234123412341234123412\n
> However, if the first line in the file is **not** a section start (i.e., a comment or
a new line) then this issue does not occur:
> ; this is a comment\n
> [couchdb]\n
> uuid=fafaad266ad7c9ea492a2f857a699738\n

This message was sent by Atlassian JIRA

View raw message