couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Anderson <jch...@apache.org>
Subject Re: Error in executing views
Date Tue, 17 Mar 2009 15:23:41 GMT
On Tue, Mar 17, 2009 at 6:23 AM, Anand Chitipothu <anandology@gmail.com> wrote:
> I created a view in couchdb and when tried to access it gave the
> following error.
>
> {"error":"not_found","reason":"Document is missing attachment"}
>
> Thinking that I might have done some mistake, i tried installing sofa
> using couchapp.
>
> $ git clone git://github.com/jchris/sofa.git
> $ cd sofa
> $ couchapp push . http://localhost:5984/blog
> Pushing CouchApp in /Users/anand/work/play/sofa to design doc:
> http://localhost:5984/blog/_design/sofa
> Visit your CouchApp here:
> http://localhost:5984/blog/_/sofa/l
>
> Even its views give the same error.
>
> $ curl http://localhost:5984/blogdb/_design/sofa/_view/comments
> {"error":"not_found","reason":"Document is missing attachment"}
>
> Am I doing anything stupid?

The only thing I see in this mail is that you are pushing to a db
called "blog" and querying from "blogdb"

What do you get for

curl http://localhost:5984/blog/_design/sofa/_view/comments

Chris

-- 
Chris Anderson
http://jchris.mfdz.com

Mime
View raw message