Non-latin symbols in filenames crash backup process on UbuntuOne

Bug #1099044 reported by Sergey Mitrichev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Déjà Dup
New
Undecided
Unassigned

Bug Description

When doing backup of several files with non-lating filenames (cyrillic letters) to UbuntuOne the process get stopped with error message:

Traceback (most recent call last):
  File "/usr/bin/duplicity", line 1404, in <module>
    with_tempdir(main)
  File "/usr/bin/duplicity", line 1397, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 1277, in main
    globals.archive_dir).set_values()
  File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 691, in set_values
    self.get_backup_chains(partials + backend_filename_list)
  File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 814, in get_backup_chains
    map(add_to_sets, filename_list)
  File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 808, in add_to_sets
    log.Debug(_("File %s is not part of a known set; creating new set") % (filename,))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 3: ordinal not in range(128)

When doing backup of the same set of files to (for example) Samba share - duplicity works successfully, no errors. So the error above is specific to UbuntuOne, and seems that error originales from duplicity creating log files (which maybe not Unicode-friendly).

Ubuntu 12.10
deja-dup 24.0-0ubuntu2
duplicity 0.6.19-0ubuntu2

Revision history for this message
Sergey Mitrichev (for-serg) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.