Public bug reported: Binary package hint: couchdb
When installing and trying to use views, CouchDB returns strange and little-usable errors: Install: > sudo apt-get install couchdb Create DB and design document: > curl -X PUT http://127.0.0.1:5984/test > curl -X PUT http://127.0.0.1:5984/test/_design/example -d '{"_id": > "_design/example","views": {"foo":{"map": "function(doc)emit(doc._id, > doc._rev)}"}}}' Insert a few dummy pages: > curl -X POST http://127.0.0.1:5984/test -d '{}' > curl -X POST http://127.0.0.1:5984/test -d '{}' > curl -X POST http://127.0.0.1:5984/test -d '{}' Query of 'foo' view fails: > curl http://127.0.0.1:5984/basic/_design/example/_view/foo {'EXIT', {function_clause, [{couch_httpd,handle_db_request, [{mochiweb_request,#Port<0.1161>,'GET', "/basic/_design/example/_view/foo", {1,1}, {3, {"user-agent", {'User-Agent', "curl/7.18.2 (i486-pc-linux-gnu) libcurl/7.18.2 OpenSSL/0.9.8g zlib/1.2.3.3 libidn/1.10"}, {"host", {'Host',"127.0.0.1:5984"}, {"accept",{'Accept',"*/*"},nil,nil}, nil}, nil}}}, 'GET', {"basic",<0.80.0>, ["_design","example","_view","foo"]}]}, {couch_httpd,handle_request,2}, {mochiweb_http,headers,4}, {proc_lib,init_p_do_apply,3}]}} The exact same sequence of commands works on CouchDB 0.10.0 (under Ubuntu 9.10). ** Affects: couchdb (Ubuntu) Importance: Undecided Status: New -- 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