file prefix not working in python 3

Bug #1842041 reported by Yajo
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

- Install duplicity 0.8.03 under python 3.7.
- Make a backup using the options --file-prefix-archive, --file-prefix-manifest and --file-prefix-signature.
- You get an error.

Here's the error:

Traceback (innermost last):
  File "/usr/local/bin/duplicity", line 101, in <module>
  File "/usr/local/bin/duplicity", line 87, in with_tempdir
  File "/usr/local/lib/python3.7/site-packages/duplicity/", line 1533, in main
  File "/usr/local/lib/python3.7/site-packages/duplicity/", line 1555, in do_backup
  File "/usr/local/lib/python3.7/site-packages/duplicity/", line 738, in set_values
    pr = file_naming.parse(local_filename)
  File "/usr/local/lib/python3.7/site-packages/duplicity/", line 413, in parse
    pr = check_full()
  File "/usr/local/lib/python3.7/site-packages/duplicity/", line 323, in check_full
  File "/usr/local/lib/python3.7/site-packages/duplicity/", line 64, in prepare_regex
    full_vol_re = re.compile(b"^" + globals.file_prefix + globals.file_prefix_archive + b"duplicity-full"
 TypeError: can't concat str to bytes

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

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