Backup to S3 not possible due to Python3 decoding error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
Fix Released
|
Medium
|
Unassigned | ||
Déjà Dup |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
*Setup*
Deja-Dup 40.1 (Snap revision 182)
Duplicity 0.8.00
Ubuntu 18.04
*How to reproduce*
Attempt a (encrypted) backup via `deja-dup --backup` to S3. Observe the following output:
*Actual output* (by specifying DEJA_DUP_DEBUG=1)
On GUI: "Giving up after 5 attempts. TypeError: must be str, not bytes"
DEBUG output:
---
Backtrace of previous error: Traceback (innermost last):
DUPLICITY: . File "/snap/
DUPLICITY: . return fn(self, *args)
DUPLICITY: . File "/snap/
DUPLICITY: . self.backend.
DUPLICITY: . File "/snap/
DUPLICITY: . key_name = self.key_prefix + remote_filename
DUPLICITY: . TypeError: must be str, not bytes
---
*Expected behaviour*
Seamless backup to S3.
*Suggested fix*
In /snap/deja-
Potentially, there are other variables concerned as well.
Thanks.
Related branches
- duplicity-team: Pending requested
-
Diff: 40 lines (+6/-0)1 file modifiedduplicity/backends/_boto_single.py (+6/-0)
description: | updated |
Changed in duplicity: | |
status: | New → Fix Committed |
importance: | Undecided → Medium |
milestone: | none → 0.8.01 |
Changed in duplicity: | |
status: | Fix Committed → Fix Released |
Changed in deja-dup: | |
status: | New → Fix Released |
Duplicity patch here: https:/ /code.launchpad .net/~mterry/ duplicity/ s3fsdecode/ +merge/ 369429
A new snap with it included is coming.