I don't know if Igor is in this mailing list...but just in case I cc him. Maybe he can help you. Cheers Mariano On Tue, Apr 6, 2010 at 4:48 PM, zekUs <zekzekus@gmail.com> wrote:
Hi,
this is not a directly pharo specific question but i guess here is the right place to ask.
i am playing with scouchdb library. i have a problem. i am trying to evaluate the code below:
| dbAdaptor | dbAdaptor := SCouchDBAdaptor new host: '10.24.5.38' port: 5984. dbAdaptor databases.
and there is an exception raised: "JSSyntaxError: Missing Comma". it looks like a problem with JSON package but when i debug and inspect the response object in SCouchDBAdaptor>>databases method, i can see the content of the response is nil. but the data i need is in the inBuffer field under cstream of the response. below snippet is the data from response objects' cstream. the data in inBuffer field:
'HTTP/1.1 200 OK Server: CouchDB/0.10.0 (Erlang OTP/R13B) Date: Tue, 06 Apr 2010 13:43:39 GMT Content-Type: application/json Content-Length: 21 Cache-Control: must-revalidate
["baseball","hasan"]
am i doing something wrong?
best regards.
-- zekUs - http://zekzekus.com/blog
_______________________________________________ Pharo-users mailing list Pharo-users@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users