Menu

#82 ZeroDivisionError s3cmd-1.0.0

open
nobody
None
5
2013-02-19
2011-02-17
Mark Feeney
No

Getting a ZeroDivisionError form s3cmd v1.0.0 when the sync command has nothing to do. Appears to be the same as http://sourceforge.net/mailarchive/message.php?msg_id=26905461, but I'm on Ubuntu (9.04) Linux, not Windows. I'm also on a very fast link, which is possibly triggering this.

Command was very simple:
s3cmd sync s3://mybucket/folder/ /localdir/folder/

Here's the error output:

Problem: ZeroDivisionError: float division
S3cmd: 1.0.0

Traceback (most recent call last):
File "/usr/bin/s3cmd", line 2006, in <module>
main()
File "/usr/bin/s3cmd", line 1950, in main
cmd_func(args)
File "/usr/bin/s3cmd", line 1213, in cmd_sync
return cmd_sync_remote2local(args)
File "/usr/bin/s3cmd", line 1056, in cmd_sync_remote2local
speed_fmt = formatSize(total_size/total_elapsed, human_readable = True, floating_point = True)
ZeroDivisionError: float division

Thanks!

Discussion


Log in to post a comment.