2014-04-28 22:43:33 |
Özgür |
bug |
|
|
added bug |
2014-04-29 23:49:23 |
Launchpad Janitor |
branch linked |
|
lp:~mterry/duplicity/encode-exceptions |
|
2014-04-30 00:13:50 |
Michael Terry |
bug task added |
|
duplicity |
|
2014-04-30 00:18:22 |
Michael Terry |
duplicity: status |
New |
Fix Committed |
|
2014-04-30 00:31:56 |
Michael Terry |
description |
After upgrading to Ubuntu 14.04 from 13.10, Duplicity cannot backup files. The location it will backup and the location to backup have both Russian characters in path. I believe this is the reason of the problem.
After failure, duplicity shows this log:
------------------------------
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 1470, in do_backup
incremental_backup(sig_chain)
File "/usr/bin/duplicity", line 637, in incremental_backup
globals.backend)
File "/usr/bin/duplicity", line 424, in write_multivol
(tdp, dest_filename, vol_num)))
File "/usr/lib/python2.7/dist-packages/duplicity/asyncscheduler.py", line 145, in schedule_task
return self.__run_synchronously(fn, params)
File "/usr/lib/python2.7/dist-packages/duplicity/asyncscheduler.py", line 171, in __run_synchronously
ret = fn(*params)
File "/usr/bin/duplicity", line 423, in <lambda>
async_waiters.append(io_scheduler.schedule_task(lambda tdp, dest_filename, vol_num: put(tdp, dest_filename, vol_num),
File "/usr/bin/duplicity", line 314, in put
backend.put(tdp, dest_filename)
File "/usr/lib/python2.7/dist-packages/duplicity/backends/giobackend.py", line 145, in put
self.copy_file('put', source_file, target_file)
File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 330, in iterate
return fn(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/duplicity/backends/giobackend.py", line 130, in copy_file
log.Info(_("Writing %s") % target.get_parse_name())
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 36: ordinal not in range(128)
-------------------------------
I believe the related script shall be fixed with "u" prefix, as explained here:
http://stackoverflow.com/questions/9644099/python-ascii-codec-cant-decode-byte
Ozgur
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: duplicity 0.6.23-1ubuntu4
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic i686
ApportVersion: 2.14.1-0ubuntu3
Architecture: i386
CurrentDesktop: Unity
Date: Tue Apr 29 01:37:39 2014
SourcePackage: duplicity
UpgradeStatus: Upgraded to trusty on 2014-04-18 (10 days ago) |
[Impact]
Any user of the gio backend in duplicity (used by Deja Dup) backing up to a directory with utf8 characters in it is unable to complete a single backup.
[Test Case]
mkdir /tmp/source
echo test > /tmp/source
mkdir /tmp/Ж
duplicity --gio --no-encryption /tmp/source file:///tmp/Ж
[Regression Potential]
The patch to fix this mostly affects various exception code paths. But each one is pretty simple change (just upgrading ascii to unicode).
[Original Report]
After upgrading to Ubuntu 14.04 from 13.10, Duplicity cannot backup files. The location it will backup and the location to backup have both Russian characters in path. I believe this is the reason of the problem.
After failure, duplicity shows this log:
------------------------------
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 1470, in do_backup
incremental_backup(sig_chain)
File "/usr/bin/duplicity", line 637, in incremental_backup
globals.backend)
File "/usr/bin/duplicity", line 424, in write_multivol
(tdp, dest_filename, vol_num)))
File "/usr/lib/python2.7/dist-packages/duplicity/asyncscheduler.py", line 145, in schedule_task
return self.__run_synchronously(fn, params)
File "/usr/lib/python2.7/dist-packages/duplicity/asyncscheduler.py", line 171, in __run_synchronously
ret = fn(*params)
File "/usr/bin/duplicity", line 423, in <lambda>
async_waiters.append(io_scheduler.schedule_task(lambda tdp, dest_filename, vol_num: put(tdp, dest_filename, vol_num),
File "/usr/bin/duplicity", line 314, in put
backend.put(tdp, dest_filename)
File "/usr/lib/python2.7/dist-packages/duplicity/backends/giobackend.py", line 145, in put
self.copy_file('put', source_file, target_file)
File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 330, in iterate
return fn(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/duplicity/backends/giobackend.py", line 130, in copy_file
log.Info(_("Writing %s") % target.get_parse_name())
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 36: ordinal not in range(128)
-------------------------------
I believe the related script shall be fixed with "u" prefix, as explained here:
http://stackoverflow.com/questions/9644099/python-ascii-codec-cant-decode-byte
Ozgur
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: duplicity 0.6.23-1ubuntu4
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic i686
ApportVersion: 2.14.1-0ubuntu3
Architecture: i386
CurrentDesktop: Unity
Date: Tue Apr 29 01:37:39 2014
SourcePackage: duplicity
UpgradeStatus: Upgraded to trusty on 2014-04-18 (10 days ago) |
|
2014-04-30 00:32:45 |
Michael Terry |
description |
[Impact]
Any user of the gio backend in duplicity (used by Deja Dup) backing up to a directory with utf8 characters in it is unable to complete a single backup.
[Test Case]
mkdir /tmp/source
echo test > /tmp/source
mkdir /tmp/Ж
duplicity --gio --no-encryption /tmp/source file:///tmp/Ж
[Regression Potential]
The patch to fix this mostly affects various exception code paths. But each one is pretty simple change (just upgrading ascii to unicode).
[Original Report]
After upgrading to Ubuntu 14.04 from 13.10, Duplicity cannot backup files. The location it will backup and the location to backup have both Russian characters in path. I believe this is the reason of the problem.
After failure, duplicity shows this log:
------------------------------
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 1470, in do_backup
incremental_backup(sig_chain)
File "/usr/bin/duplicity", line 637, in incremental_backup
globals.backend)
File "/usr/bin/duplicity", line 424, in write_multivol
(tdp, dest_filename, vol_num)))
File "/usr/lib/python2.7/dist-packages/duplicity/asyncscheduler.py", line 145, in schedule_task
return self.__run_synchronously(fn, params)
File "/usr/lib/python2.7/dist-packages/duplicity/asyncscheduler.py", line 171, in __run_synchronously
ret = fn(*params)
File "/usr/bin/duplicity", line 423, in <lambda>
async_waiters.append(io_scheduler.schedule_task(lambda tdp, dest_filename, vol_num: put(tdp, dest_filename, vol_num),
File "/usr/bin/duplicity", line 314, in put
backend.put(tdp, dest_filename)
File "/usr/lib/python2.7/dist-packages/duplicity/backends/giobackend.py", line 145, in put
self.copy_file('put', source_file, target_file)
File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 330, in iterate
return fn(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/duplicity/backends/giobackend.py", line 130, in copy_file
log.Info(_("Writing %s") % target.get_parse_name())
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 36: ordinal not in range(128)
-------------------------------
I believe the related script shall be fixed with "u" prefix, as explained here:
http://stackoverflow.com/questions/9644099/python-ascii-codec-cant-decode-byte
Ozgur
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: duplicity 0.6.23-1ubuntu4
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic i686
ApportVersion: 2.14.1-0ubuntu3
Architecture: i386
CurrentDesktop: Unity
Date: Tue Apr 29 01:37:39 2014
SourcePackage: duplicity
UpgradeStatus: Upgraded to trusty on 2014-04-18 (10 days ago) |
[Impact]
Any user of the gio backend in duplicity (used by Deja Dup) backing up to a directory with utf8 characters in it is unable to complete a single backup.
[Test Case]
mkdir /tmp/source
echo test > /tmp/source/test
mkdir /tmp/Ж
duplicity --gio --no-encryption /tmp/source file:///tmp/Ж
[Regression Potential]
The patch to fix this mostly affects various exception code paths. But each one is pretty simple change (just upgrading ascii to unicode).
[Original Report]
After upgrading to Ubuntu 14.04 from 13.10, Duplicity cannot backup files. The location it will backup and the location to backup have both Russian characters in path. I believe this is the reason of the problem.
After failure, duplicity shows this log:
------------------------------
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 1470, in do_backup
incremental_backup(sig_chain)
File "/usr/bin/duplicity", line 637, in incremental_backup
globals.backend)
File "/usr/bin/duplicity", line 424, in write_multivol
(tdp, dest_filename, vol_num)))
File "/usr/lib/python2.7/dist-packages/duplicity/asyncscheduler.py", line 145, in schedule_task
return self.__run_synchronously(fn, params)
File "/usr/lib/python2.7/dist-packages/duplicity/asyncscheduler.py", line 171, in __run_synchronously
ret = fn(*params)
File "/usr/bin/duplicity", line 423, in <lambda>
async_waiters.append(io_scheduler.schedule_task(lambda tdp, dest_filename, vol_num: put(tdp, dest_filename, vol_num),
File "/usr/bin/duplicity", line 314, in put
backend.put(tdp, dest_filename)
File "/usr/lib/python2.7/dist-packages/duplicity/backends/giobackend.py", line 145, in put
self.copy_file('put', source_file, target_file)
File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 330, in iterate
return fn(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/duplicity/backends/giobackend.py", line 130, in copy_file
log.Info(_("Writing %s") % target.get_parse_name())
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 36: ordinal not in range(128)
-------------------------------
I believe the related script shall be fixed with "u" prefix, as explained here:
http://stackoverflow.com/questions/9644099/python-ascii-codec-cant-decode-byte
Ozgur
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: duplicity 0.6.23-1ubuntu4
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic i686
ApportVersion: 2.14.1-0ubuntu3
Architecture: i386
CurrentDesktop: Unity
Date: Tue Apr 29 01:37:39 2014
SourcePackage: duplicity
UpgradeStatus: Upgraded to trusty on 2014-04-18 (10 days ago) |
|
2014-04-30 03:35:14 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/utopic-proposed/duplicity |
|
2014-04-30 11:35:01 |
Kenneth Loafman |
duplicity: importance |
Undecided |
Medium |
|
2014-04-30 11:35:01 |
Kenneth Loafman |
duplicity: milestone |
|
0.6.24 |
|
2014-04-30 14:05:57 |
Michael Terry |
nominated for series |
|
Ubuntu Trusty |
|
2014-04-30 14:05:57 |
Michael Terry |
bug task added |
|
duplicity (Ubuntu Trusty) |
|
2014-04-30 14:13:52 |
Michael Terry |
description |
[Impact]
Any user of the gio backend in duplicity (used by Deja Dup) backing up to a directory with utf8 characters in it is unable to complete a single backup.
[Test Case]
mkdir /tmp/source
echo test > /tmp/source/test
mkdir /tmp/Ж
duplicity --gio --no-encryption /tmp/source file:///tmp/Ж
[Regression Potential]
The patch to fix this mostly affects various exception code paths. But each one is pretty simple change (just upgrading ascii to unicode).
[Original Report]
After upgrading to Ubuntu 14.04 from 13.10, Duplicity cannot backup files. The location it will backup and the location to backup have both Russian characters in path. I believe this is the reason of the problem.
After failure, duplicity shows this log:
------------------------------
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 1470, in do_backup
incremental_backup(sig_chain)
File "/usr/bin/duplicity", line 637, in incremental_backup
globals.backend)
File "/usr/bin/duplicity", line 424, in write_multivol
(tdp, dest_filename, vol_num)))
File "/usr/lib/python2.7/dist-packages/duplicity/asyncscheduler.py", line 145, in schedule_task
return self.__run_synchronously(fn, params)
File "/usr/lib/python2.7/dist-packages/duplicity/asyncscheduler.py", line 171, in __run_synchronously
ret = fn(*params)
File "/usr/bin/duplicity", line 423, in <lambda>
async_waiters.append(io_scheduler.schedule_task(lambda tdp, dest_filename, vol_num: put(tdp, dest_filename, vol_num),
File "/usr/bin/duplicity", line 314, in put
backend.put(tdp, dest_filename)
File "/usr/lib/python2.7/dist-packages/duplicity/backends/giobackend.py", line 145, in put
self.copy_file('put', source_file, target_file)
File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 330, in iterate
return fn(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/duplicity/backends/giobackend.py", line 130, in copy_file
log.Info(_("Writing %s") % target.get_parse_name())
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 36: ordinal not in range(128)
-------------------------------
I believe the related script shall be fixed with "u" prefix, as explained here:
http://stackoverflow.com/questions/9644099/python-ascii-codec-cant-decode-byte
Ozgur
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: duplicity 0.6.23-1ubuntu4
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic i686
ApportVersion: 2.14.1-0ubuntu3
Architecture: i386
CurrentDesktop: Unity
Date: Tue Apr 29 01:37:39 2014
SourcePackage: duplicity
UpgradeStatus: Upgraded to trusty on 2014-04-18 (10 days ago) |
[Impact]
Any user of the gio backend in duplicity (used by Deja Dup) backing up to a directory with utf8 characters in it is unable to complete a single backup.
[Test Case]
mkdir /tmp/source
echo test > /tmp/source/test
mkdir /tmp/Ж
duplicity --gio --no-encryption /tmp/source file:///tmp/Ж
[Regression Potential]
The upstream patch to fix this mostly affects various exception or logging code paths. But each one is pretty simple change (just upgrading ascii to unicode).
[Original Report]
After upgrading to Ubuntu 14.04 from 13.10, Duplicity cannot backup files. The location it will backup and the location to backup have both Russian characters in path. I believe this is the reason of the problem.
After failure, duplicity shows this log:
------------------------------
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 1470, in do_backup
incremental_backup(sig_chain)
File "/usr/bin/duplicity", line 637, in incremental_backup
globals.backend)
File "/usr/bin/duplicity", line 424, in write_multivol
(tdp, dest_filename, vol_num)))
File "/usr/lib/python2.7/dist-packages/duplicity/asyncscheduler.py", line 145, in schedule_task
return self.__run_synchronously(fn, params)
File "/usr/lib/python2.7/dist-packages/duplicity/asyncscheduler.py", line 171, in __run_synchronously
ret = fn(*params)
File "/usr/bin/duplicity", line 423, in <lambda>
async_waiters.append(io_scheduler.schedule_task(lambda tdp, dest_filename, vol_num: put(tdp, dest_filename, vol_num),
File "/usr/bin/duplicity", line 314, in put
backend.put(tdp, dest_filename)
File "/usr/lib/python2.7/dist-packages/duplicity/backends/giobackend.py", line 145, in put
self.copy_file('put', source_file, target_file)
File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 330, in iterate
return fn(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/duplicity/backends/giobackend.py", line 130, in copy_file
log.Info(_("Writing %s") % target.get_parse_name())
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 36: ordinal not in range(128)
-------------------------------
I believe the related script shall be fixed with "u" prefix, as explained here:
http://stackoverflow.com/questions/9644099/python-ascii-codec-cant-decode-byte
Ozgur
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: duplicity 0.6.23-1ubuntu4
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic i686
ApportVersion: 2.14.1-0ubuntu3
Architecture: i386
CurrentDesktop: Unity
Date: Tue Apr 29 01:37:39 2014
SourcePackage: duplicity
UpgradeStatus: Upgraded to trusty on 2014-04-18 (10 days ago) |
|
2014-04-30 14:45:41 |
Launchpad Janitor |
duplicity (Ubuntu): status |
New |
Fix Released |
|
2014-04-30 14:49:37 |
Michael Terry |
bug |
|
|
added subscriber Michael Terry |
2014-05-01 20:51:18 |
Brian Murray |
duplicity (Ubuntu Trusty): status |
New |
Fix Committed |
|
2014-05-01 20:51:20 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2014-05-01 20:51:24 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2014-05-01 20:51:26 |
Brian Murray |
tags |
apport-bug i386 trusty |
apport-bug i386 trusty verification-needed |
|
2014-05-02 23:03:49 |
Özgür |
duplicity (Ubuntu Trusty): status |
Fix Committed |
Confirmed |
|
2014-05-02 23:04:25 |
Özgür |
duplicity (Ubuntu Trusty): status |
Confirmed |
Fix Committed |
|
2014-05-03 14:30:00 |
Michael Terry |
tags |
apport-bug i386 trusty verification-needed |
apport-bug i386 trusty verification-done |
|
2014-05-04 02:25:50 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/trusty-proposed/duplicity |
|
2014-05-09 14:27:37 |
Kenneth Loafman |
duplicity: status |
Fix Committed |
Fix Released |
|
2014-06-03 06:03:25 |
Launchpad Janitor |
duplicity (Ubuntu Trusty): status |
Fix Committed |
Fix Released |
|
2014-06-03 06:03:45 |
Scott Kitterman |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|