ASCII decode error, but not due to filenames in backup target
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
Fix Released
|
Undecided
|
Michael Terry | ||
duplicity (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
On Ubuntu 17.10, I have deja-dup 36.2-0ubuntu1 installed. When I run "DEJA_DUP_DEBUG=1 deja-dup", it starts a backup as soon as it opens, as expected. But the backup fails. I get the following at the end of the output. I tried uninstalling Dropbox and deleting its .dropbox-dist directory, and then deja-dup crashed when trying to back up a completely different file (but the same byte in the same position). So I don't think this is due to any of the filenames I have in my backup target. I also tried a few commands to find non-ASCII filenames, with no luck. I'm not sure what else I can do to troubleshoot.
DUPLICITY: INFO 4 'home/paul/
DUPLICITY: . A home/paul/
DUPLICITY: DEBUG 1
DUPLICITY: . Removing still remembered temporary file /home/paul/
DUPLICITY: DEBUG 1
DUPLICITY: . Removing still remembered temporary file /home/paul/
DUPLICITY: INFO 11
DUPLICITY: . AsyncScheduler: running task synchronously (asynchronicity disabled)
DUPLICITY: INFO 1
DUPLICITY: . Writing duplicity-
DUPLICITY: DEBUG 1
DUPLICITY: . Releasing lockfile /home/paul/
DUPLICITY: DEBUG 1
DUPLICITY: . Removing still remembered temporary file /tmp/duplicity-
DUPLICITY: DEBUG 1
DUPLICITY: . Removing still remembered temporary file /tmp/duplicity-
DUPLICITY: ERROR 30 UnicodeDecodeError
DUPLICITY: . Traceback (most recent call last):
DUPLICITY: . File "/usr/bin/
DUPLICITY: . with_tempdir(main)
DUPLICITY: . File "/usr/bin/
DUPLICITY: . fn()
DUPLICITY: . File "/usr/bin/
DUPLICITY: . do_backup(action)
DUPLICITY: . File "/usr/bin/
DUPLICITY: . full_backup(
DUPLICITY: . File "/usr/bin/
DUPLICITY: . globals.backend)
DUPLICITY: . File "/usr/bin/
DUPLICITY: . (tdp, dest_filename, vol_num)))
DUPLICITY: . File "/usr/lib/
DUPLICITY: . return self.__
DUPLICITY: . File "/usr/lib/
DUPLICITY: . ret = fn(*params)
DUPLICITY: . File "/usr/bin/
DUPLICITY: . vol_num: put(tdp, dest_filename, vol_num),
DUPLICITY: . File "/usr/bin/
DUPLICITY: . backend.put(tdp, dest_filename)
DUPLICITY: . File "/usr/lib/
DUPLICITY: . % exception_
DUPLICITY: . File "/usr/lib/
DUPLICITY: . return uexc(msg)
DUPLICITY: . File "/usr/lib/
DUPLICITY: . e = unicode(
DUPLICITY: . UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 736: ordinal not in range(128)
DUPLICITY: .
ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: deja-dup 36.2-0ubuntu1
ProcVersionSign
Uname: Linux 4.13.0-16-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.7-0ubuntu3.1
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Thu Nov 2 17:46:56 2017
InstallationDate: Installed on 2017-07-02 (123 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: deja-dup
UpgradeStatus: Upgraded to artful on 2017-10-22 (11 days ago)
Hello!
This looks exactly like a very old bug, that should be fixed for a while. So I am wondering if this is the old problem, which sometimes stays if people continue to use their old backups while upgrading to newer versions. So I have to ask a few questions:
When did you first configured Déjà Dup?
Is this an old backup, which you kept, while upgrading (!) to newer versions of Ubuntu?
When did you installed a fresh Ubuntu on that pc for the last time?
Please set the state back to new after answering!
Best regards
Vej