incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Newson <robert.new...@gmail.com>
Subject Re: View cleanup failure - badmatch
Date Wed, 19 Jan 2011 21:51:51 GMT
Chris,

the function in question is here;

https://github.com/apache/couchdb/blob/ac4dc023e5ec7f9e5bf6864f4d516ee679ca931b/src/couchdb/couch_view_group.erl#L504

we're wondering if you have something a little unusual in any of
"language", "options" or "views" keys in any of your design documents?

B.

On Wed, Jan 19, 2011 at 9:43 PM, Robert Newson <robert.newson@gmail.com> wrote:
> Hm, I can't see anything since 0.11.1 that looks like a fix for any
> issue like this. Wish I could reproduce it. Just in case it's
> possible, I don't suppose you can share your data?
>
> Do you have valid_user=true btw?
>
> B.
>
> On Wed, Jan 19, 2011 at 9:32 PM, Robert Newson <robert.newson@gmail.com> wrote:
>> Annoyingly, _view_cleanup works for me on a 0.11.1 build too.
>>
>> Looking a little deeper.
>>
>> B.
>>
>> On Wed, Jan 19, 2011 at 9:25 PM, Robert Newson <robert.newson@gmail.com> wrote:
>>> I'll check against 0.11.1 right now.
>>>
>>> You can get to IRC via the web at http://webchat.freenode.net/ but I
>>> understand if it's against policy.
>>>
>>> B.
>>>
>>> On Wed, Jan 19, 2011 at 9:21 PM, Chris Stockton
>>> <chrisstocktonaz@gmail.com> wrote:
>>>> 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