[Bug 1769891] Re: UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 37: ordinal not in range(128)
Launchpad Bug Tracker
1769891 at bugs.launchpad.net
Thu May 17 14:07:47 UTC 2018
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: python2.7 (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python2.7 in Ubuntu.
https://bugs.launchpad.net/bugs/1769891
Title:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position
37: ordinal not in range(128)
Status in Déjà Dup:
Confirmed
Status in python2.7 package in Ubuntu:
Confirmed
Bug description:
Hello
duplicity crash after backup because there is a python error
Step to reproduce.
1. Active developper option in software center
2. install the backup python pyckage
3. Lanch a backup with duplicity command
Result :
Type of backup set: Time: Number of volumes:
Full Tue Feb 20 22:00:34 2018 2284
Incremental Thu Feb 22 03:26:48 2018 1
Incremental Fri Feb 23 23:23:09 2018 42
Incremental Wed Apr 4 15:54:05 2018 151
Incremental Thu Apr 5 04:27:55 2018 1
Incremental Sat Apr 14 21:51:41 2018 1
-------------------------
Also found 0 backup sets not part of any chain,
and 1 incomplete backup set.
These may be deleted by running duplicity with the "cleanup" command.
Registering (mktemp) temporary file /tmp/duplicity-hFkoYG-tempdir/mktemp-1HIleQ-2
Deleting /tmp/duplicity-hFkoYG-tempdir/mktemp-1HIleQ-2
Forgetting temporary file /tmp/duplicity-hFkoYG-tempdir/mktemp-1HIleQ-2
Processing remote manifest duplicity-inc.20180405T022755Z.to.20180414T195141Z.manifest (154)
Found manifest volume 1
Found 1 volumes in manifest
Registering (mktemp) temporary file /tmp/duplicity-hFkoYG-tempdir/mktemp-AW3xfd-3
Backtrace of previous error: Traceback (innermost last):
File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 369, in inner_retry
return fn(self, *args)
File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 556, in get
"from backend") % util.ufn(local_path.name))
BackendException: File /tmp/duplicity-hFkoYG-tempdir/mktemp-AW3xfd-3 not found locally after get from backend
Attempt 1 failed. BackendException: File /tmp/duplicity-hFkoYG-tempdir/mktemp-AW3xfd-3 not found locally after get from backend
Backtrace of previous error: Traceback (innermost last):
File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 369, in inner_retry
return fn(self, *args)
File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 552, in get
self.backend._get(remote_filename, local_path)
File "/usr/lib/python2.7/dist-packages/duplicity/backends/giobackend.py", line 151, in _get
self.__copy_file(source_file, target_file)
File "/usr/lib/python2.7/dist-packages/duplicity/backends/giobackend.py", line 124, in __copy_file
None, self.__copy_progress, None)
Error: g-io-error-quark: Error opening file â/tmp/duplicity-hFkoYG-tempdir/mktemp-AW3xfd-3â: No such file or directory (1)
Releasing lockfile /home/username/.cache/deja-dup/078943ce1c0e98d4e44486ca87a6cdd8/lockfile
Removing still remembered temporary file /tmp/duplicity-hFkoYG-tempdir/mkstemp-useaK1-1
Removing still remembered temporary file /tmp/duplicity-hFkoYG-tempdir/mktemp-AW3xfd-3
Cleanup of temporary directory /tmp/duplicity-hFkoYG-tempdir failed - this is probably a bug.
Releasing lockfile /home/username/.cache/deja-dup/078943ce1c0e98d4e44486ca87a6cdd8/lockfile
Traceback (innermost last):
File "/usr/bin/duplicity", line 1555, in <module>
with_tempdir(main)
File "/usr/bin/duplicity", line 1541, in with_tempdir
fn()
File "/usr/bin/duplicity", line 1393, in main
do_backup(action)
File "/usr/bin/duplicity", line 1523, in do_backup
incremental_backup(sig_chain)
File "/usr/bin/duplicity", line 658, in incremental_backup
sig_chain.get_fileobjs())
File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 539, in get_fileobjs
return [filename_to_fileobj(f) for f in self.get_filenames(time)]
File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 676, in get_fileobj_read
self.get(filename, tdp)
File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 392, in inner_retry
util.uexc(e)), code=code, extra=extra)
File "/usr/lib/python2.7/dist-packages/duplicity/util.py", line 79, in uexc
return ufn(unicode(e).encode('utf-8'))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 37: ordinal not in range(128)
Releasing lockfile /home/username/.cache/deja-
dup/078943ce1c0e98d4e44486ca87a6cdd8/lockfile
Note : this bug affect eclim and other python pyckages
http://eclim.org
Could you help me please to fix this issus
Best regards
Battant
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: python2.7 2.7.15~rc1-1
ProcVersionSignature: Ubuntu 4.15.0-21.22-generic 4.15.17
Uname: Linux 4.15.0-21-generic x86_64
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Tue May 8 14:11:35 2018
InstallationDate: Installed on 2018-04-29 (8 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
SourcePackage: python2.7
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/deja-dup/+bug/1769891/+subscriptions
More information about the foundations-bugs
mailing list