Error when parsing exclude filelist

Bug #1409908 reported by Mikhalych
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Duplicity
New
Undecided
Unassigned

Bug Description

Duplicity version 0.7.0
OS Ubuntu 14.04.1
Target: ftp (Linux)

Hello!
If i create full backup with option --exclude-filelist (filelist in attach) duplicity geneate error:
WARNING 1
. Import of duplicity.backends.dpbxbackend Failed: No module named dropbox

NOTICE 1
. LFTP version is 4.4.13

NOTICE 1
. Чтение списка файлов exclude.txt

NOTICE 1
. Сортировка списка файлов exclude.txt

NOTICE 1
. Локальные и удалённые метаданные синхронизированы, синхронизация не требуется.

NOTICE 1
. Время последней полной резервной копии: нету

NOTICE 1
. Чтение списка файлов exclude.txt

ERROR 30 ValueError
. Traceback (most recent call last):
. File "/usr/bin/duplicity", line 1500, in <module>
. with_tempdir(main)
. File "/usr/bin/duplicity", line 1494, in with_tempdir
. fn()
. File "/usr/bin/duplicity", line 1343, in main
. do_backup(action)
. File "/usr/bin/duplicity", line 1464, in do_backup
. full_backup(col_stats)
. File "/usr/bin/duplicity", line 522, in full_backup
. commandline.set_selection()
. File "/usr/lib/python2.7/dist-packages/duplicity/commandline.py", line 914, in set_selection
. sel.ParseArgs(select_opts, select_files)
. File "/usr/lib/python2.7/dist-packages/duplicity/selection.py", line 237, in ParseArgs
. filelists[filelists_index], 0, arg))
. File "/usr/lib/python2.7/dist-packages/duplicity/selection.py", line 315, in filelist_get_sf
. self.filelist_read(filelist_fp, inc_default, filelist_name)
. File "/usr/lib/python2.7/dist-packages/duplicity/selection.py", line 351, in filelist_read
. for line in filelist_fp.read().split(separator):
. ValueError: I/O operation on closed file
.
If i write all of this exclude folders in command line wiyh option --exclude duplicity work fine.

Sample Commands:
Error: duplicity full --no-encryption --exclude-filelist exclude.txt --ftp-regular --log-file family_backup.log --progress --progress-rate 10 --volsize 700 /home/family/ lftp+ftp://useruser:q1234567@192.168.0.10/sda1/Backup/Family

Fine: duplicity full --no-encryption --exclude /home/family/Аудиокниги --exclude /home/family/Музыка --exclude /home/family/Видео --exclude /home/family/Семейный\ архив --ftp-regular --log-file family_backup.log --progress --progress-rate 10 --volsize 700 /home/family/ ftp://useruser:q1234567@192.168.0.10/sda1/Backup/Family

Revision history for this message
Mikhalych (zhupikov) wrote :
Revision history for this message
Aaron Whitehouse (aaron-whitehouse) wrote :

Hello Mikhalych,

Apologies for the delay in responding. If you are still using the software and experiencing this issue, can you please try again with the 0.8 series? Support for non-ASCII characters was only really added at all in 0.8 and will only complete with the conversion to Python 3 (which is in the works).

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.