Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 5829 invoked from network); 19 Jan 2011 21:26:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Jan 2011 21:26:11 -0000 Received: (qmail 81015 invoked by uid 500); 19 Jan 2011 21:26:10 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 80971 invoked by uid 500); 19 Jan 2011 21:26:09 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 80963 invoked by uid 99); 19 Jan 2011 21:26:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jan 2011 21:26:09 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of robert.newson@gmail.com designates 209.85.213.52 as permitted sender) Received: from [209.85.213.52] (HELO mail-yw0-f52.google.com) (209.85.213.52) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jan 2011 21:26:02 +0000 Received: by ywf9 with SMTP id 9so575858ywf.11 for ; Wed, 19 Jan 2011 13:25:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=+bS70xep8mCTjF3++is0I6JL9eMlQFjIGnsVt55gNHE=; b=XbhZuSWK4y/mvXKb9t6/PNocxl9p5Kfz7n82bLsBxEbhud7jekwZFMTePfirlELLp/ w07rqnaF/QlsV4Pt5L7PdzQBWrhOGMk8OhzgEBI8VFNFo5qizDcPwgC3+odz0FTQGfSt cpinM6CUuZXB/aKmMj2xTpyh6MC5E+i2FPcNY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=l6PTo9TJxiG0qL0TMnUJIqnY/XvN+m75QLSe/mWvmvklV6VyMivuwRicYU/9Xd1XXs pS+4QKOht8YBoTp0w7LoQYT7QAKKQDTRGseZgWcrBqOUS1bU27vcwwcKnrBGPCOCCACg rPVEHBI/b0mU2tWxbhDtDheOcazty+1vd/JGs= MIME-Version: 1.0 Received: by 10.204.102.206 with SMTP id h14mr1189026bko.45.1295472339435; Wed, 19 Jan 2011 13:25:39 -0800 (PST) Received: by 10.204.115.134 with HTTP; Wed, 19 Jan 2011 13:25:39 -0800 (PST) In-Reply-To: References: Date: Wed, 19 Jan 2011 21:25:39 +0000 Message-ID: Subject: Re: View cleanup failure - badmatch From: Robert Newson To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org 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 wrote: > Hello, > > Thank you for your response Robert, > > On Wed, Jan 19, 2011 at 2:01 PM, Robert Newson = 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 =3D /path/to/dbs > view_index_dir =3D /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',"*/*"}, > =A0 =A0 =A0 =A0 =A0{'Authorization',"Basic ****"}, > =A0 =A0 =A0 =A0 =A0{'Content-Type',"application/json"}, > =A0 =A0 =A0 =A0 =A0{'Host',"localhost:59841"}, > =A0 =A0 =A0 =A0 =A0{'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}, > =A0 =A0 =A0 =A0 =A0 =A0 {couch_view_group,open_db_group,2}, > =A0 =A0 =A0 =A0 =A0 =A0 {couch_view,get_group_server,2}, > =A0 =A0 =A0 =A0 =A0 =A0 {couch_view,get_group_info,2}, > =A0 =A0 =A0 =A0 =A0 =A0 {couch_view,'-cleanup_index_files/1-fun-0-',2}, > =A0 =A0 =A0 =A0 =A0 =A0 {lists,map,2}, > =A0 =A0 =A0 =A0 =A0 =A0 {lists,map,2}, > =A0 =A0 =A0 =A0 =A0 =A0 {couch_view,cleanup_index_files,1}] > > >> Can you hop on #couchdb? >> > > Unfortunately from work I do not have access to IRC >