From user-return-7887-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Sat Dec 05 18:51:03 2009 Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 9345 invoked from network); 5 Dec 2009 18:51:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Dec 2009 18:51:03 -0000 Received: (qmail 22113 invoked by uid 500); 5 Dec 2009 18:51:01 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 22066 invoked by uid 500); 5 Dec 2009 18:51:00 -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 22056 invoked by uid 99); 5 Dec 2009 18:51:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Dec 2009 18:51:00 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=FB_WORD1_END_DOLLAR,NORMAL_HTTP_TO_IP,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jchris@gmail.com designates 209.85.216.202 as permitted sender) Received: from [209.85.216.202] (HELO mail-px0-f202.google.com) (209.85.216.202) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Dec 2009 18:50:50 +0000 Received: by pxi40 with SMTP id 40so1141802pxi.13 for ; Sat, 05 Dec 2009 10:50:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=Q9nakQIKnlRZS7srvFN76xyy3XGlhzKdYugvUEo9xPU=; b=rQ6ebPhNKu7uqvnMSbEc963FHYv/2FXJ6rlji6z/nvuZxtwV2w0zHDCInAWSFZla22 rgH29Pne7Iyh/b//ggqYAneByIfUfqgbp2SnWWFPFB1BMf9vIaYOHkxg9Qw6pC1fFzJK BcdPfmUHC2x7rMjzRyOFBB4LfLE3iTibmzKTo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=NkgeFAfzFU1o08ilbcDVqJwhGZA6GEQiK3eTMO9WeaHAqhz1mhFMkP2/B7XayV2S00 K0AHKQr6wQtcUkcUcp18xfjd9e6u+gZRB7I495EaT3tSspuo8sEyECUsETZzxIkBk+6M 2YPQD1Ajj2+XFBylEY6ZeHXkgwAxsDSYilixY= MIME-Version: 1.0 Sender: jchris@gmail.com Received: by 10.142.59.10 with SMTP id h10mr544442wfa.91.1260039029269; Sat, 05 Dec 2009 10:50:29 -0800 (PST) In-Reply-To: <811d598a0912050248q215cc878h1b08c2b38d73a775@mail.gmail.com> References: <811d598a0912050248q215cc878h1b08c2b38d73a775@mail.gmail.com> Date: Sat, 5 Dec 2009 10:50:29 -0800 X-Google-Sender-Auth: 02bccad9eb0d9740 Message-ID: Subject: Re: CouchDB Returning Different Responses/Errors From: Chris Anderson 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 On Sat, Dec 5, 2009 at 2:48 AM, Steve Anderson wr= ote: > I am working my way through the online version of the O'Reilly book > "CouchDB: The Definitive Guide" by Anderson, Lehnardt and Slater. > > I am on Chapter 3 "Getting Started". =A0I've downloaded and started Couch= DBX, > but am getting errors, or at least different responses, when I run the fi= rst > few commands in chapter 3. > > For example: > > silverlight:~ stevea$ curl http://127.0.0.1:5984/ > {"couchdb":"Welcome","version":"0.10.0"} > > silverlight:~ stevea$ curl -X GET http://127.0.0.1:5984/_all_dbs_ > {"error":"error","reason":"illegal_database_name"} this should be: curl -X GET http://127.0.0.1:5984/_all_dbs hopefully that will help. > > silverlight:~ stevea$ curl -X PUT http://127.0.0.1:5984/baseball > curl: (52) Empty reply from server > this should respond with {"ok":true} if it isn't than maybe there's a problem with your CouchDB. Have you tried running the test suite from Firefox? It is available at http://127.0.0.0:5984/_utils/couch_tests.html > Any ideas? > > Thanks > --=20 Chris Anderson http://jchrisa.net http://couch.io