couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randall Leeds <randall.le...@gmail.com>
Subject Re: simple view => couchdb crashes
Date Tue, 30 Mar 2010 22:59:36 GMT
Either remove reduce.js or make it return a value.
By not returning anything, javascript returns an undefined value and
couch is choking trying to json encode that value.

On Tue, Mar 30, 2010 at 15:56, Julian Moritz <mailings@julianmoritz.de> wrote:
> hi,
>
> I've just played around a bit with couchapp and a simple app. there are
> only two documents in my database, they are very simple structured.
>
> I've added a view, but if I call it I get an "empty result" from the
> server. Looking at the console on which the couchdb is started shows me
> a large error trace.
>
> The app is available here:
>
> http://bitbucket.org/feuervogel/music/src/
>
> Please look at views/simple/
>
> the error is stored here:
>
> http://bitbucket.org/feuervogel/music/issue/1/error-when-querying-view
>
> Maybe someone could please help me? I'm more than only a bit frustrated.
> Tried to keep things simple but all I get is a crashed database.
>
> Regards
> Julian
>

Mime
View raw message