Bug 1060427 - deja-dup does not work with es_ES.utf8 locale
Summary: deja-dup does not work with es_ES.utf8 locale
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: deja-dup
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rahul Sundaram
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-01 16:20 UTC by Jorge Martínez López
Modified: 2014-04-11 19:42 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-04-11 19:42:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Debug log for failed backup (10.14 KB, text/x-log)
2014-02-01 16:20 UTC, Jorge Martínez López
no flags Details
Debug log for sucessful backup (10.83 KB, text/x-log)
2014-02-01 16:21 UTC, Jorge Martínez López
no flags Details

Description Jorge Martínez López 2014-02-01 16:20:23 UTC
Created attachment 858075 [details]
Debug log for failed backup

Description of problem:

When creating an Amazon S3 backup deja-dup shows the following error message, before the file encryption dialog shows up:

Traceback (most recent call last):
  File "/usr/bin/duplicity", line 1466, in <module>
    with_tempdir(main)
  File "/usr/bin/duplicity", line 1459, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 1341, in main
    globals.archive_dir).set_values()
  File "/usr/lib64/python2.7/site-packages/duplicity/collections.py", line 693, in set_values
    self.get_backup_chains(partials + backend_filename_list)
  File "/usr/lib64/python2.7/site-packages/duplicity/collections.py", line 816, in get_backup_chains
    map(add_to_sets, filename_list)
  File "/usr/lib64/python2.7/site-packages/duplicity/collections.py", line 815, in add_to_sets
    log.Debug(_("Ignoring file (rejected by backup set) '%s'") % filename)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 2: ordinal not in range(128)


Version-Release number of selected component (if applicable):
27.3.1-2.fc20

How reproducible:
Creating a backup in an es_ES.utf8 locale system.

Steps to Reproduce:
1. LANG=es_ES.utf8 DEJA_DUP_DEBUG=1 deja-dup --backup
2.
3.

Actual results:
Error message

Expected results:
A backup.

Additional info:
Running LANG=en_GB.utf8 DEJA_DUP_DEBUG=1 deja-dup --backup works perfectly.

I'm attaching the two debug files (locales ES and locales EN_GB).

Comment 1 Jorge Martínez López 2014-02-01 16:21:01 UTC
Created attachment 858076 [details]
Debug log for sucessful backup


Note You need to log in before you can comment on or make changes to this bug.