-
Notifications
You must be signed in to change notification settings - Fork 178
Open
Description
Hi All,
I started working on Cradle a few days back. I was trying for exercise all the examples that are mentioned in Readme.md and from there "Querying a row with a specific key" is not working as expected. I throws BADMATCH Error, not just with this view but will all views.
{ CouchError: EXIT: {{badmatch,
{error,
{enoent,
[{erlang,open_port,
[{spawn,
"c:/Program Files (x86)/Apache Software Foundation/CouchD
B/lib/couch-1.7.1/priv/couchspawnkillable ./couchjs.exe ../share/couchdb/server/
main.js"},
[stream,{line,4096},binary,exit_status,hide]],
[]},
{couch_os_process,init,1,
[{file,
"c:/cygwin/relax/apache-couchdb-1.7.1/src/couchdb/couch_o
s_process.erl"},
{line,148}]},
{gen_server,init_it,6,[{file,"gen_server.erl"},{line,306}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,237}]}]}}},
[{couch_query_servers,new_process,3,
[{file,
"c:/cygwin/relax/apache-couchdb-1.7.1/src/couchdb/couch_query_servers
.erl"},
{line,477}]},
{couch_query_servers,lang_proc,3,
[{file,
"c:/cygwin/relax/apache-couchdb-1.7.1/src/couchdb/couch_query_servers
.erl"},
{line,462}]},
{couch_query_servers,handle_call,3,
[{file,
"c:/cygwin/relax/apache-couchdb-1.7.1/src/couchdb/couch_query_servers
.erl"},
{line,334}]},
{gen_server,try_handle_call,4,[{file,"gen_server.erl"},{line,607}]},
{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,639}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,237}]}]}
at Request._onResponse [as _callback] (E:\Learning Resources\Projects\p3Demo
\node_modules\cradle\lib\cradle.js:241:29)
at Request.self.callback (E:\Learning Resources\Projects\p3Demo\node_modules
\request\request.js:186:22)
at Request.emit (events.js:160:13)
at Request.<anonymous> (E:\Learning Resources\Projects\p3Demo\node_modules\r
equest\request.js:1163:10)
at Request.emit (events.js:160:13)
at IncomingMessage.<anonymous> (E:\Learning Resources\Projects\p3Demo\node_m
odules\request\request.js:1085:12)
at Object.onceWrapper (events.js:255:19)
at IncomingMessage.emit (events.js:165:20)
at endReadableNT (_stream_readable.js:1101:12)
at process._tickCallback (internal/process/next_tick.js:152:19)
name: 'CouchError',
message: 'EXIT: {{badmatch,\n {error,\n {enoent,\n [{e
rlang,open_port,\n [{spawn,\n "c:/Program
Files (x86)/Apache Software Foundation/CouchDB/lib/couch-1.7.1/priv/couchspawnk
illable ./couchjs.exe ../share/couchdb/server/main.js"},\n [st
ream,{line,4096},binary,exit_status,hide]],\n []},\n
{couch_os_process,init,1,\n [{file,\n
"c:/cygwin/relax/apache-couchdb-1.7.1/src/couchdb/couch_os_process.erl"},\n
{line,148}]},\n {gen_server,init_it,6,[{file,"gen_ser
ver.erl"},{line,306}]},\n {proc_lib,init_p_do_apply,3,\n
[{file,"proc_lib.erl"},{line,237}]}]}}},\n [{couch_query_servers,new_proc
ess,3,\n [{file,\n "c:/cygwin/relax/apache-couchdb-1.7.1/src/couc
hdb/couch_query_servers.erl"},\n {line,477}]},\n {couch_query_servers,lan
g_proc,3,\n [{file,\n "c:/cygwin/relax/apache-couchdb-1.7.1/src/c
ouchdb/couch_query_servers.erl"},\n {line,462}]},\n {couch_query_servers,
handle_call,3,\n [{file,\n "c:/cygwin/relax/apache-couchdb-1.7.1/
src/couchdb/couch_query_servers.erl"},\n {line,334}]},\n {gen_server,try_
handle_call,4,[{file,"gen_server.erl"},{line,607}]},\n {gen_server,handle_msg,5
,[{file,"gen_server.erl"},{line,639}]},\n {proc_lib,init_p_do_apply,3,[{file,"p
roc_lib.erl"},{line,237}]}]}',
error: 'EXIT',
reason: '{{badmatch,\n {error,\n {enoent,\n [{erlang,o
pen_port,\n [{spawn,\n "c:/Program Files
(x86)/Apache Software Foundation/CouchDB/lib/couch-1.7.1/priv/couchspawnkillable
./couchjs.exe ../share/couchdb/server/main.js"},\n [stream,{l
ine,4096},binary,exit_status,hide]],\n []},\n {cou
ch_os_process,init,1,\n [{file,\n "c:/cyg
win/relax/apache-couchdb-1.7.1/src/couchdb/couch_os_process.erl"},\n
{line,148}]},\n {gen_server,init_it,6,[{file,"gen_server.erl
"},{line,306}]},\n {proc_lib,init_p_do_apply,3,\n
[{file,"proc_lib.erl"},{line,237}]}]}}},\n [{couch_query_servers,new_process,3,\
n [{file,\n "c:/cygwin/relax/apache-couchdb-1.7.1/src/couchdb/cou
ch_query_servers.erl"},\n {line,477}]},\n {couch_query_servers,lang_proc,
3,\n [{file,\n "c:/cygwin/relax/apache-couchdb-1.7.1/src/couchdb/
couch_query_servers.erl"},\n {line,462}]},\n {couch_query_servers,handle_
call,3,\n [{file,\n "c:/cygwin/relax/apache-couchdb-1.7.1/src/cou
chdb/couch_query_servers.erl"},\n {line,334}]},\n {gen_server,try_handle_
call,4,[{file,"gen_server.erl"},{line,607}]},\n {gen_server,handle_msg,5,[{file
,"gen_server.erl"},{line,639}]},\n {proc_lib,init_p_do_apply,3,[{file,"proc_lib
.erl"},{line,237}]}]}',
headers:
{ server: 'CouchDB/1.7.1 (Erlang OTP/17)',
date: 'Thu, 19 Apr 2018 10:41:33 GMT',
'content-type': 'text/plain; charset=utf-8',
'content-length': '1499',
'cache-control': 'must-revalidate',
status: 500 } }
I am using CouchDB version 1.7.1. I am trying to solve this issue for like 2 days but getting no where.
Metadata
Metadata
Assignees
Labels
No labels