Looks like subpath.name is UTF8 but can't be decoded to ASCII for printing.
We do not handle Unicode correctly, especially for printing. In Python 2
the console is ASCII, so everything has to be decoded for ASCII.
Yes, it's a new bug.
On Fri, Apr 27, 2012 at 8:12 AM, Michael Terry
<email address hidden>wrote:
> Ken, this looks new to me. The path may not be utf8?
>
> ** Also affects: duplicity
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are subscribed to
> Duplicity.
> https://bugs.launchpad.net/bugs/989496
>
> Title:
> UnicodeDecodeError: 'utf8' codec can't decode byte 0xd1 in position
> 117
>
> Status in Duplicity - Bandwidth Efficient Encrypted Backup:
> New
> Status in “deja-dup” package in Ubuntu:
> New
>
> Bug description:
> Backup failed (unknown error)... deja-dup/ubuntuone
>
> Traceback (most recent call last):
> File "/usr/bin/duplicity", line 1403, in <module>
> with_tempdir(main)
> File "/usr/bin/duplicity", line 1396, in with_tempdir
> fn()
> File "/usr/bin/duplicity", line 1366, in main
> full_backup(col_stats)
> File "/usr/bin/duplicity", line 491, in full_backup
> bytes_written = dummy_backup(tarblock_iter)
> File "/usr/bin/duplicity", line 197, in dummy_backup
> while tarblock_iter.next():
> File "/usr/lib/python2.7/dist-packages/duplicity/diffdir.py", line 507,
> in next
> result = self.process(self.input_iter.next(), size)
> File "/usr/lib/python2.7/dist-packages/duplicity/diffdir.py", line 188,
> in get_delta_iter
> for new_path, sig_path in collated:
> File "/usr/lib/python2.7/dist-packages/duplicity/diffdir.py", line 281,
> in collate2iters
> for relem1 in riter1:
> File "/usr/lib/python2.7/dist-packages/duplicity/selection.py", line
> 187, in Iterate
> log.Debug(_("Selecting %s") % subpath.name)
> UnicodeDecodeError: 'utf8' codec can't decode byte 0xd1 in position 117:
> invalid continuation byte
>
> ProblemType: Bug
> DistroRelease: Ubuntu 12.04
> Package: deja-dup 22.0-0ubuntu2
> ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
> Uname: Linux 3.2.0-24-generic x86_64
> ApportVersion: 2.0.1-0ubuntu6
> Architecture: amd64
> Date: Fri Apr 27 11:49:30 2012
> InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64
> (20100429)
> ProcEnviron:
> TERM=xterm
> PATH=(custom, no user)
> LANG=ru_UA.UTF-8
> SHELL=/bin/bash
> SourcePackage: deja-dup
> UpgradeStatus: No upgrade log present (probably fresh install)
> modified.conffile..etc.xdg.autostart.deja.dup.monitor.desktop: [modified]
> mtime.conffile..etc.xdg.autostart.deja.dup.monitor.desktop:
> 2012-02-14T14:17:23.600015
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/duplicity/+bug/989496/+subscriptions
>
Looks like subpath.name is UTF8 but can't be decoded to ASCII for printing.
We do not handle Unicode correctly, especially for printing. In Python 2
the console is ASCII, so everything has to be decoded for ASCII.
Yes, it's a new bug.
On Fri, Apr 27, 2012 at 8:12 AM, Michael Terry
<email address hidden>wrote:
> Ken, this looks new to me. The path may not be utf8? /bugs.launchpad .net/bugs/ 989496 duplicity" , line 1403, in <module> duplicity" , line 1396, in with_tempdir duplicity" , line 1366, in main col_stats) duplicity" , line 491, in full_backup tarblock_ iter) duplicity" , line 197, in dummy_backup iter.next( ): python2. 7/dist- packages/ duplicity/ diffdir. py", line 507, self.input_ iter.next( ), size) python2. 7/dist- packages/ duplicity/ diffdir. py", line 188, python2. 7/dist- packages/ duplicity/ diffdir. py", line 281, python2. 7/dist- packages/ duplicity/ selection. py", line _("Selecting %s") % subpath.name) ature: Ubuntu 3.2.0-24.37-generic 3.2.14 conffile. .etc.xdg. autostart. deja.dup. monitor. desktop: [modified] .etc.xdg. autostart. deja.dup. monitor. desktop: 14T14:17: 23.600015 /bugs.launchpad .net/duplicity/ +bug/989496/ +subscriptions
>
> ** Also affects: duplicity
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are subscribed to
> Duplicity.
> https:/
>
> Title:
> UnicodeDecodeError: 'utf8' codec can't decode byte 0xd1 in position
> 117
>
> Status in Duplicity - Bandwidth Efficient Encrypted Backup:
> New
> Status in “deja-dup” package in Ubuntu:
> New
>
> Bug description:
> Backup failed (unknown error)... deja-dup/ubuntuone
>
> Traceback (most recent call last):
> File "/usr/bin/
> with_tempdir(main)
> File "/usr/bin/
> fn()
> File "/usr/bin/
> full_backup(
> File "/usr/bin/
> bytes_written = dummy_backup(
> File "/usr/bin/
> while tarblock_
> File "/usr/lib/
> in next
> result = self.process(
> File "/usr/lib/
> in get_delta_iter
> for new_path, sig_path in collated:
> File "/usr/lib/
> in collate2iters
> for relem1 in riter1:
> File "/usr/lib/
> 187, in Iterate
> log.Debug(
> UnicodeDecodeError: 'utf8' codec can't decode byte 0xd1 in position 117:
> invalid continuation byte
>
> ProblemType: Bug
> DistroRelease: Ubuntu 12.04
> Package: deja-dup 22.0-0ubuntu2
> ProcVersionSign
> Uname: Linux 3.2.0-24-generic x86_64
> ApportVersion: 2.0.1-0ubuntu6
> Architecture: amd64
> Date: Fri Apr 27 11:49:30 2012
> InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64
> (20100429)
> ProcEnviron:
> TERM=xterm
> PATH=(custom, no user)
> LANG=ru_UA.UTF-8
> SHELL=/bin/bash
> SourcePackage: deja-dup
> UpgradeStatus: No upgrade log present (probably fresh install)
> modified.
> mtime.conffile.
> 2012-02-
>
> To manage notifications about this bug go to:
> https:/
>