From: Michal L. <mi...@lo...> - 2009-05-10 23:15:59
|
Hi Matthieu, thanks for the report. What command did you run? Is the issue reproducible? CF support seems to work for me just fine in my tests. Michal Matthieu Huguet wrote: > Problem: ValueError: time data did not match format: > data=2009-05-09T08:37:37.44Z fmt=%Y-%m-%dT%H:%M:%S.000Z > S3cmd: 0.9.9 > Python: 2.5.2 (r252:60911, Jul 31 2008, 17:31:22) [GCC 4.2.3 (Ubuntu > 4.2.3-2ubuntu7)] > > Traceback (most recent call last): > File "/usr/bin/s3cmd", line 1562, in <module> > main() > File "/usr/bin/s3cmd", line 1542, in main > cmd_func(args) > File "/usr/lib/python2.5/site-packages/S3/CloudFront.py", line 403, in > info > response = cf.GetDistInfo(cfuri) > File "/usr/lib/python2.5/site-packages/S3/CloudFront.py", line 264, in > GetDistInfo > response['distribution'] = Distribution(response['data']) > File "/usr/lib/python2.5/site-packages/S3/CloudFront.py", line 105, in > __init__ > self.parse(tree) > File "/usr/lib/python2.5/site-packages/S3/CloudFront.py", line 110, in > parse > self.info <http://self.info>['LastModifiedTime'] = > dateS3toPython(self.info <http://self.info>['LastModifiedTime']) > File "/usr/lib/python2.5/site-packages/S3/Utils.py", line 108, in > dateS3toPython > return time.strptime(date, "%Y-%m-%dT%H:%M:%S.000Z") > File "/usr/lib/python2.5/_strptime.py", line 330, in strptime > (data_string, format)) > ValueError: time data did not match format: > data=2009-05-09T08:37:37.44Z fmt=%Y-%m-%dT%H:%M:%S.000Z |