Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-1513

futon not working on mac install

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.2
    • Fix Version/s: None
    • Component/s: Futon
    • Labels:
      None
    • Environment:

      mac

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                leemr lee
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: