Activity log for bug #1834373

Date Who What changed Old value New value Message
2019-06-26 21:35:33 Manuel J. bug added bug
2019-06-26 21:36:11 Manuel J. bug task added deja-dup
2019-06-26 21:37:04 Manuel J. description *Setup* Deja-Dup 40.1 (Snap revision 182) Duplicity 0.8.00 *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/deja-dup/182/lib/python3.6/site-packages/duplicity/backend.py", line 374, in inner_retry DUPLICITY: . return fn(self, *args) DUPLICITY: . File "/snap/deja-dup/182/lib/python3.6/site-packages/duplicity/backend.py", line 557, in get DUPLICITY: . self.backend._get(remote_filename, local_path) DUPLICITY: . File "/snap/deja-dup/182/lib/python3.6/site-packages/duplicity/backends/_boto_single.py", line 271, in _get 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-dup/182/lib/python3.6/site-packages/duplicity/backends/_boto_single.py, wrap all occurences of 'remote_filename' in a call to 'util.fsdecode(...)'. Potentially, there are other variables concerned as well. Thanks. *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/deja-dup/182/lib/python3.6/site-packages/duplicity/backend.py", line 374, in inner_retry DUPLICITY: . return fn(self, *args) DUPLICITY: . File "/snap/deja-dup/182/lib/python3.6/site-packages/duplicity/backend.py", line 557, in get DUPLICITY: . self.backend._get(remote_filename, local_path) DUPLICITY: . File "/snap/deja-dup/182/lib/python3.6/site-packages/duplicity/backends/_boto_single.py", line 271, in _get 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-dup/182/lib/python3.6/site-packages/duplicity/backends/_boto_single.py, wrap all occurences of 'remote_filename' in a call to 'util.fsdecode(...)'. Potentially, there are other variables concerned as well. Thanks.
2019-06-27 22:45:16 Michael Terry branch linked lp:~mterry/duplicity/s3fsdecode
2019-06-29 16:58:42 Kenneth Loafman duplicity: status New Fix Committed
2019-06-29 16:58:47 Kenneth Loafman duplicity: importance Undecided Medium
2019-06-29 16:58:51 Kenneth Loafman duplicity: milestone 0.8.01
2019-07-14 19:41:45 Kenneth Loafman duplicity: status Fix Committed Fix Released
2019-11-14 01:26:00 Michael Terry deja-dup: status New Fix Released