AttributeError: module 'multiprocessing.dummy' has no attribute 'cpu_count'

Bug #1865648 reported by Rob Hasselbaum
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released

Bug Description

Duplicity version: 0.8.10
Python: 3.8
OS: Arch Linux 64-bit
Type of target filesystem: S3


duplicity -v9 --full-if-older-than 1M --encrypt-sign-key <redacted> --s3-use-new-style \
  --s3-use-ia --s3-use-multiprocessing /home/rob s3+http://<redacted>/home/rob

Getting the following exception when starting a backup to S3. Full log attached.

 Traceback (innermost last):
   File "/bin/duplicity", line 100, in <module>
   File "/bin/duplicity", line 86, in with_tempdir
   File "/lib/python3.8/site-packages/duplicity/", line 1525, in main
     action = commandline.ProcessCommandLine(sys.argv[1:])
   File "/lib/python3.8/site-packages/duplicity/", line 1187, in ProcessCommandLine
     backup, local_pathname = set_backend(args[0], args[1])
   File "/lib/python3.8/site-packages/duplicity/", line 1058, in set_backend
     globals.backend = backend.get_backend(bend)
   File "/lib/python3.8/site-packages/duplicity/", line 225, in get_backend
     obj = get_backend_object(url_string)
   File "/lib/python3.8/site-packages/duplicity/", line 211, in get_backend_object
     return factory(pu)
   File "/lib/python3.8/site-packages/duplicity/backends/", line 99, in __init__
   File "/lib/python3.8/site-packages/duplicity/backends/", line 104, in _setup_pool
     number_of_procs = multiprocessing.cpu_count()
  AttributeError: module 'multiprocessing.dummy' has no attribute 'cpu_count'
 Traceback (most recent call last):
   File "/usr/local/bin/duplicity-unattended", line 136, in <module>
   File "/usr/local/bin/duplicity-unattended", line 69, in main
     run(backup_cmd, check=True, env=env)
   File "/usr/lib/python3.8/", line 512, in run
     raise CalledProcessError(retcode, process.args,

Revision history for this message
Rob Hasselbaum (rhasselbaum) wrote :
Changed in duplicity:
status: New → Incomplete
status: Incomplete → Fix Committed
importance: Undecided → Medium
milestone: none → 0.8.12
Changed in duplicity:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments