desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #106323
[Bug 1431322] [NEW] UnicodeEncodeError: 'ascii' codec can't encode character u'\ufeff'
Public bug reported:
Guys,
This error is ocurring when I try to execute a full backup to Windows
Azure.
================================================================================
duplicity 0.7.01 ($reldate)
Args: /usr/bin/duplicity --archive-dir /backup/duplicity_cache/ --no-encryption --volsize 1000 --extra-clean --verbosity 8 --name s3 /backup/s3/ azure://aws-s3
Linux SV-BACKUP-AMAZON 3.13.0-46-generic #77-Ubuntu SMP Mon Mar 2 18:23:39 UTC 2015 x86_64 x86_64
/usr/bin/python 2.7.6 (default, Mar 22 2014, 22:59:56)
[GCC 4.8.2]
================================================================================
AsyncScheduler: running task synchronously (asynchronicity disabled)
Writing duplicity-full.20150312T104506Z.vol5.difftar.gz
Traceback (most recent call last):
File "/usr/bin/duplicity", line 1497, in <module>
with_tempdir(main)
File "/usr/bin/duplicity", line 1491, in with_tempdir
fn()
File "/usr/bin/duplicity", line 1340, in main
do_backup(action)
File "/usr/bin/duplicity", line 1466, in do_backup
full_backup(col_stats)
File "/usr/bin/duplicity", line 536, in full_backup
globals.backend)
File "/usr/bin/duplicity", line 418, 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 417, 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 308, in put
backend.put(tdp, dest_filename)
File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 387, in inner_retry
% (n, e.__class__.__name__, util.uexc(e)))
File "/usr/lib/python2.7/dist-packages/duplicity/util.py", line 78, in uexc
return ufn(str(e))
UnicodeEncodeError: 'ascii' codec can't encode character u'\ufeff' in position 76: ordinal not in range(128)
# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty
# dpkg -l |grep duplicity
ii duplicity 0.7.01-0ubuntu0ppa1063~ubuntu14.04.1 amd64 encrypted bandwidth-efficient backup
# locale
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
** Affects: duplicity (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to duplicity in Ubuntu.
https://bugs.launchpad.net/bugs/1431322
Title:
UnicodeEncodeError: 'ascii' codec can't encode character u'\ufeff'
Status in duplicity package in Ubuntu:
New
Bug description:
Guys,
This error is ocurring when I try to execute a full backup to
Windows Azure.
================================================================================
duplicity 0.7.01 ($reldate)
Args: /usr/bin/duplicity --archive-dir /backup/duplicity_cache/ --no-encryption --volsize 1000 --extra-clean --verbosity 8 --name s3 /backup/s3/ azure://aws-s3
Linux SV-BACKUP-AMAZON 3.13.0-46-generic #77-Ubuntu SMP Mon Mar 2 18:23:39 UTC 2015 x86_64 x86_64
/usr/bin/python 2.7.6 (default, Mar 22 2014, 22:59:56)
[GCC 4.8.2]
================================================================================
AsyncScheduler: running task synchronously (asynchronicity disabled)
Writing duplicity-full.20150312T104506Z.vol5.difftar.gz
Traceback (most recent call last):
File "/usr/bin/duplicity", line 1497, in <module>
with_tempdir(main)
File "/usr/bin/duplicity", line 1491, in with_tempdir
fn()
File "/usr/bin/duplicity", line 1340, in main
do_backup(action)
File "/usr/bin/duplicity", line 1466, in do_backup
full_backup(col_stats)
File "/usr/bin/duplicity", line 536, in full_backup
globals.backend)
File "/usr/bin/duplicity", line 418, 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 417, 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 308, in put
backend.put(tdp, dest_filename)
File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 387, in inner_retry
% (n, e.__class__.__name__, util.uexc(e)))
File "/usr/lib/python2.7/dist-packages/duplicity/util.py", line 78, in uexc
return ufn(str(e))
UnicodeEncodeError: 'ascii' codec can't encode character u'\ufeff' in position 76: ordinal not in range(128)
# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty
# dpkg -l |grep duplicity
ii duplicity 0.7.01-0ubuntu0ppa1063~ubuntu14.04.1 amd64 encrypted bandwidth-efficient backup
# locale
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/duplicity/+bug/1431322/+subscriptions
Follow ups
References