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

Robert Newson commented on COUCHDB-1513:
----------------------------------------

The bug is in Erlang/OTP itself, which is where the fix should also appear. 
Perhaps a workaround would be to allow the timezone to be configured via .ini, 
defaulting to UTC? This is for Date response headers and the timestamps in the 
log and replication checkpoint documents.

                
> futon not working on mac install
> --------------------------------
>
>                 Key: COUCHDB-1513
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1513
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Futon
>    Affects Versions: 1.2
>         Environment: mac
>            Reporter: lee
>
> I just upgraded my mac laptop.  I was running 1.1.1 and was happy to see 
> there was a package for 1.2.
> My laptop has nothing else installed (except chrome, ...).  I downloaded 1.2 
> and unzipped it.
> When i double click on the server, it starts but the futon page responds with:
> {"error":"unknown_error","reason":"badarg"}
> If i go to http://127.0.0.1:5984/_all_dbs/ i get:
> ["_replicator","_users"]
> So i know the server is up and running.
> When i open the logs, there seems to be a reference to /Users/hs/....  Here 
> is the log dump from just starting the server.
> (I did a search and did not find any references to /User/hs on google or 
> jira, hopefully i am not duplicating a bug!)
> Launching '/Applications/CouchDB 
> Server.app/Contents/Resources/couchdbx-core/bin/couchdb'
> Eshell V5.9  (abort with ^G)
> Apache CouchDB 1.2.0 (LogLevel=info) is starting.
> Apache CouchDB has started. Time to relax.
> [info] [<0.35.0>] Apache CouchDB has started on http://127.0.0.1:5984/
> [info] [<0.128.0>] 127.0.0.1 - - GET /_utils/ 200
> [error] [<0.128.0>] Badarg error in HTTP request
> [info] [<0.128.0>] Stacktrace: [{erlang,localtime_to_universaltime,
>                                  [{{2012,6,15},{2,44,25}},true],
>                                  []},
>                                 {calendar,local_time_to_universal_time_dst,1,
>                                  [{file,"calendar.erl"},{line,282}]},
>                                 {httpd_util,rfc1123_date,1,
>                                  [{file,"httpd_util.erl"},{line,344}]},
>                                 {mochiweb_request,maybe_serve_file,3,
>                                  [{file,
>                                    
> "/Users/hs/prj/build-couchdb/dependencies/couchdb/src/mochiweb/mochiweb_request.erl"},
>                                   {line,605}]},
>                                 {couch_httpd,serve_file,4,
>                                  [{file,
>                                    
> "/Users/hs/prj/build-couchdb/dependencies/couchdb/src/couchdb/couch_httpd.erl"},
>                                   {line,451}]},
>                                 {couch_httpd,handle_request_int,5,
>                                  [{file,
>                                    
> "/Users/hs/prj/build-couchdb/dependencies/couchdb/src/couchdb/couch_httpd.erl"},
>                                   {line,317}]},
>                                 {mochiweb_http,headers,5,
>                                  [{file,
>                                    
> "/Users/hs/prj/build-couchdb/dependencies/couchdb/src/mochiweb/mochiweb_http.erl"},
>                                   {line,136}]},
>                                 {proc_lib,init_p_do_apply,3,
>                                  [{file,"proc_lib.erl"},{line,227}]}]
> [error] [<0.128.0>] Uncaught server error: badarg
> [info] [<0.128.0>] 127.0.0.1 - - GET /_utils/ 500
> [error] [<0.128.0>] Badarg error in HTTP request
> [info] [<0.128.0>] Stacktrace: [{erlang,localtime_to_universaltime,
>                                  [{{2013,7,12},{21,45,30}},true],
>                                  []},
>                                 {calendar,local_time_to_universal_time_dst,1,
>                                  [{file,"calendar.erl"},{line,282}]},
>                                 {httpd_util,rfc1123_date,1,
>                                  [{file,"httpd_util.erl"},{line,344}]},
>                                 {couch_httpd_misc_handlers,
>                                  handle_favicon_req,2,
>                                  [{file,
>                                    
> "/Users/hs/prj/build-couchdb/dependencies/couchdb/src/couchdb/couch_httpd_misc_handlers.erl"},
>                                   {line,46}]},
>                                 {couch_httpd,handle_request_int,5,
>                                  [{file,
>                                    
> "/Users/hs/prj/build-couchdb/dependencies/couchdb/src/couchdb/couch_httpd.erl"},
>                                   {line,317}]},
>                                 {mochiweb_http,headers,5,
>                                  [{file,
>                                    
> "/Users/hs/prj/build-couchdb/dependencies/couchdb/src/mochiweb/mochiweb_http.erl"},
>                                   {line,136}]},
>                                 {proc_lib,init_p_do_apply,3,
>                                  [{file,"proc_lib.erl"},{line,227}]}]
> [error] [<0.128.0>] Uncaught server error: badarg
> [info] [<0.128.0>] 127.0.0.1 - - GET /favicon.ico 500
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to