Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 84132 invoked from network); 19 Jan 2011 21:52:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Jan 2011 21:52:35 -0000 Received: (qmail 19067 invoked by uid 500); 19 Jan 2011 21:52:33 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 19018 invoked by uid 500); 19 Jan 2011 21:52:32 -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 19010 invoked by uid 99); 19 Jan 2011 21:52:32 -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:52:32 +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 paul.joseph.davis@gmail.com designates 209.85.213.180 as permitted sender) Received: from [209.85.213.180] (HELO mail-yx0-f180.google.com) (209.85.213.180) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jan 2011 21:52:24 +0000 Received: by yxm34 with SMTP id 34so591929yxm.11 for ; Wed, 19 Jan 2011 13:52:03 -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:from:date :message-id:subject:to:content-type:content-transfer-encoding; bh=iLZE0PAj6lp5h+tnoxdAFW6Or7CjIK+RyqU2Z7vo3S0=; b=DW5ZQX/pE8k2oIxKwsspwlZKrtJCVaJ5/47GtFxrJYKaXjktOR+5i0mvdnZPcG3Ye1 6lFKE/XnpEzSyluu/KcYHGAHBVUmZXIMUZm58DB+t/wXKz2OabcCARM18wItzjaT9b4y XkY8sZGjj9YUxNQjxkRE+jj+Zxo9AglTuzHJI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=CwdIPCK+neXrpGRJ2GxZ48WqBotxo5YVa6mq62qviq8iwxY8JQ5PiUfLukfXZiYzF4 tKg/vsQs/uTuhdTbKmzoazjMb+GOS1MehrXMjahtYANcdw+m1gI+mZWBiJxoE6igXs9+ 8lrNYBMom4BjXJIPa6omWjRyeJsXtkFAdRPos= Received: by 10.147.136.15 with SMTP id o15mr1681779yan.12.1295473923715; Wed, 19 Jan 2011 13:52:03 -0800 (PST) MIME-Version: 1.0 Received: by 10.147.34.2 with HTTP; Wed, 19 Jan 2011 13:51:23 -0800 (PST) In-Reply-To: References: From: Paul Davis Date: Wed, 19 Jan 2011 16:51:23 -0500 Message-ID: Subject: Re: View cleanup failure - badmatch 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 Do you happen to have a field on one of your design docs named "options" in either the root scope or at a view scope that is an array? Or even perhaps a "views" member in the root namespace that is an array? On Wed, Jan 19, 2011 at 4: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 >