forwarded 682837 https://bugs.launchpad.net/duplicity/+bug/1030199
tags 682837 - patch
tags 682837 + upstream
thanks

On Thu, 26 Jul 2012 19:15:04 +1200, Francois Marier writes:
>I started seeing these errors every time I do a backup to S3 using duplicity:
>    log.Debug(_("File %s is part of known set") % (filename,))
>UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 16: 
>ordinal not in range(128)

that's because your filenames contain latin-1 characters. duplicity's log
module can only work with utf8 or plain ascii. i've reported this issue 
upstream.

>Attached is the patch I applied to make these errors go away.

sorry, but that patch isn't just getting rid of the errors but 
removes the logging functionality altogether, without which duplicity 
problems can't be diagnosed properly.

regards
az


-- 
Alexander Zangerl + GnuPG Keys 0x42BD645D or 0x5B586291 + http://snafu.priv.at/
Fachbegriffe der Informatik, Zertifiziernung: Ein Geschäftsmodell, das heisse
Luft zu Papier verdichtet und dann gegen Währung tauscht. -- Jörg Dorchain

Attachment: signature.asc
Description: Digital Signature

Reply via email to