Skip to content

Problem: <class 'TypeError: %d format: a number is required, not NoneType #967

@HyperDevil

Description

@HyperDevil

S3cmd: 2.0.1
python: 3.6.5 (default, Apr 14 2018, 13:17:30)
[GCC 7.3.1 20180406]
environment LANG=en_US.UTF-8

Traceback (most recent call last):
File "/usr/bin/s3cmd", line 1316, in _download
response = s3.object_get(uri, dst_stream, dst_file, extra_label = seq_label)
File "/usr/lib/python3.6/site-packages/S3/S3.py", line 715, in object_get
response = self.recv_file(request, stream, labels, start_position)
File "/usr/lib/python3.6/site-packages/S3/S3.py", line 1612, in recv_file
http_response = conn.c.getresponse()
File "/usr/lib/python3.6/http/client.py", line 1331, in getresponse
response.begin()
File "/usr/lib/python3.6/site-packages/S3/Custom_httplib3x.py", line 53, in httpresponse_patched_begin
version, status, reason = self._read_status()
File "/usr/lib/python3.6/http/client.py", line 266, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/bin/s3cmd", line 3073, in
rc = main()
File "/usr/bin/s3cmd", line 2989, in main
rc = cmd_func(args)
File "/usr/bin/s3cmd", line 1875, in cmd_sync
return cmd_sync_remote2local(args)
File "/usr/bin/s3cmd", line 1470, in cmd_sync_remote2local
ret, seq, size_transferred = _download(remote_list, seq, remote_count + update_count, size_transferred, dir_cache)
File "/usr/bin/s3cmd", line 1347, in _download
error(u"Download of '%s' failed (Reason: Unknown OsError %d)" % (file, exc.errno))
TypeError: %d format: a number is required, not NoneType

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions