← Back to team overview

desktop-packages team mailing list archive

[Bug 1377873] Re: deja-dup fails to restore missing files, that contain "german umlaut" (ä,ö,ü,Ä,Ö,Ü).

 

My short-term workaround to recover old backup files with umlauts after
UnicodeDecodeError:

export LANG=en_US.utf8
export LANGUAGE=
export LC_CTYPE="en_US.utf8"
export LC_NUMERIC="en_US.utf8"
export LC_TIME="en_US.utf8"
export LC_COLLATE="en_US.utf8"
export LC_MONETARY="en_US.utf8"
export LC_MESSAGES="en_US.utf8"
export LC_PAPER=en_US.UTF-8
export LC_NAME="en_US.utf8"
export LC_ADDRESS="en_US.utf8"
export LC_TELEPHONE="en_US.utf8"
export LC_MEASUREMENT="en_US.utf8"
export LC_IDENTIFICATION="en_US.utf8"
export LC_ALL=

deja-dup --restore folderWithUmlauts

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to deja-dup in Ubuntu.
https://bugs.launchpad.net/bugs/1377873

Title:
  deja-dup fails to restore missing files, that contain "german umlaut"
  (ä,ö,ü,Ä,Ö,Ü).

Status in deja-dup package in Ubuntu:
  Confirmed

Bug description:
  I tried to restore some "missing files" (translated from german) deleted while deja-dup was creating a new backup.
  This attempt failed with the following Stacktrace:

  Traceback (most recent call last):
    File "/usr/bin/duplicity", line 1494, in <module>
      with_tempdir(main)
    File "/usr/bin/duplicity", line 1488, in with_tempdir
      fn()
    File "/usr/bin/duplicity", line 1337, in main
      do_backup(action)
    File "/usr/bin/duplicity", line 1422, in do_backup
      restore(col_stats)
    File "/usr/bin/duplicity", line 700, in restore
      % (globals.restore_dir,),
  UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 45: ordinal not in range(128)

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: deja-dup 30.0-0ubuntu4
  ProcVersionSignature: Ubuntu 3.13.0-36.63-generic 3.13.11.6
  Uname: Linux 3.13.0-36-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.5
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Mon Oct  6 12:01:55 2014
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2014-09-28 (7 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
  SourcePackage: deja-dup
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/deja-dup/+bug/1377873/+subscriptions


References