[ https://issues.apache.org/jira/browse/COUCHDB-2242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14001511#comment-14001511 ]
Robert Newson commented on COUCHDB-2242: ---------------------------------------- ah, nvm, JIRA was hiding it. thanks for the report. > [REGRESSION?] List throws error in CouchDB 1.6.0rc5, worked in 1.5.0 > -------------------------------------------------------------------- > > Key: COUCHDB-2242 > URL: https://issues.apache.org/jira/browse/COUCHDB-2242 > Project: CouchDB > Issue Type: Bug > Security Level: public(Regular issues) > Reporter: Christian Lins > > A list function (see below) returns the following strangely formatted error > message: > {noformat} > {"error":"EXIT","reason":"{{badmatch, {error,\n {enoent,\n > [{erlang,open_port,\n [{spawn,\n > \"c:/Program Files (x86)/Apache Software > Foundation/CouchDB/lib/couch-1.6.0/priv/couchspawnkillable ./couchjs.exe > ../share/couchdb/server/main.js\"},\n > [stream,{line,4096},binary,exit_status,hide]],\n []},\n > {couch_os_process,init,1,\n [{file,\n > > \"c:/cygwin/relax/apache-couchdb-1.6.0/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,239}]}]}}},\n > [{couch_query_servers,new_process,3,\n [{file,\n > \"c:/cygwin/relax/apache-couchdb-1.6.0/src/couchdb/couch_query_servers.erl\"},\n > {line,477}]},\n {couch_query_servers,lang_proc,3,\n [{file,\n > > \"c:/cygwin/relax/apache-couchdb-1.6.0/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.6.0/src/couchdb/couch_query_servers.erl\"},\n > {line,322}]},\n > {gen_server,handle_msg,5,[{file,\"gen_server.erl\"},{line,580}]},\n > {proc_lib,init_p_do_apply,3,[{file,\"proc_lib.erl\"},{line,239}]}]}"} > {noformat} > It worked well with CouchDB 1.5.0, now after upgrade to 1.6.0-rc5 it does not. > The design document with the functions: > {noformat} > { > "_id": "_design/report", > "_rev": "1-604210c4db6dbc7ee800bef7f6cce5ac", > "language": "javascript", > "version": 1, > "views": { > "activities-per-month": { > "map": "function(doc){var > type=doc._id.substr(0,doc._id.indexOf(':'));if(type==='de.bremer-heimstiftung.vera.activity'){var > date=new > Date(parseInt(doc.activity.date.start,10));emit([1900+date.getYear(),date.getMonth()+1],doc)}}" > } > }, > "lists": { > "sum-up-keys": "function(head,req){var row;var > cnt={};while(row=getRow()){if(cnt[row.key]===undefined){cnt[row.key]=1}else{cnt[row.key]+=1}}send(JSON.stringify(cnt))}" > } > } > {noformat} -- This message was sent by Atlassian JIRA (v6.2#6252)