Menu

#71 KeyError: 'dest_name'

Malfunction
closed-fixed
nobody
s3cmd (120)
5
2015-02-09
2010-10-21
Anonymous
No

command had been something like this:

s3cmd mv s3://bucket/old/* s3://bucket/new/

Problem: KeyError: 'dest_name'
S3cmd: 0.9.9.91

Traceback (most recent call last):
File "/usr/bin/s3cmd", line 1736, in <module>
main()
File "/usr/bin/s3cmd", line 1681, in main
cmd_func(args)
File "/usr/bin/s3cmd", line 582, in cmd_mv
subcmd_cp_mv(args, s3.object_move, "move", "File %(src)s moved to %(dst)s")
File "/usr/bin/s3cmd", line 568, in subcmd_cp_mv
dst_uri = S3Uri(item['dest_name'])
KeyError: 'dest_name'

Discussion

  • Matt Domsch

    Matt Domsch - 2015-02-09

    Fixed in 1.5.2 and some earlier releases.

     
  • Matt Domsch

    Matt Domsch - 2015-02-09
    • status: open --> closed-fixed
     

Log in to post a comment.