Control: tag -1 + moreinfo

Hi,

Jonathan Dupart wrote (21 Jan 2014 20:43:46 GMT) :
> The duplicity backend is broken when the gpg ecryption is set up and the
> system default locale is not english (or C).
[...]
> Without further investigation, I tried to patch the duplicity handler to
> prefix every invocations of duplicity with LC_ALL=C and it fixed the
> problem.

> You will find my patch attached to this bugreport.

Thanks a lot!

The following (simpler) patch might be a better bet: first, it sets
LC_ALL=C in a shared, single place. Second, it has greater chances to
work even with the bandwidthlimit option set (while I suspect your
patch breaks things in that case).

--- a/handlers/dup.in
+++ b/handlers/dup.in
@@ -102,7 +102,7 @@ fi
 ### COMMAND-LINE MANGLING 
######################################################
 
 ### initialize $execstr*
-execstr_precmd=
+execstr_precmd='LC_ALL=C'
 execstr_command=
 execstr_options="$options --no-print-statistics"
 execstr_source=

Could you please test and confirm if it works for you?

Cheers,
-- 
  intrigeri
  | GnuPG key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc
  | OTR fingerprint @ https://gaffer.ptitcanardnoir.org/intrigeri/otr.asc


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to