couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Oli <oliver.oli+0...@gmail.com>
Subject views don't work
Date Thu, 24 Sep 2009 11:03:49 GMT
I'm running couchdb 0.9.1. Everything worked fine until I tried my first view:

test.js:

function(doc) {
  emit(null, doc);
}

{"error":"error","reason":"{function_clause,\n
[{couch_view_group,'-design_doc_to_view_group/1-fun-0-',\n
[{<<\"test\">>,<<\"function(doc) {\\n  emit(null, doc);\\n}\">>},\n
      {dict,0,16,16,8,80,48,\n
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},\n
{{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]}}}]},\n
{lists,foldl,3},\n
{couch_view_group,design_doc_to_view_group,1},\n
{couch_view_group,open_db_group,2},\n
{couch_view_group,prepare_group,2},\n     {couch_view_group,init,1},\n
    {gen_server,init_it,6},\n     {proc_lib,init_p_do_apply,3}]}"}

i have no clue what couchdb is trying to tell me

Mime
View raw message