Okay, noise, I think I know what the problem is, Couch views doesn't
seem to like it when a nested object has the same name as its parent:
{ "foo" : { "foo" : 45 } }
Arjun
On Sep 2, 2008, at 17:46 , Arjun Guha wrote:
I'm having trouble with documents that contain nested objects. I
can access such documents just fine, but when I try to define views
over databases containing such documents, I get errors such as:
{{nocatch,{map_process_error,{exit_status,0}}},
[{couch_query_servers,readline,2},
{couch_query_servers,read_json,1},
{couch_query_servers,prompt,2},
{couch_query_servers,'-map_docs/2-fun-0-',2},
{lists,map,2},
{couch_query_servers,map_docs,2},
{couch_view,view_compute,2},
{couch_view,update_group,1}]}
Any ideas? I'm on CouchDB 0.8.0, Mac OS X and Debian Lenny.
Arjun