couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Anderson" <jch...@mfdz.com>
Subject Re: cannot run custom view in Futon
Date Sun, 18 May 2008 20:14:50 GMT
If you're dying to play with reduce, Couchrest (Ruby library) supports
it (for temp views).

Check out or download from Github:

http://github.com/jchris/couchrest/tree/master

Not well documented, but there is an example at

http://github.com/jchris/couchrest/tree/master/spec/database_spec.rb

line 33.

Enjoy.

On Sun, May 18, 2008 at 12:47 PM, Jan Lehnardt <jan@apache.org> wrote:
> Futon is not yet ready to handle the new reduce
> functionality. Sorry :) You can try CouchDB with
> a working Futon (but without reduce in views)
> by checking out a pre- 656861 revision.
>
> Cheers
> Jan
> --
>
> On May 18, 2008, at 21:19, Ryszard Szopa wrote:
>
>> When I try to do a custom view in Futon, I get a JavaScript alert
>> saying "EXIT". At the same time, I see that CouchDB throw a 500 error
>> to "POST /test1/_temp_view".
>>
>> This exact behavior has been filed as a bug [1], but then closed after
>> 5 hours: the author found a way of working it around and blamed
>> "replication from 0.7.2 to latest trunk". Unfortunately, this can't be
>> my case, because I am using a fresh install. Futon says it passes all
>> the tests.
>>
>> I am using Ubuntu Linux Hardy Heron, with CouchDB taken from the svn
>> repository (tt revision 657609). I will appreciate any help.
>>
>> Thanks in advance,
>>
>>   -- Richard
>>
>> [1] https://issues.apache.org/jira/browse/COUCHDB-33
>>
>> --
>> http://szopa.tasak.gda.pl/
>>
>
>



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

Mime
View raw message