Undefined symbol name boto prevents backups to S3

Bug #1833827 reported by Manuel J.
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Duplicity
Fix Released
Medium
Unassigned
Déjà Dup
Fix Released
Undecided
Unassigned

Bug Description

The following error is produced, when attempting to run a backup to S3.
This bug blocks backups completely.

---
Traceback (innermost last):
  File "/snap/deja-dup/178/bin/duplicity", line 1706, in <module>
    with_tempdir(main)
  File "/snap/deja-dup/178/bin/duplicity", line 1692, in with_tempdir
    fn()
  File "/snap/deja-dup/178/bin/duplicity", line 1525, in main
    action = commandline.ProcessCommandLine(sys.argv[1:])
  File "/snap/deja-dup/178/lib/python3.6/site-packages/duplicity/commandline.py", line 1189, in ProcessCommandLine
    globals.backend = backend.get_backend(args[0])
  File "/snap/deja-dup/178/lib/python3.6/site-packages/duplicity/backend.py", line 228, in get_backend
    obj = get_backend_object(url_string)
  File "/snap/deja-dup/178/lib/python3.6/site-packages/duplicity/backend.py", line 214, in get_backend_object
    return factory(pu)
  File "/snap/deja-dup/178/lib/python3.6/site-packages/duplicity/backends/_boto_single.py", line 173, in __init__
    self.resetConnection()
  File "/snap/deja-dup/178/lib/python3.6/site-packages/duplicity/backends/_boto_single.py", line 193, in resetConnection
    self.storage_uri = boto.storage_uri(self.boto_uri_str)
 NameError: name 'boto' is not defined
---

Duplicity version 0.8.00
Deja-Dup version: 40.1 (via snap)
Python version: 3.6
OS: Ubuntu 18.04
Filesystem: Linux

Related branches

Manuel J. (maennel)
description: updated
Revision history for this message
Michael Terry (mterry) wrote :

The deja-dup snap now includes a patch for this.

Changed in deja-dup:
status: New → Fix Released
Revision history for this message
Manuel J. (maennel) wrote :

Thank you @mterry for updating the snap so quickly and proposing a patch to Duplicity.
Much appreciated!

Changed in duplicity:
status: New → Fix Committed
milestone: none → 0.8.01
importance: Undecided → Medium
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

Remote bug watches

Bug watches keep track of this bug in other bug trackers.