Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 63375 invoked from network); 10 Jan 2009 16:57:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Jan 2009 16:57:54 -0000 Received: (qmail 94531 invoked by uid 500); 10 Jan 2009 16:57:52 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 94490 invoked by uid 500); 10 Jan 2009 16:57:52 -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 94479 invoked by uid 99); 10 Jan 2009 16:57:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Jan 2009 08:57:52 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of dundeemt@gmail.com designates 209.85.198.236 as permitted sender) Received: from [209.85.198.236] (HELO rv-out-0506.google.com) (209.85.198.236) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Jan 2009 16:57:45 +0000 Received: by rv-out-0506.google.com with SMTP id g37so9814219rvb.35 for ; Sat, 10 Jan 2009 08:57:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :to:subject:in-reply-to:mime-version:content-type:references; bh=K/+4cIqzvfPLhAcy9WmeL1/mg6CogvrFgFMa2t1aAwY=; b=eSHF/Cr2fCUukuiRnfjan3P7TLRQvY2fS01HxRKN9HW7XDySzqvCDNsMlwSiH9KvLb i1+cFFJdO7szkdzYEgjyR9G+Lsw2VUR2002f2qKDM+waoMHc6dIsR6JNiDU19UF6+Ghy U1t7PHAKeySrXCDvrMToQ+rqvW4fAdlTPNtqs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:in-reply-to:mime-version :content-type:references; b=tBr8UKo3FXW+QrV6auY53aikTyPwsHk+7SGxlA/t6KpVQOM4QkMxw0Ef3+jxPP6Zrk /t5NfgKDb/gZplSM2X6qmgK8OkuMzIIAYvySc2ogI5DeC+KZuA8s+pX4RlK9xmTuG5t8 VHHvastPPQWVc/PSCbFhLckoMvZckWuaS+jCo= Received: by 10.141.63.20 with SMTP id q20mr13410074rvk.106.1231606644489; Sat, 10 Jan 2009 08:57:24 -0800 (PST) Received: by 10.140.174.4 with HTTP; Sat, 10 Jan 2009 08:57:24 -0800 (PST) Message-ID: <5aaed53f0901100857v4a3b0f69vb08e2adeedd6f06f@mail.gmail.com> Date: Sat, 10 Jan 2009 10:57:24 -0600 From: "Jeff Hinrichs - DM&T" Reply-To: tech@dundeemt.com To: user@couchdb.apache.org Subject: Re: 405 Method Not Allowed In-Reply-To: <8854166C-D104-40A8-86C3-CFC32E0CB8E7@apache.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_204755_25913245.1231606644482" References: <5aaed53f0901092035m2baf4517gd5634a7883a51686@mail.gmail.com> <8854166C-D104-40A8-86C3-CFC32E0CB8E7@apache.org> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_204755_25913245.1231606644482 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Ok, this might be better in a new thread, but I am back to 0.9.0a733275-incubating -- attachments and everything else appears to be working, test_suite runs without problems and so does my code. However, futon appears to be broken and I'm not running the firefox beta, I'm on 3.0.5. When you view a database, view all documents works, it shows both my docs and the design docs. But any attempt in any browser tried ff3.0.5, opera, etc to switch the view to design or custom query doesn't modify the interface at all. The dropdown shows my programmatically added views though. I have verified using the dbs created by the test_suite and even created a db using futon thinking something about my programmatically added docs and queries was causing problems but the result is still the same. Any one else experiencing similiar? This is painful for me, because being new to couchdb, the custom query and the ability to modify existing queries was allowing me to learn at a much quicker pace. Any ideas on what I might try to figure out why futon is acting this way? (No, I haven't applied the patches suggested earlier because they seem to be related to the beta of ff which I am not running.) Regards, Jeff On Sat, Jan 10, 2009 at 5:01 AM, Jan Lehnardt wrote: > > On 10 Jan 2009, at 05:35, Jeff Hinrichs - DM&T wrote: > > I've been using couchdb-python and ran into the 405 when I tried to >> attachments. At first I thought it was the couchdb-python interface or my >> naive use of same. So I tried curl, see below... >> >> (couch1)jlh@jlh-d520:~/Projects/venvs/couch1$ curl -H "Content-Type: >> application/octet-stream" -T fm.txt >> localhost:5984/delasco-tests/12b7b28c79ff3fdebe5240bc27a0aa44/ -v >> * About to connect() to localhost port 5984 (#0) >> * Trying 127.0.0.1... connected >> * Connected to localhost (127.0.0.1) port 5984 (#0) >> >>> PUT /delasco-tests/12b7b28c79ff3fdebe5240bc27a0aa44/fm%2Etxt HTTP/1.1 >>> >> > The standalone attachment API is in trunk and not in 0.8.x > > Cheers > Jan > -- > > > >>> User-Agent: curl/7.18.0 (i486-pc-linux-gnu) libcurl/7.18.0 OpenSSL/0.9.8g >>> >> zlib/1.2.3.3 libidn/1.1 >> >>> Host: localhost:5984 >>> Accept: */* >>> Content-Type: application/octet-stream >>> Content-Length: 7336 >>> Expect: 100-continue >>> >>> < HTTP/1.1 405 Method Not Allowed >> < Server: CouchDB/0.8.1-incubating (Erlang OTP/R11B) >> < Date: Sat, 10 Jan 2009 04:14:46 GMT >> < Content-Length: 0 >> < Allow: GET,HEAD >> < >> % Total % Received % Xferd Average Speed Time Time Time >> Current >> Dload Upload Total Spent Left >> Speed >> 0 7336 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- >> 0* Connection #0 to host localhost left intact >> >> * Closing connection #0 >> >> I was at 0.8 and getting the 405's so I upped my couchdb to the latest in >> svn and the couchdb-python interface appeared to work, attachemnts didn't >> create errors but futon was borked when viewing with Firefox 3.0.5 -- it >> wouldn't list the contents of the couchdbs and views didn't work in futon. >> So I downgraded back to 0.8.1 by svn tags. >> >> I'm betting i've done something rather wrong in my setup or in my use of >> the >> python interface or curl, so if someone wouldn't mind getting out a clue >> stick and pointing me in the right direction, I'd appreciate it :) >> >> -Jeff > > ------=_Part_204755_25913245.1231606644482--