From: Sahil T. <sah...@gm...> - 2013-05-26 00:46:32
|
Problem: NameError: global name 'arg' is not defined S3cmd: 1.5.0-alpha1 Traceback (most recent call last): File "/usr/local/bin/s3cmd", line 2037, in <module> main() File "/usr/local/bin/s3cmd", line 1978, in main cmd_func(args) File "/usr/local/bin/s3cmd", line 1162, in cmd_sync return cmd_sync_local2remote(args) File "/usr/local/bin/s3cmd", line 1151, in cmd_sync_local2remote _invalidate_on_cf(destination_base_uri) File "/usr/local/bin/s3cmd", line 1123, in _invalidate_on_cf result = cf.InvalidateObjects(destination_base_uri, uploaded_objects_list, default_index_file, cfg.invalidate_default_index_on_cf, cfg.invalidate_default_index_root_on_cf) File "/Library/Python/2.7/site-packages/S3/CloudFront.py", line 445, in InvalidateObjects cfuri = self.get_dist_name_for_bucket(uri) File "/Library/Python/2.7/site-packages/S3/CloudFront.py", line 591, in get_dist_name_for_bucket raise ParameterError("Unable to translate S3 URI to CloudFront distribution name: %s" % arg) NameError: global name 'arg' is not defined |