Thanks for reporting this bug.

It looks like you have the syntax error in your map function:
function(doc)emit(doc._id, doc._rev)}
There should be opening brace before emit() call.

Additionally the view needs to be called as:
$ curl http://127.0.0.1:5984/test/_view/example/foo
{"total_rows":3,"offset":0,"rows":[
{"id":"092dd64e04afa25833a276a9873c92cb","key":"092dd64e04afa25833a276a9873c92cb","value":"215513193"},
{"id":"0a8bb6310a6d47c34a16f539018245f4","key":"0a8bb6310a6d47c34a16f539018245f4","value":"972520306"},
{"id":"40525dbd40ef1ed7989fedc65f45e48d","key":"40525dbd40ef1ed7989fedc65f45e48d","value":"328236368"}
]}

Marking this bug as Invalid since the server appears to be working fine.
Tested with couchdb 0.8.0-2 on Ubuntu 9.04

** Changed in: couchdb (Ubuntu)
       Status: New => Invalid

-- 
CouchDB 0.8.0 on 9.04 seems broken
https://bugs.launchpad.net/bugs/474360
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to