couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Stockton <chrisstockto...@gmail.com>
Subject Re: View cleanup failure - badmatch
Date Wed, 19 Jan 2011 21:21:57 GMT
Hello,

Thank you for your response Robert,

On Wed, Jan 19, 2011 at 2:01 PM, Robert Newson <robert.newson@gmail.com> wrote:
> Hi Chris,
>
> POST /db/_view_cleanup does work (verified locally).

Good to know it does work for you, thanks for checking.

> What version of couchdb are you running? You might need to add
> -Hcontent-type:application/json, though when I tried without it I got
> a different (and better) error message than you did.
>

I am running CouchDB 0.11.1. I am sending the correct content type.
Here is some more detailed logging information (with a stack trace not
previously included). In addition I should note I use view_index_dir
and database_dir like so:

--Ini Excerpt
[couchdb]
database_dir = /path/to/dbs
view_index_dir = /path/to/views

--Log Details
[Sun, 16 Jan 2011 02:36:47 GMT] [debug] [<0.20651.0>] 'POST'
/db_1/_view_cleanup {1,1}
Headers: [{'Accept',"*/*"},
          {'Authorization',"Basic ****"},
          {'Content-Type',"application/json"},
          {'Host',"localhost:59841"},
          {'User-Agent',"curl/7.18.0 (x86_64-redhat-linux-gnu)
libcurl/7.18.0 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5"}]

[Sun, 16 Jan 2011 02:36:47 GMT] [debug] [<0.20651.0>] OAuth Params: []

[Sun, 16 Jan 2011 02:36:47 GMT] [error] [<0.20651.0>] Uncaught error
in HTTP request: {error,{badmatch,[]}}

[Sun, 16 Jan 2011 02:36:47 GMT] [info] [<0.20651.0>] Stacktrace:
[{couch_view_group,design_doc_to_view_group,1},
             {couch_view_group,open_db_group,2},
             {couch_view,get_group_server,2},
             {couch_view,get_group_info,2},
             {couch_view,'-cleanup_index_files/1-fun-0-',2},
             {lists,map,2},
             {lists,map,2},
             {couch_view,cleanup_index_files,1}]


> Can you hop on #couchdb?
>

Unfortunately from work I do not have access to IRC

Mime
View raw message