couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Søren Hilmer ...@widetrail.dk>
Subject Re: {"error":"bad_request","reason":"invalid UTF-8 JSON"}
Date Mon, 14 Dec 2009 19:24:39 GMT
Thanks, for the info it's always nice to know the reason.

--Søren

On Monday 14 December 2009 10:15:47 Brian Candler wrote:
> 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.


-- 
Søren Hilmer, M.Sc., M.Crypt.
wideTrail                       Phone:  +45 25481225
Pilevænget 41           Email:  sh@widetrail.dk
DK-8961  Allingåbro     Web:    www.widetrail.dk

Mime
  • Unnamed multipart/alternative (inline, 7-Bit, 0 bytes)
View raw message