Example command ends with fatal error: UnicodeDecodeError: 'ascii' codec can't decode

Bug #1497768 reported by ChieftainY2k
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Duplicity
New
Undecided
Unassigned

Bug Description

I've just tried to run an example from the http://duplicity.nongnu.org/duplicity.1.html page, and that's what I got:

# duplicity --include /home --include /etc --exclude ’**’ / file:///usr/local/backup
Traceback (most recent call last):
  File "/usr/local/bin/duplicity", line 1525, in <module>
    with_tempdir(main)
  File "/usr/local/bin/duplicity", line 1519, in with_tempdir
    fn()
  File "/usr/local/bin/duplicity", line 1357, in main
    action = commandline.ProcessCommandLine(sys.argv[1:])
  File "/usr/local/lib/python2.7/dist-packages/duplicity/commandline.py", line 1117, in ProcessCommandLine
    set_selection()
  File "/usr/local/lib/python2.7/dist-packages/duplicity/commandline.py", line 957, in set_selection
    sel.ParseArgs(select_opts, select_files)
  File "/usr/local/lib/python2.7/dist-packages/duplicity/selection.py", line 285, in ParseArgs
    self.parse_catch_error(e)
  File "/usr/local/lib/python2.7/dist-packages/duplicity/selection.py", line 300, in parse_catch_error
    (exc, util.ufn(self.prefix)), log.ErrorCode.file_prefix_error)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 0: ordinal not in range(128)

My setup is:
# python -V
Python 2.7.3
# uname -a
Linux 4.1.6+ #810 PREEMPT Tue Aug 18 15:19:58 BST 2015 armv6l GNU/Linux
# duplicity -V
duplicity 0.7.05

What am I doing wrong ?

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.