When I try to put a specific file with using multipart upload, an error occurs at the end of the process.
The file's size is 204313935bytes, multipart_chunk_size_mb is set to 50.
---- log ----
INFO: Compiling list of local files...
INFO: Applying --exclude/--include
INFO: Summary: 1 local files to upload
WARNING: python-magic is not available, guessing MIME types based on file extensions only
INFO: Sending file '/path/to/file.tar.gz', please wait...
INFO: Sending file '/path/to/file.tar.gz', please wait...
INFO: Sending file '/path/to/file.tar.gz', please wait...
INFO: Sending file '/path/to/file.tar.gz', please wait...
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
An unexpected error has occurred.
Please report the following lines to:
s3tools-bugs@lists.sourceforge.net
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Problem: KeyErr: 'size'
S3cmd: 1.1.0-beta2
Traceback (most recent call last):
File "/usr/bin/s3cmd", line 1804, in ?
main()
File "/usr/bin/s3cmd", line 1745, in main
cmd_func(args)
File "/usr/bin/s3cmd", line 308, in cmd_object_put
output(u"File '%s' stored as '%s' (%d bytes in %0.1f seconds, %0.2f %sB/s) %s" %
KeyError: 'size'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
An unexpected error has occurred.
Please report the above lines to:
s3tools-bugs@lists.sourceforge.net
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
I believe this is fixed in 1.5.2.