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
<michael.te...@canonical.com>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
>

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

Title:
  UnicodeDecodeError: 'utf8' codec can't decode byte 0xd1 in position
  117

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

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

Reply via email to