duplicity does not handle accentuated character for folder path to save

Bug #1816232 reported by Thierry B.
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Duplicity
New
Undecided
Unassigned

Bug Description

Duplicity version 0.8-series. (rev 1348)
Pyhon 2.7
Distro: Devuan GNU/Linux ascii

duplicity --verbosity debug --num-retries 3 --asynchronous-upload --cf-backend pca --volsize 100 ~/Téléchargements/ swift://thierrybo-desk_tests
/usr/local/bin/duplicity:69: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
  if u'--pydevd' in sys.argv or os.getenv(u'PYDEVD', None):
Using temporary directory /tmp/duplicity-_0Apzy-tempdir
Traceback (innermost last):
  File "/usr/local/bin/duplicity", line 1678, in <module>
    with_tempdir(main)
  File "/usr/local/bin/duplicity", line 1664, in with_tempdir
    fn()
  File "/usr/local/bin/duplicity", line 1497, in main
    action = commandline.ProcessCommandLine(sys.argv[1:])
  File "/usr/local/lib/python2.7/dist-packages/duplicity/commandline.py", line 1146, in ProcessCommandLine
    args = parse_cmdline_options(cmdline_list)
  File "/usr/local/lib/python2.7/dist-packages/duplicity/commandline.py", line 698, in parse_cmdline_options
    possible = [c for c in commands if c.startswith(cmd)]
 UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 17: ordinal not in range(128)

If I replace "~/Téléchargements/" with a path without accented characters it works

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.