Hello Mace,

to find the file causing the trouble in my case, I added a few lines to
the duplicity source code. The error message tells you the python source
file and line number where the error occurs:

File "/usr/lib/python2.7/dist-packages/duplicity/selection.py", line 187, in 
Iterate
    log.Debug(_("Selecting %s") % subpath.name)

I added the following lines just before the call to log.debug  (line 187
in this example. You will have to adapt it a little depending on the
exact error message and arguments passed to log.debug.):

dbgFile = open("/tmp/debug.log", 'a')
dbgFile.write("%s\n" % subpath.name)
dbgFile.close()

The last filename written to the log file /tmp/debug.log after duplicity
fails is the one causing the trouble.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/989496

Title:
  UnicodeDecodeError: 'utf8' codec can't decode byte 0xd1 in position
  117

To manage notifications about this bug go to:
https://bugs.launchpad.net/duplicity/+bug/989496/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to