incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Candler <B.Cand...@pobox.com>
Subject Re: {"error":"bad_request","reason":"invalid UTF-8 JSON"}
Date Mon, 14 Dec 2009 09:15:47 GMT
On Sun, Dec 13, 2009 at 08:24:08PM +0100, Søren Hilmer wrote:
> Sorry, I do not remember, it was one of the first 0.11 or one of the last 0.10. 

Ah, now I remember; I had the same problem when I went from couchdb which
bundled mochiweb-r97 to couchdb which bundled mochiweb-r113. I was getting a
whole load of "invalid JSON" failures until I removed
/usr/local/lib/couchdb/erlang/lib/mochiweb-r97

The problem appears to be that erlang compares stringwise, so "r97" > "r113"

Regards,

Brian.

Mime
View raw message