couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Evans" <>
Subject 500 Error ('EXIT', {noproc, ...
Date Fri, 25 Jul 2008 17:55:25 GMT
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',
[info] [<0.60.0>] - - "GET /my-database/_view/my-objects/all" 500

On the python side I get this:
line 509, in read
    return self._read_chunked(amt)
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

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?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message