Return-Path: Delivered-To: apmail-incubator-couchdb-user-archive@locus.apache.org Received: (qmail 15332 invoked from network); 10 Jun 2008 20:23:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Jun 2008 20:23:57 -0000 Received: (qmail 71094 invoked by uid 500); 10 Jun 2008 20:23:58 -0000 Delivered-To: apmail-incubator-couchdb-user-archive@incubator.apache.org Received: (qmail 71077 invoked by uid 500); 10 Jun 2008 20:23:58 -0000 Mailing-List: contact couchdb-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-user@incubator.apache.org Delivered-To: mailing list couchdb-user@incubator.apache.org Received: (qmail 71066 invoked by uid 99); 10 Jun 2008 20:23:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jun 2008 13:23:58 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of brking@gmail.com designates 209.85.146.176 as permitted sender) Received: from [209.85.146.176] (HELO wa-out-1112.google.com) (209.85.146.176) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jun 2008 20:23:06 +0000 Received: by wa-out-1112.google.com with SMTP id m16so2417300waf.6 for ; Tue, 10 Jun 2008 13:23:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=Q3gXibU/qGKG/Se7RPM4l/xUk9hQBwgKJqx4SIbALnQ=; b=s2UMMYhBxTY3pYZIMnYcG8awhTfenkLGcs26IgztZahrVCxzmJj6qo10Snb5LTHtzE xNCuPMb5YlBleHXWN0rFBEFmLbcpc+x+1cKim2jE5z7WbU05qt/3cyPtTEwPm1nR2HW7 jQCWRPTNhRCqXWLQDu6Jc/16Ku9GZGCNVDV+w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=fby4Acjvroa5n/wmDWPDcBBIta3zGF4tt2cqE4Gn5aYRIwOq2O/7x3/DMjCoxONF0q TmO3iTYJk8UGskXpvPOyPriCX3MOqnigVbo1zKX4sN5jFADCVH4Te8ybBlUPMpTHxwNJ xQ7bF+KNgVD0rEKDaFGOaKHSJr62PR4feK88Q= Received: by 10.114.192.17 with SMTP id p17mr5609339waf.29.1213129404372; Tue, 10 Jun 2008 13:23:24 -0700 (PDT) Received: by 10.114.182.11 with HTTP; Tue, 10 Jun 2008 13:23:24 -0700 (PDT) Message-ID: <888cd9180806101323t275706e1t4cefbce8198b3bd2@mail.gmail.com> Date: Tue, 10 Jun 2008 16:23:24 -0400 From: "Brad King" To: couchdb-user@incubator.apache.org Subject: Re: 500 server error posting a view In-Reply-To: <189C4EB8-1766-481B-B16D-FD942B9A4E87@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <888cd9180806101101u28b29cban871829654da09b05@mail.gmail.com> <888cd9180806101118sa8d2671gee270216d6500dbe@mail.gmail.com> <189C4EB8-1766-481B-B16D-FD942B9A4E87@gmx.de> X-Virus-Checked: Checked by ClamAV on apache.org We're going to install on another box from trunk, for starters. I'm not clear on how my JSon structure for my view is wrong though. Can someone elaborate? Here again is what I'm POSTing (from the exact wiki page Damien linked): POST /product/_temp_view HTTP/1.0 Content-Type: application/json Content-Length: 80 Host: d0002rptdb02:5984 { "language": "javascript", "map" : "function(doc) { emit(null, doc); }" } On 6/10/08, Christopher Lenz wrote: > On 10.06.2008, at 20:18, Brad King wrote: > > HTTP/1.0 500 Internal Server Error > > Server: inets/develop > > Date: Tue, 10 Jun 2008 18:12:52 GMT > > Cache-Control: no-cache > > Pragma: no-cache > > Expires: Tue, 10 Jun 2008 18:12:52 GMT > > Connection: close > > Content-Type: text/plain;charset=utf-8 > > > > In case this hasn't been clarified yet, you're using an old version of > CouchDB (either 0.7.2 or an old version from SVN) in combination with > documentation that has been updated for the many changes in SVN trunk. > > If you've checked out from SVN and your checkout is uptodate, you've > probably used the wrong (old) SVN repos. The new one is here: > > > > If you're using the 0.7.2 release, well, you'll probably have to dig through > the Wiki to find old versions of the various documents that describe the > APIs in that version. Or you could try using SVN trunk, or just wait for the > 0.8.0 release, which we're planning to release Real Soon Now. > > Cheers, > -- > Christopher Lenz > cmlenz at gmx.de > http://www.cmlenz.net/ > >