Hi!

I CC'd [email protected] so others can chime in
or learn from the results of this discussion.

On Sep 9, 2008, at 6:04 , jianfei dong wrote:

I am a newbie to CouchDb. When I do test suit of CouchDb, there is an error
as following: *

design_docs: Exception raised:*
{"error":"error","reason":"{{
nocatch,{map_process_error,{exit_status,127}}},\n
[{couch_query_servers,readline,2},\n {couch_query_servers,read_json, 1},\n {couch_query_servers,prompt,2},\n {couch_query_servers,get_linked_port,1},\n {couch_query_servers,start_doc_map,2},\n {couch_view,view_compute,2}, \n
{couch_view,update_group,1},\n {couch_view,update_loop,5}]}"}

Is it CouchDb View Server's problem? or I forget to install some components? I make sure that spidermonkey has been installed successfully. However, when
I try view feature, like the following:

curl -H "Content-Type: application/json" -d "{\"map\": \"function(doc) {
emit(null, doc); }\"}" http://localhost:5984/bar/_temp_view

Sometimes it works, and sometimes it doesn't work, the error is :

What are the circumstances of "sometimes"?


{"error":"error","reason":"{{
nocatch,{map_process_error,{exit_status,127}}},\n
[{couch_query_servers,readline,2},\n {couch_query_servers,read_json, 1},\n
{couch_query_servers,prompt,2},\n
{couch_query_servers,get_linked_port,1},\n
{couch_query_servers,start_doc_map,2},\n {couch_view,view_compute, 2},\n
{couch_view,process_doc,3},\n  {couch_btree,stream_kv_node2,7}]}"}

Could you give a suggestion?

What operating system are you on? How did you install CouchDB? What version are you running. What version of Erlang is installed? (If there is anything but "lastet",
upgrade and try again).

Cheers
Jan
--



Reply via email to