[Wed, 21 Nov 2012 12:04:48 GMT] [debug] [<0.3011.0>] 'PUT' /temp/_design/ddoc/_update/doc {1,1} from "127.0.0.1" Headers: [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8,application/json"}, {'Accept-Encoding',"gzip, deflate"}, {'Accept-Language',"null"}, {'Connection',"keep-alive"}, {'Content-Length',"0"}, {'Content-Type',"text/plain; charset=UTF-8"}, {'Cookie',"m=34e2:|2c69:t|18c3:t|ca3:t|3247:t|5acb:t|77cb:t|4a01:t|5be5:t|64b8:t|1da9:t|2a03:t; AuthSession="}, {"Dnt","1"}, {'Host',"localhost:5984"}, {'User-Agent',"Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20100101 Firefox/16.0"}] [Wed, 21 Nov 2012 12:04:48 GMT] [debug] [<0.3011.0>] OAuth Params: [] [Wed, 21 Nov 2012 12:04:48 GMT] [debug] [<0.2969.0>] DDocProc found for DDocKey: {<<"_design/ddoc">>, <<"3-bd6c6c4e7a44865af1fad8651c30765d">>} [Wed, 21 Nov 2012 12:04:48 GMT] [debug] [<0.3028.0>] OS Process #Port<0.12633> Input :: ["reset",{"reduce_limit":true,"timeout":5000}] [Wed, 21 Nov 2012 12:04:48 GMT] [debug] [<0.3028.0>] OS Process #Port<0.12633> Output :: true [Wed, 21 Nov 2012 12:04:48 GMT] [debug] [<0.3028.0>] OS Process #Port<0.12633> Input :: ["ddoc","_design/ddoc",["updates","doc"],[null,{"info":{"db_name":"temp","doc_count":13,"doc_del_count":0,"update_seq":15,"purge_seq":0,"compact_running":false,"disk_size":28204,"data_size":2312,"instance_start_time":"1353499488327763","disk_format_version":6,"committed_update_seq":9},"id":null,"uuid":"bf6b2fe861245f404621e901c55a989c","method":"PUT","requested_path":["temp","_design","ddoc","_update","doc"],"path":["temp","_design","ddoc","_update","doc"],"raw_path":"/temp/_design/ddoc/_update/doc","query":{},"headers":{"Accept":"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8,application/json","Accept-Encoding":"gzip, deflate","Accept-Language":"null","Connection":"keep-alive","Content-Length":"0","Content-Type":"text/plain; charset=UTF-8","Cookie":"m=34e2:|2c69:t|18c3:t|ca3:t|3247:t|5acb:t|77cb:t|4a01:t|5be5:t|64b8:t|1da9:t|2a03:t; AuthSession=","Dnt":"1","Host":"localhost:5984","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20100101 Firefox/16.0"},"body":"","peer":"127.0.0.1","form":{},"cookie":{"m":"34e2","AuthSession":""},"userCtx":{"db":"temp","name":null,"roles":["_admin"]},"secObj":{}}]] [Wed, 21 Nov 2012 12:04:48 GMT] [debug] [<0.3028.0>] OS Process #Port<0.12633> Output :: ["up",{"_id":"bf6b2fe861245f404621e901c55a989c"},{"code":201,"json":{"status":"ok"}}] [Wed, 21 Nov 2012 12:04:48 GMT] [error] [<0.3011.0>] Uncaught error in HTTP request: {error, {badmatch, [{<<"code">>,201}, {<<"json">>, {[{<<"status">>, <<"ok">>}]}}]}} [Wed, 21 Nov 2012 12:04:48 GMT] [info] [<0.3011.0>] Stacktrace: [{couch_mrview_show,send_doc_update_response, 6, [{file,"src/couch_mrview_show.erl"}, {line,149}]}, {couch_httpd_db,do_db_req,2, [{file,"couch_httpd_db.erl"},{line,234}]}, {couch_httpd,handle_request_int,5, [{file,"couch_httpd.erl"},{line,323}]}, {mochiweb_http,headers,5, [{file,"mochiweb_http.erl"},{line,136}]}, {proc_lib,init_p_do_apply,3, [{file,"proc_lib.erl"},{line,227}]}] [Wed, 21 Nov 2012 12:04:48 GMT] [error] [<0.3011.0>] {error_report,<0.2890.0>, {<0.3011.0>,crash_report, [[{initial_call, {mochiweb_acceptor,init, ['Argument__1','Argument__2','Argument__3']}}, {pid,<0.3011.0>}, {registered_name,[]}, {error_info, {error,badarg, [{erlang,list_to_binary, [[{<<"code">>,201}, {<<"json">>,{[{<<"status">>,<<"ok">>}]}}]], []}, {couch_httpd,error_info,1, [{file,"couch_httpd.erl"},{line,791}]}, {couch_httpd,send_error,2, [{file,"couch_httpd.erl"},{line,896}]}, {couch_httpd,handle_request_int,5, [{file,"couch_httpd.erl"},{line,368}]}, {mochiweb_http,headers,5, [{file,"mochiweb_http.erl"},{line,136}]}, {proc_lib,init_p_do_apply,3, [{file,"proc_lib.erl"},{line,227}]}]}}, {ancestors, [couch_httpd,couch_secondary_services, couch_server_sup,<0.2891.0>]}, {messages,[]}, {links,[<0.2983.0>,#Port<0.12690>]}, {dictionary, [{mochiweb_request_body,<<>>}, {mochiweb_request_qs,[]}, {mochiweb_request_cookie, [{"m","34e2"},{"AuthSession",[]}]}]}, {trap_exit,false}, {status,running}, {heap_size,6765}, {stack_size,24}, {reductions,10073}], []]}}