Return-Path: Delivered-To: apmail-incubator-couchdb-user-archive@locus.apache.org Received: (qmail 42685 invoked from network); 25 Jul 2008 17:55:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Jul 2008 17:55:56 -0000 Received: (qmail 9026 invoked by uid 500); 25 Jul 2008 17:55:54 -0000 Delivered-To: apmail-incubator-couchdb-user-archive@incubator.apache.org Received: (qmail 9005 invoked by uid 500); 25 Jul 2008 17:55:54 -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 8963 invoked by uid 99); 25 Jul 2008 17:55:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jul 2008 10:55:54 -0700 X-ASF-Spam-Status: No, hits=2.9 required=10.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,SPF_PASS,URIBL_RHS_DOB X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lgastako@gmail.com designates 209.85.132.250 as permitted sender) Received: from [209.85.132.250] (HELO an-out-0708.google.com) (209.85.132.250) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jul 2008 17:55:00 +0000 Received: by an-out-0708.google.com with SMTP id b38so676737ana.83 for ; Fri, 25 Jul 2008 10:55:25 -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:sender :to:subject:mime-version:content-type:x-google-sender-auth; bh=iV6F4TuJs7Jc/F6bP0ndAQj4N7E5D1aFaDxCKwiDm8Q=; b=mY1aDCVbO934NGnZPAGE8Wd+qcvTwQeU+IvXt67NsD+1wjwEE3xCm8bzpdvZNF/tch Smx8J+RmMFSx396+K/Mi11/0YfMAAGTltmyfKkN3y/XtgewgwNbg6JymDWV3NekmmlPp L5CX+J1NgtD5DjBjTffidnY9WHWcpTYxvCdGs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:mime-version:content-type :x-google-sender-auth; b=kjIE1k2gRvDNOABCLOb1PGOZgfbaMKPiES2wKGe4yG0Az8MroYUtPm94pGEBYp5seP pCoe1jhl1O4wmShdM24mCB+VwGV8T3s3CdPGNVDQ0SJqPPlnj6OWZtSJnkD96qjhk8tn yiJF+bwL0aNTwJ4zsyLefPCf2b5b8pk1JWqfQ= Received: by 10.100.110.15 with SMTP id i15mr3396209anc.97.1217008525453; Fri, 25 Jul 2008 10:55:25 -0700 (PDT) Received: by 10.150.219.11 with HTTP; Fri, 25 Jul 2008 10:55:25 -0700 (PDT) Message-ID: <6f7ea56f0807251055n494bbf8se060c34b1f997e09@mail.gmail.com> Date: Fri, 25 Jul 2008 10:55:25 -0700 From: "John Evans" Sender: lgastako@gmail.com To: couchdb-user@incubator.apache.org Subject: 500 Error ('EXIT', {noproc, ... MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_7190_19087367.1217008525418" X-Google-Sender-Auth: 3bac04429360c342 X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_7190_19087367.1217008525418 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I am trying to access a view on my server (from a python client) and am getting back a 500 error. I see the following in the couchdb console: [info] [<0.60.0>] HTTP Error (code 500): {'EXIT', {noproc, {gen_server,call, [<0.105.0>,{pread_bin,47322127}]}}} [info] [<0.60.0>] 127.0.0.1 - - "GET /my-database/_view/my-objects/all" 500 On the python side I get this: ... File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/httplib.py", line 509, in read return self._read_chunked(amt) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/httplib.py", line 548, in _read_chunked chunk_left = int(line, 16) ValueError: invalid literal for int() with base 16: 'HTTP/1.1 500 Internal Server Error\r\n' But if I hit the same view with curl, everything works fine. My python client has been working fine for everything else I've tried to do, but it fails consistently in this same manner with this particular view. Obviously the problem with the python code is that httplib is having trouble parsing the response, but the root cause is the fact that I'm getting a 500 error in the first palce. FWIW, I'm setting the same HTTP headers (just one actually, "Accept: application/json") in the curl request as in the python client. Has anyone seen this type of error before? Or is there anywhere I can look for more detail on the cause of the 500 error within couchdb? - John ------=_Part_7190_19087367.1217008525418--