Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2007-08-20 17:01:34


on Mon Aug 20 2007, "Raja Cherukuri" <raja-AT-transerainc.com> wrote:

> I am trying to connect to server that responds with XML.
> Here is the error I see:
> Traceback (most recent call last):
> File "<string>", line 1, in ?
> TypeError: unsubscriptable object

Again, try printing response:

       print response

also,

       print type(response)

That should be revealing. This is not a Boost.Python problem.

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com
The Astoria Seminar ==> http://www.astoriaseminar.com

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net