couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Hunter <>
Subject Re: Server Error 500 unknown query language, python
Date Wed, 31 Aug 2011 23:10:36 GMT
Thanks for getting back.

I have to assume the code's been tested pretty rigorously, as it's straight
from an O'Reilly book. I know that doesn't mean the code is perfect, but
surely they wouldn't say CouchDB will do something it can't. Or would it?

At any rate, shortly after posting I found this post from last year:

that advises I pop this in the local.ini:
python = /usr/local/bin/couchpy

I'll try it when I get home.

On Wed, Aug 31, 2011 at 4:04 PM, Jens Alfke <> wrote:

> On Aug 31, 2011, at 3:29 PM, Ben Hunter wrote:
> I am merely running through some of the exercises in 'Mining the Social
> Web'. All the programs that store data to CouchDB work fine, but when the
> couchdb module is used to create a view, it throws 'Server error 500
> unknown
> query language python’.
> As far as I know, CouchDB doesn’t support writing view functions in Python,
> only JavaScript and Erlang. Unless there’s an external view server that
> implements this; but that’s not a standard part of CouchDB, rather something
> extra you’d have to install. Maybe double-check the installation/setup
> instructions in the book?
> —Jens

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