2012-11-30 3 views
0

나는 우분투 12.04 및 deja 백업을 사용하고 있습니다.deja 백업 : UnicodeDecodeError "예기치 않은 데이터 끝"

그것은 백업의 준비하는 동안 오류가 발생 :

Backup failed: unknown reason: 
File "/usr/lib/python2.7/dist-packages/duplicity/selection.py", line 187, in Iterate 
log.Debug(_("Selecting %s") % subpath.name) 
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe9 in position 48: unexpected end of data 

이 전체 보고서 내용은 아래를 참조하십시오.

파일 이름이 올바르게 인코딩되지 않았기 때문입니다.

이 문제를 해결하는 방법에 대해 알고 계시거나, 적어도 deja 백업으로 문제를 무시 하시겠습니까?

감사합니다.

.

Traceback (most recent call last): 
File "/usr/bin/duplicity", line 1403, in <module> 
with_tempdir(main) 
File "/usr/bin/duplicity", line 1396, in with_tempdir 
fn() 
File "/usr/bin/duplicity", line 1366, in main 
full_backup(col_stats) 
File "/usr/bin/duplicity", line 491, in full_backup 
bytes_written = dummy_backup(tarblock_iter) 
File "/usr/bin/duplicity", line 197, in dummy_backup 
while tarblock_iter.next(): 
File "/usr/lib/python2.7/dist-packages/duplicity/diffdir.py", line 507, in next 
result = self.process(self.input_iter.next(), size) 
File "/usr/lib/python2.7/dist-packages/duplicity/diffdir.py", line 188, in get_delta_iter 
for new_path, sig_path in collated: 
File "/usr/lib/python2.7/dist-packages/duplicity/diffdir.py", line 281, in collate2iters 
for relem1 in riter1: 
File "/usr/lib/python2.7/dist-packages/duplicity/selection.py", line 187, in Iterate 
log.Debug(_("Selecting %s") % subpath.name) 
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe9 in position 48: unexpected end of data 

답변

0

나는 전화가

declare -x LANG="en_US.UTF-8" 

그것은 나를 위해 일을 이중성하기 전에 해결,

당신은 세션 언어를 변경할 수 있습니다했습니다, 내 기본 LANG은 "es_ES.UTF-8"입니다 , 이중성은 실패합니다. "en_US.UTF-8"이 작동합니다.

참조 : https://bugs.launchpad.net/ubuntu/+source/duplicity/+bug/1050509