<div dir="ltr"><div class="gmail_extra"><div class="gmail_extra" style>Output:</div><div class="gmail_extra"><br></div><div class="gmail_extra">>>> c.get_container("test")</div><div class="gmail_extra">REQ: curl -i <a href="http://192.168.111.215:8080/v1/[AUTH]?format=json">http://192.168.111.215:8080/v1/[AUTH]?format=json</a> -X GET -H "X-Auth-Token: [TOKEN]"</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">DEBUG:swiftclient:REQ: curl -i <a href="http://192.168.111.215:8080/v1/[AUTH]?format=json">http://192.168.111.215:8080/v1/[AUTH]?format=json</a> -X GET -H "X-Auth-Token: [TOKEN]"</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">RESP STATUS: 200</div><div class="gmail_extra"><br></div><div class="gmail_extra">DEBUG:swiftclient:RESP STATUS: 200</div><div class="gmail_extra"><br></div><div class="gmail_extra">
RESP BODY: [{"hash": "fbaf48ec981a5eecdb57b929fdd426e8", "last_modified": "2013-01-07T18:07:17.289060", "bytes": 200, "name": "test_object", "content_type": "application/octet-stream"}]</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">DEBUG:swiftclient:RESP BODY: [{"hash": "fbaf48ec981a5eecdb57b929fdd426e8", "last_modified": "2013-01-07T18:07:17.289060", "bytes": 200, "name": "test_object", "content_type": "application/octet-stream"}]</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">({'content-length': '174', 'x-container-object-count': '1', 'accept-ranges': 'bytes', 'x-container-bytes-used': '200', 'x-timestamp': '1357299184.84634', 'date': 'Tue, 08 Jan 2013 16:01:45 GMT', 'content-type': 'application/json; charset=utf-8'}, [{'bytes': 200, 'last_modified': '2013-01-07T18:07:17.289060', 'hash': 'fbaf48ec981a5eecdb57b929fdd426e8', 'name': 'test_object', 'content_type': 'application/octet-stream'}])</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">>>> c.get_container("test")</div><div class="gmail_extra">Traceback (most recent call last):</div><div class="gmail_extra">  File "<stdin>", line 1, in <module></div>
<div class="gmail_extra">  File "swiftclient/client.py", line 1053, in get_container</div><div class="gmail_extra">    full_listing=full_listing)</div><div class="gmail_extra">  File "swiftclient/client.py", line 1000, in _retry</div>
<div class="gmail_extra">    rv = func(self.url, self.token, *args, **kwargs)</div><div class="gmail_extra">  File "swiftclient/client.py", line 505, in get_container</div><div class="gmail_extra">    resp = conn.getresponse()</div>
<div class="gmail_extra">  File "/usr/lib/python2.7/dist-packages/swift/common/bufferedhttp.py", line 103, in getresponse</div><div class="gmail_extra">    logging.debug(_("HTTP PERF: %(time).5f seconds to %(method)s "</div>
<div class="gmail_extra">TypeError: 'tuple' object is not callable</div><br><div class="gmail_quote">On Tue, Jan 8, 2013 at 3:58 PM, Chmouel Boudjnah <span dir="ltr"><<a href="mailto:chmouel@chmouel.com" target="_blank">chmouel@chmouel.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">SWIFTCLIENT_DEBUG=true</blockquote></div><br></div></div>