Hi,

The script is executable, and, as far as I can tell the python path is
correct (I can import all the libs).
Am I doing something obviously wrong? Should I update to a more recent couch
build?

The newer versions of CouchDB have a more obvious "invalid JSON" error
but probably won't magically fix your problem.

yeah, I was wondering if there was some 'known fix', but couldn't see anything online...

I don't know about the python view server - is yield the equivalent of emit?

I believe so, though maybe I need something more like:

def mapfun(doc): yield doc['name'], doc['age']

(which also doesn't work, with the same error).

If the equivalent function works in JS, then the problem is likely to do with
what's being printed by your python view server.

I'll have a prod at it later today...
Cheers
Simon

Reply via email to