Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@RonnyPfannschmidt
Created July 1, 2012 09:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RonnyPfannschmidt/3027746 to your computer and use it in GitHub Desktop.
Save RonnyPfannschmidt/3027746 to your computer and use it in GitHub Desktop.
error with couchdb_browserid
rake plugin="git://github.com/iriscouch/browserid_couchdb origin/master"
% env|grep ERL
ERL_ZFLAGS=-pz 'build/lib/couchdb/plugins/browserid_couchdb/ebin'
<!DOCTYPE html>
<html>
<head>
<script src="/_browserid/include.js" type="text/javascript"></script>
<!-- Optional styles -->
<link rel="stylesheet" type="text/css" href="/_browserid/style.css">
</head>
<body>
<div id="browserid">
<div class="login">
<img src="/_browserid/sign_in_blue.png">
</div>
<div class="picture"></div>
</div>
Hello, BrowserID world!
</body>
<!-- Recommended convenience API -->
<script src="/_utils/script/jquery.js" type="text/javascript"></script>
<script src="/_browserid/main.js" type="text/javascript"></script>
</html>
% build/bin/couchdb
Apache CouchDB 1.3.0a- (LogLevel=info) is starting.
Apache CouchDB has started. Time to relax.
[info] [<0.32.0>] Apache CouchDB has started on http://127.0.0.1:5984/
[info] [<0.134.0>] 127.0.0.1 - - GET /test/_design/browserid/index.html 304
[error] [<0.134.0>] {error_report,<0.31.0>,
{<0.134.0>,crash_report,
[[{initial_call,
{mochiweb_acceptor,init,
['Argument__1','Argument__2','Argument__3']}},
{pid,<0.134.0>},
{registered_name,[]},
{error_info,
{error,
{badmatch,not_implemented},
[{couch_httpd,handle_request_int,5,
[{file,
"/home/ronny/Projects/build-couchdb/dependencies/couchdb/src/couchdb/couch_httpd.erl"},
{line,314}]},
{mochiweb_http,headers,5,
[{file,
"/home/ronny/Projects/build-couchdb/dependencies/couchdb/src/mochiweb/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.32.0>]},
{messages,[]},
{links,[<0.124.0>,#Port<0.1993>]},
{dictionary,[{mochiweb_request_cookie,[]}]},
{trap_exit,false},
{status,running},
{heap_size,4181},
{stack_size,24},
{reductions,7179}],
[]]}}
=CRASH REPORT==== 1-Jul-2012::11:52:46 ===
crasher:
initial call: mochiweb_acceptor:init/3
pid: <0.134.0>
registered_name: []
exception error: no match of right hand side value not_implemented
in function couch_httpd:handle_request_int/5 (/home/ronny/Projects/build-couchdb/dependencies/couchdb/src/couchdb/couch_httpd.erl, line 314)
in call from mochiweb_http:headers/5 (/home/ronny/Projects/build-couchdb/dependencies/couchdb/src/mochiweb/mochiweb_http.erl, line 136)
ancestors: [couch_httpd,couch_secondary_services,couch_server_sup,
<0.32.0>]
messages: []
links: [<0.124.0>,#Port<0.1993>]
dictionary: [{mochiweb_request_cookie,[]}]
trap_exit: false
status: running
heap_size: 4181
stack_size: 24
reductions: 7179
neighbours:
[error] [<0.135.0>] {error_report,<0.31.0>,
{<0.135.0>,crash_report,
[[{initial_call,
{mochiweb_acceptor,init,
['Argument__1','Argument__2','Argument__3']}},
{pid,<0.135.0>},
{registered_name,[]},
{error_info,
{error,
{badmatch,not_implemented},
[{couch_httpd,handle_request_int,5,
[{file,
"/home/ronny/Projects/build-couchdb/dependencies/couchdb/src/couchdb/couch_httpd.erl"},
{line,314}]},
{mochiweb_http,headers,5,
[{file,
"/home/ronny/Projects/build-couchdb/dependencies/couchdb/src/mochiweb/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.32.0>]},
{messages,[]},
{links,[<0.124.0>,#Port<0.2098>]},
{dictionary,[{mochiweb_request_cookie,[]}]},
{trap_exit,false},
{status,running},
{heap_size,2584},
{stack_size,24},
{reductions,2404}],
[]]}}
=CRASH REPORT==== 1-Jul-2012::11:52:46 ===
crasher:
initial call: mochiweb_acceptor:init/3
pid: <0.135.0>
registered_name: []
exception error: no match of right hand side value not_implemented
in function couch_httpd:handle_request_int/5 (/home/ronny/Projects/build-couchdb/dependencies/couchdb/src/couchdb/couch_httpd.erl, line 314)
in call from mochiweb_http:headers/5 (/home/ronny/Projects/build-couchdb/dependencies/couchdb/src/mochiweb/mochiweb_http.erl, line 136)
ancestors: [couch_httpd,couch_secondary_services,couch_server_sup,
<0.32.0>]
messages: []
links: [<0.124.0>,#Port<0.2098>]
dictionary: [{mochiweb_request_cookie,[]}]
trap_exit: false
status: running
heap_size: 2584
stack_size: 24
reductions: 2404
neighbours:
[error] [<0.136.0>] {error_report,<0.31.0>,
{<0.136.0>,crash_report,
[[{initial_call,
{mochiweb_acceptor,init,
['Argument__1','Argument__2','Argument__3']}},
{pid,<0.136.0>},
{registered_name,[]},
{error_info,
{error,
{badmatch,not_implemented},
[{couch_httpd,handle_request_int,5,
[{file,
"/home/ronny/Projects/build-couchdb/dependencies/couchdb/src/couchdb/couch_httpd.erl"},
{line,314}]},
{mochiweb_http,headers,5,
[{file,
"/home/ronny/Projects/build-couchdb/dependencies/couchdb/src/mochiweb/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.32.0>]},
{messages,[]},
{links,[<0.124.0>,#Port<0.2141>]},
{dictionary,[{mochiweb_request_cookie,[]}]},
{trap_exit,false},
{status,running},
{heap_size,2584},
{stack_size,24},
{reductions,2366}],
[]]}}
=CRASH REPORT==== 1-Jul-2012::11:52:46 ===
crasher:
initial call: mochiweb_acceptor:init/3
pid: <0.136.0>
registered_name: []
exception error: no match of right hand side value not_implemented
in function couch_httpd:handle_request_int/5 (/home/ronny/Projects/build-couchdb/dependencies/couchdb/src/couchdb/couch_httpd.erl, line 314)
in call from mochiweb_http:headers/5 (/home/ronny/Projects/build-couchdb/dependencies/couchdb/src/mochiweb/mochiweb_http.erl, line 136)
ancestors: [couch_httpd,couch_secondary_services,couch_server_sup,
<0.32.0>]
messages: []
links: [<0.124.0>,#Port<0.2141>]
dictionary: [{mochiweb_request_cookie,[]}]
trap_exit: false
status: running
heap_size: 2584
stack_size: 24
reductions: 2366
neighbours:
[error] [<0.137.0>] {error_report,<0.31.0>,
{<0.137.0>,crash_report,
[[{initial_call,
{mochiweb_acceptor,init,
['Argument__1','Argument__2','Argument__3']}},
{pid,<0.137.0>},
{registered_name,[]},
{error_info,
{error,
{badmatch,not_implemented},
[{couch_httpd,handle_request_int,5,
[{file,
"/home/ronny/Projects/build-couchdb/dependencies/couchdb/src/couchdb/couch_httpd.erl"},
{line,314}]},
{mochiweb_http,headers,5,
[{file,
"/home/ronny/Projects/build-couchdb/dependencies/couchdb/src/mochiweb/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.32.0>]},
{messages,[]},
{links,[<0.124.0>,#Port<0.2142>]},
{dictionary,[{mochiweb_request_cookie,[]}]},
{trap_exit,false},
{status,running},
{heap_size,2584},
{stack_size,24},
{reductions,2456}],
[]]}}
=CRASH REPORT==== 1-Jul-2012::11:52:46 ===
crasher:
initial call: mochiweb_acceptor:init/3
pid: <0.137.0>
registered_name: []
exception error: no match of right hand side value not_implemented
in function couch_httpd:handle_request_int/5 (/home/ronny/Projects/build-couchdb/dependencies/couchdb/src/couchdb/couch_httpd.erl, line 314)
in call from mochiweb_http:headers/5 (/home/ronny/Projects/build-couchdb/dependencies/couchdb/src/mochiweb/mochiweb_http.erl, line 136)
ancestors: [couch_httpd,couch_secondary_services,couch_server_sup,
<0.32.0>]
messages: []
links: [<0.124.0>,#Port<0.2142>]
dictionary: [{mochiweb_request_cookie,[]}]
trap_exit: false
status: running
heap_size: 2584
stack_size: 24
reductions: 2456
neighbours:
[error] [<0.138.0>] {error_report,<0.31.0>,
{<0.138.0>,crash_report,
[[{initial_call,
{mochiweb_acceptor,init,
['Argument__1','Argument__2','Argument__3']}},
{pid,<0.138.0>},
{registered_name,[]},
{error_info,
{error,
{badmatch,not_implemented},
[{couch_httpd,handle_request_int,5,
[{file,
"/home/ronny/Projects/build-couchdb/dependencies/couchdb/src/couchdb/couch_httpd.erl"},
{line,314}]},
{mochiweb_http,headers,5,
[{file,
"/home/ronny/Projects/build-couchdb/dependencies/couchdb/src/mochiweb/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.32.0>]},
{messages,[]},
{links,[<0.124.0>,#Port<0.2143>]},
{dictionary,[{mochiweb_request_cookie,[]}]},
{trap_exit,false},
{status,running},
{heap_size,2584},
{stack_size,24},
{reductions,2320}],
[]]}}
=CRASH REPORT==== 1-Jul-2012::11:52:46 ===
crasher:
initial call: mochiweb_acceptor:init/3
pid: <0.138.0>
registered_name: []
exception error: no match of right hand side value not_implemented
in function couch_httpd:handle_request_int/5 (/home/ronny/Projects/build-couchdb/dependencies/couchdb/src/couchdb/couch_httpd.erl, line 314)
in call from mochiweb_http:headers/5 (/home/ronny/Projects/build-couchdb/dependencies/couchdb/src/mochiweb/mochiweb_http.erl, line 136)
ancestors: [couch_httpd,couch_secondary_services,couch_server_sup,
<0.32.0>]
messages: []
links: [<0.124.0>,#Port<0.2143>]
dictionary: [{mochiweb_request_cookie,[]}]
trap_exit: false
status: running
heap_size: 2584
stack_size: 24
reductions: 2320
neighbours:
[error] [<0.140.0>] {error_report,<0.31.0>,
{<0.140.0>,crash_report,
[[{initial_call,
{mochiweb_acceptor,init,
['Argument__1','Argument__2','Argument__3']}},
{pid,<0.140.0>},
{registered_name,[]},
{error_info,
{error,
{badmatch,not_implemented},
[{couch_httpd,handle_request_int,5,
[{file,
"/home/ronny/Projects/build-couchdb/dependencies/couchdb/src/couchdb/couch_httpd.erl"},
{line,314}]},
{mochiweb_http,headers,5,
[{file,
"/home/ronny/Projects/build-couchdb/dependencies/couchdb/src/mochiweb/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.32.0>]},
{messages,[]},
{links,[<0.124.0>,#Port<0.2145>]},
{dictionary,[{mochiweb_request_cookie,[]}]},
{trap_exit,false},
{status,running},
{heap_size,2584},
{stack_size,24},
{reductions,2456}],
[]]}}
=CRASH REPORT==== 1-Jul-2012::11:52:46 ===
crasher:
initial call: mochiweb_acceptor:init/3
pid: <0.140.0>
registered_name: []
exception error: no match of right hand side value not_implemented
in function couch_httpd:handle_request_int/5 (/home/ronny/Projects/build-couchdb/dependencies/couchdb/src/couchdb/couch_httpd.erl, line 314)
in call from mochiweb_http:headers/5 (/home/ronny/Projects/build-couchdb/dependencies/couchdb/src/mochiweb/mochiweb_http.erl, line 136)
ancestors: [couch_httpd,couch_secondary_services,couch_server_sup,
<0.32.0>]
messages: []
links: [<0.124.0>,#Port<0.2145>]
dictionary: [{mochiweb_request_cookie,[]}]
trap_exit: false
status: running
heap_size: 2584
stack_size: 24
reductions: 2456
neighbours:
[error] [<0.139.0>] {error_report,<0.31.0>,
{<0.139.0>,crash_report,
[[{initial_call,
{mochiweb_acceptor,init,
['Argument__1','Argument__2','Argument__3']}},
{pid,<0.139.0>},
{registered_name,[]},
{error_info,
{error,
{badmatch,not_implemented},
[{couch_httpd,handle_request_int,5,
[{file,
"/home/ronny/Projects/build-couchdb/dependencies/couchdb/src/couchdb/couch_httpd.erl"},
{line,314}]},
{mochiweb_http,headers,5,
[{file,
"/home/ronny/Projects/build-couchdb/dependencies/couchdb/src/mochiweb/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.32.0>]},
{messages,[]},
{links,[<0.124.0>,#Port<0.2144>]},
{dictionary,[{mochiweb_request_cookie,[]}]},
{trap_exit,false},
{status,running},
{heap_size,2584},
{stack_size,24},
{reductions,2400}],
[]]}}
=CRASH REPORT==== 1-Jul-2012::11:52:46 ===
crasher:
initial call: mochiweb_acceptor:init/3
pid: <0.139.0>
registered_name: []
exception error: no match of right hand side value not_implemented
in function couch_httpd:handle_request_int/5 (/home/ronny/Projects/build-couchdb/dependencies/couchdb/src/couchdb/couch_httpd.erl, line 314)
in call from mochiweb_http:headers/5 (/home/ronny/Projects/build-couchdb/dependencies/couchdb/src/mochiweb/mochiweb_http.erl, line 136)
ancestors: [couch_httpd,couch_secondary_services,couch_server_sup,
<0.32.0>]
messages: []
links: [<0.124.0>,#Port<0.2144>]
dictionary: [{mochiweb_request_cookie,[]}]
trap_exit: false
status: running
heap_size: 2584
stack_size: 24
reductions: 2400
neighbours:
[error] [<0.125.0>] {error_report,<0.31.0>,
{<0.125.0>,crash_report,
[[{initial_call,
{mochiweb_acceptor,init,
['Argument__1','Argument__2','Argument__3']}},
{pid,<0.125.0>},
{registered_name,[]},
{error_info,
{error,
{badmatch,not_implemented},
[{couch_httpd,handle_request_int,5,
[{file,
"/home/ronny/Projects/build-couchdb/dependencies/couchdb/src/couchdb/couch_httpd.erl"},
{line,314}]},
{mochiweb_http,headers,5,
[{file,
"/home/ronny/Projects/build-couchdb/dependencies/couchdb/src/mochiweb/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.32.0>]},
{messages,[]},
{links,[<0.124.0>,#Port<0.2146>]},
{dictionary,[{mochiweb_request_cookie,[]}]},
{trap_exit,false},
{status,running},
{heap_size,2584},
{stack_size,24},
{reductions,2320}],
[]]}}
=CRASH REPORT==== 1-Jul-2012::11:52:46 ===
crasher:
initial call: mochiweb_acceptor:init/3
pid: <0.125.0>
registered_name: []
exception error: no match of right hand side value not_implemented
in function couch_httpd:handle_request_int/5 (/home/ronny/Projects/build-couchdb/dependencies/couchdb/src/couchdb/couch_httpd.erl, line 314)
in call from mochiweb_http:headers/5 (/home/ronny/Projects/build-couchdb/dependencies/couchdb/src/mochiweb/mochiweb_http.erl, line 136)
ancestors: [couch_httpd,couch_secondary_services,couch_server_sup,
<0.32.0>]
messages: []
links: [<0.124.0>,#Port<0.2146>]
dictionary: [{mochiweb_request_cookie,[]}]
trap_exit: false
status: running
heap_size: 2584
stack_size: 24
reductions: 2320
neighbours:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment