UnicodeEncodeError after Dropbox backup is done
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
New
|
Undecided
|
Unassigned | ||
duplicity (Fedora) |
Fix Released
|
Undecided
|
Bug Description
Hi, I've got this eror each time I use Dropbox backend:
$ duplicity ~ dpbx://
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: Tue Jan 14 12:51:14 2014
GnuPG passphrase:
Retype passphrase to confirm:
--------------[ Backup Statistics ]--------------
StartTime 1390385907.82 (Wed Jan 22 11:18:27 2014)
EndTime 1390385950.76 (Wed Jan 22 11:19:10 2014)
ElapsedTime 42.94 (42.94 seconds)
SourceFiles 78321
SourceFileSize 9838764906 (9.16 GB)
NewFiles 1283
NewFileSize 50808455 (48.5 MB)
DeletedFiles 12
ChangedFiles 211
ChangedFileSize 62205324 (59.3 MB)
ChangedDeltaSize 0 (0 bytes)
DeltaEntries 1506
RawDeltaSize 59932930 (57.2 MB)
TotalDestinatio
Errors 0
-------
Exception ['ascii' codec can't encode character u'\u010d' in position 30: ordinal not in range(128)]:
| Traceback (most recent call last):
| File "/usr/lib64/
| return f(self, *args)
| File "/usr/lib64/
| log.Debug(':: %s=[%s]
| File "/usr/lib64/
| Log(s, DEBUG)
| File "/usr/lib64/
| _logger.
| File "/usr/lib64/
| return codecs.
| UnicodeEncodeError: 'ascii' codec can't encode character u'\u010d' in position 30: ordinal not in range(128)
dpbx code error "'ascii' codec can't encode character u'\u010d' in position 30: ordinal not in range(128)"
Traceback (most recent call last):
File "/usr/bin/
with_
File "/usr/bin/
fn()
File "/usr/bin/
globals.
File "/usr/lib64/
raise e
UnicodeEncodeError: 'ascii' codec can't encode character u'\u010d' in position 30: ordinal not in range(128)
=== EOF ===
It seems not to affect the backup.
$ rpm -q duplicity
duplicity-
$ rpm -q python
python-
$ cat /etc/redhat-release
Fedora release 20 (Heisenbug)
no longer affects: | duplicity (Fedora) |
Changed in duplicity (Fedora): | |
importance: | Unknown → Undecided |
status: | Unknown → Fix Released |
I've got this eror each time I use Dropbox backend: nSizeChange 22618861 (21.6 MB) ------- ------- ------- ------- ------- -------
$ duplicity ~ dpbx://
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: Tue Jan 14 12:51:14 2014
GnuPG passphrase:
Retype passphrase to confirm:
--------------[ Backup Statistics ]--------------
StartTime 1390385907.82 (Wed Jan 22 11:18:27 2014)
EndTime 1390385950.76 (Wed Jan 22 11:19:10 2014)
ElapsedTime 42.94 (42.94 seconds)
SourceFiles 78321
SourceFileSize 9838764906 (9.16 GB)
NewFiles 1283
NewFileSize 50808455 (48.5 MB)
DeletedFiles 12
ChangedFiles 211
ChangedFileSize 62205324 (59.3 MB)
ChangedDeltaSize 0 (0 bytes)
DeltaEntries 1506
RawDeltaSize 59932930 (57.2 MB)
TotalDestinatio
Errors 0
-------
Exception ['ascii' codec can't encode character u'\u010d' in position 30: ordinal not in range(128)]: python2. 7/site- packages/ duplicity/ backends/ dpbxbackend. py", line 83, in wrapper python2. 7/site- packages/ duplicity/ backends/ dpbxbackend. py", line 192, in close '%(k,info[ k])) python2. 7/site- packages/ duplicity/ log.py" , line 83, in Debug python2. 7/site- packages/ duplicity/ log.py" , line 75, in Log log(DupToLogger Level(verb_ level), s.decode("utf8", "ignore")) python2. 7/encodings/ utf_8.py" , line 16, in decode utf_8_decode( input, errors, True) duplicity" , line 1466, in <module> tempdir( main) duplicity" , line 1459, in with_tempdir duplicity" , line 1442, in main backend. close() python2. 7/site- packages/ duplicity/ backends/ dpbxbackend. py", line 94, in wrapper
| Traceback (most recent call last):
| File "/usr/lib64/
| return f(self, *args)
| File "/usr/lib64/
| log.Debug(':: %s=[%s]
| File "/usr/lib64/
| Log(s, DEBUG)
| File "/usr/lib64/
| _logger.
| File "/usr/lib64/
| return codecs.
| UnicodeEncodeError: 'ascii' codec can't encode character u'\u010d' in position 30: ordinal not in range(128)
dpbx code error "'ascii' codec can't encode character u'\u010d' in position 30: ordinal not in range(128)"
Traceback (most recent call last):
File "/usr/bin/
with_
File "/usr/bin/
fn()
File "/usr/bin/
globals.
File "/usr/lib64/
raise e
UnicodeEncodeError: 'ascii' codec can't encode character u'\u010d' in position 30: ordinal not in range(128)
=== EOF ===
It seems not to affect the backup.
$ rpm -q duplicity 0.6.22- 1.fc20. x86_64 2.7.5-9. fc20.x86_ 64
duplicity-
$ rpm -q python
python-
$ cat /etc/redhat-release
Fedora release 20 (Heisenbug)
Reported upstream, keeping this to track in bodhi and stuff (or to find out, it Fedora related)