Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#117 An error occurs at the end of multipart upload.

Malfunction
open
nobody
s3cmd (117)
5
2013-02-19
2012-05-02
Anonymous
No

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
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Discussion