Comment 25 for bug 1770929

Revision history for this message
Victor Douglas (jhngalt) wrote :

Hello,

I receive the same error on Kubuntu 18.04, so I purge both duplicity 0.7 and deja-dup and install the snap version of them, as instructed by Michael and Aaron. Nevertheless, I still get the same error when I run "snap run duplicity". Here's the output:

$ which duplicity
/snap/bin/duplicity

$ snap list | grep duplicity
duplicity 0.8.02 11 beta aaron-whitehouse classic

$ snap run duplicity
Traceback (innermost last):
  File "/snap/duplicity/11/bin/duplicity", line 1711, in <module>
    with_tempdir(main)
  File "/snap/duplicity/11/bin/duplicity", line 1699, in with_tempdir
    tempdir.default().cleanup()
  File "/snap/duplicity/11/lib/python2.7/site-packages/duplicity/tempdir.py", line 63, in default
    _defaultInstance = TemporaryDirectory(temproot=globals.temproot)
  File "/snap/duplicity/11/lib/python2.7/site-packages/duplicity/tempdir.py", line 135, in __init__
    log.Info(_(u"Using temporary directory %s") % self.__dir)
 UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 16: ordinal not in range(128)