Fwd: A problem about SCouchDB library
..resend :) ---------- Forwarded message ---------- From: Igor Stasenko <siguctua@gmail.com> Date: 7 April 2010 00:29 Subject: Re: [Pharo-users] A problem about SCouchDB library To: Mariano Martinez Peck <marianopeck@gmail.com> Cc: A friendly place where any question about pharo is welcome <pharo-users@lists.gforge.inria.fr> Oh, i wasn't subscribed to pharo-users (but already do). Thanks for forwarding the mail to me. I replied to zekzekus privately. In short: i can't reproduce the problem in my image. Maybe its because i running it in squeak-based image, not pharo.. But i tend to use/write the code which can't be affected by fork differences. So, zekzekus , please let me know, what image you using and i will try in it. On 6 April 2010 18:41, Mariano Martinez Peck <marianopeck@gmail.com> wrote:
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
-- Best regards, Igor Stasenko AKA sig. -- Best regards, Igor Stasenko AKA sig.
participants (1)
-
Igor Stasenko