-
-
Notifications
You must be signed in to change notification settings - Fork 910
RuntimeError: dictionary changed size during iteration #945
Copy link
Copy link
Closed
Labels
Description
Hello, I'm forwarding from bugs.debian.org/885914
Package: s3cmd
Version: 2.0.1-1
Severity: grave
Justification: renders package unusable
Dear Maintainer,
s3cmd put is failing with:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
An unexpected error has occurred.
Please try reproducing the error using
the latest s3cmd code from the git master
branch found at:
https://github.com/s3tools/s3cmd
and have a look at the known issues list:
https://github.com/s3tools/s3cmd/wiki/Common-known-issues-and-their-solutions
If the error persists, please report the
following lines (removing any private
info as necessary) to:
s3tools-bugs@lists.sourceforge.net
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Invoked as: /usr/bin/s3cmd --ssl --config=/tmp/tmp.akNQcIMsdc --acl-private put --cache-file=«path»/.s3cmd.cache --encrypt «files...» s3://«bucket»/
Problem: <class 'RuntimeError: dictionary changed size during iteration
S3cmd: 2.0.1
python: 3.6.4 (default, Dec 19 2017, 14:09:48)
[GCC 7.2.0]
environment LANG=en_GB.UTF-8
Traceback (most recent call last):
File "/usr/bin/s3cmd", line 3073, in <module>
rc = main()
File "/usr/bin/s3cmd", line 2989, in main
rc = cmd_func(args)
File "/usr/bin/s3cmd", line 364, in cmd_object_put
local_list, single_file_local, exclude_list, total_size_local = fetch_local_list(args, is_src = True)
File "/usr/lib/python3/dist-packages/S3/FileLists.py", line 353, in fetch_local_list
_maintain_cache(cache, local_list)
File "/usr/lib/python3/dist-packages/S3/FileLists.py", line 311, in _maintain_cache
cache.purge()
File "/usr/lib/python3/dist-packages/S3/HashCache.py", line 49, in purge
for i in self.inodes[d].keys():
RuntimeError: dictionary changed size during iteration
/tmp/tmp.akNQcIMsdc contains:
[default]
access_key = «access key»
acl_public = False
bucket_location = EU
cloudfront_host = cloudfront.amazonaws.com
cloudfront_resource = /2008-06-30/distribution
default_mime_type = binary/octet-stream
delete_removed = False
dry_run = False
encoding = UTF-8
encrypt = False
force = False
get_continue = False
gpg_command = /usr/bin/gpg
gpg_decrypt = %(gpg_command)s --homedir /usr/local/backups/gpghome -d --verbose --no-use-agent --batch --yes --passphrase-fd %(passphrase_fd)s -o %(output_file)s %(input_file)s
gpg_encrypt = %(gpg_command)s --homedir /usr/local/backups/gpghome --cipher-algo AES256 -c --verbose --no-use-agent --batch --yes --passphrase-fd %(passphrase_fd)s -o %(output_file)s %(input_file)s
gpg_passphrase = «passphrase»
guess_mime_type = True
host_base = s3.amazonaws.com
host_bucket = %(bucket)s.s3.amazonaws.com
human_readable_sizes = False
list_md5 = False
preserve_attrs = True
progress_meter = True
proxy_host =
proxy_port = 0
recursive = False
recv_chunk = 4096
secret_key = «secret key»
send_chunk = 4096
simpledb_host = sdb.amazonaws.com
skip_existing = False
use_https = True
verbosity = WARNING
socket_timeout=60
Downgrading to 1.6.1-1 frm Stretch without changing any other packages works
ok.
Thanks,
Ian.
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf, armel, arm64
Kernel: Linux 4.13.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages s3cmd depends on:
ii python3 3.6.4~rc1-2
ii python3-dateutil 2.6.1-1
ii python3-magic 1:5.32-1
s3cmd recommends no packages.
s3cmd suggests no packages.
-- no debconf information
Reactions are currently unavailable