Trouble Accessing With Paws Python Code |
Trouble Accessing With Paws Python Code |
Jun 11 2008, 08:07 AM
Post
#1
|
|
|
|
I'm running Python 2.5.2 with the latest version of lxml.
When I try to connect to AWS with the python PAWS code, I receive the following error. Any idea what I'm doing wrong? I have environment variables set for AWS_ACCESS_KEY and AWS_SECRET_KEY. Thanks in advance for any assistance... >>> import S3 >>> svc = S3.S3() >>> svc.list_buckets() Body: <ListAllMyBucketsResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"> <Owner> <ID>[snipped]</ID> <DisplayName>allan</DisplayName> </Owner> <Buckets/> </ListAllMyBucketsResult> Traceback (most recent call last): File "<stdin>", line 1, in <module> File "S3.py", line 95, in list_buckets for node in self.xpath_list('//ns:Buckets/ns:Bucket', xmldoc): File "AWS.py", line 448, in xpath_list return xml_object.xpath(query, {'ns':self.XML_NAMESPACE}) TypeError: function takes at most 1 positional arguments (2 given) |
|
|
|
Allan Trouble Accessing With Paws Python Code Jun 11 2008, 08:07 AM
James Murty This error seems to be caused by a change introduc... Jun 12 2008, 03:57 AM
paulinabalk QUOTE (James Murty @ Jun 12 2008, 03:57 A... Oct 8 2009, 04:21 AM![]() ![]() |
|
Lo-Fi Version | Time is now: 22nd November 2009 - 04:15 PM |