Comment 31 for bug 1770929

Revision history for this message
Matthias Homann (palto) wrote :

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 <email address hidden>
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
##############################################################################