For me this bug was actually triggered by another new bug in lftp caused
by glibc upgate, see #1902832 which was obfuscated by this bug.

I found the patch from 19.04 disco which was mentioned in #19 which
fixed the unicode error for be and revealed the other bug.

https://launchpad.net/ubuntu/+source/duplicity/0.7.18.2-1ubuntu3.1
The change related to unicode is quite small, patch file "02-unicode":
##############################################################################
Author: Alexander Zangerl <a...@debian.org>
Subject: fix unicode decode-does-encode-and-fail problems with iso8859 locales

--- a/bin/duplicity
+++ b/bin/duplicity
@@ -29,6 +29,11 @@
 
 import gzip
 import os
+
+# override locale to avoid bug #682837, until
+# the logger finally deals with locales cleanly
+os.environ['LC_ALL']="POSIX"
+
 import sys
 import time
 import types
##############################################################################

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

Title:
  Duplicity fails with UnicodeDecodeError in uexc function

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

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

Reply via email to