|
From: | Saptarshi Guha |
Subject: | [rdiff-backup-users] Re: Unicode error while running rdiff-backup |
Date: | Tue, 22 Apr 2008 21:03:25 -0400 |
Hi, I ran it again with -v9 option and tracked the error down to(running on OS X backing up to a Linux server): Sorry for the long output: Any suggestions (without needing to rename files)? Tue Apr 22 20:59:28 2008 Making directory /ln/sguha.afterlife/Prefs/MT-NewsWatcher Prefs ƒ Tue Apr 22 20:59:28 2008 Processing changed file MT-NewsWatcher Prefs ƒ/Junk Filter Training Data Tue Apr 22 20:59:28 2008 Making directory path /ln/sguha.afterlife/Prefs/rdiff-backup-data/increments/MT-NewsWatcher Prefs ƒ Tue Apr 22 20:59:28 2008 Regular copying ('MT-NewsWatcher Prefs \xc6\x92', 'Junk Filter Training Data') to /ln/sguha.afterlife/Prefs/MT-NewsWatcher Prefs ƒ/rdiff-backup.tmp.90 Tue Apr 22 20:59:28 2008 Writing file object to /ln/sguha.afterlife/Prefs/MT-NewsWatcher Prefs ƒ/rdiff-backup.tmp.90 Tue Apr 22 20:59:28 2008 Copying attributes from ('MT-NewsWatcher Prefs \xc6\x92', 'Junk Filter Training Data') to /ln/sguha.afterlife/Prefs/MT-NewsWatcher Prefs ƒ/rdiff-backup.tmp.90 Tue Apr 22 20:59:28 2008 Sending back exception 'ascii' codec can't decode byte 0xc6 in position 47: ordinal not in range(128) of type <type 'exceptions.UnicodeDecodeError'>: File "/home/sguha/villa/lib/python2.5/site-packages/rdiff_backup/connection.py", line 334, in answer_request result = apply(eval(request.function_string), argument_list) File "/home/sguha/villa/lib/python2.5/site-packages/rdiff_backup/backup.py", line 225, in patch ITR(diff.index, diff) File "/home/sguha/villa/lib/python2.5/site-packages/rdiff_backup/rorpiter.py", line 281, in __call__ last_branch.fast_process(*args) File "/home/sguha/villa/lib/python2.5/site-packages/rdiff_backup/backup.py", line 522, in fast_process if self.patch_to_temp(mirror_rp, diff_rorp, tf): File "/home/sguha/villa/lib/python2.5/site-packages/rdiff_backup/backup.py", line 549, in patch_to_temp rpath.copy_attribs(diff_rorp, new) File "/home/sguha/villa/lib/python2.5/site-packages/rdiff_backup/rpath.py", line 178, in copy_attribs if Globals.eas_write: rpout.write_ea(rpin.get_ea()) File "/home/sguha/villa/lib/python2.5/site-packages/rdiff_backup/rpath.py", line 1238, in write_ea ea.write_to_rp(self) File "/home/sguha/villa/lib/python2.5/site-packages/rdiff_backup/eas_acls.py", line 103, in write_to_rp self.clear_rp(rp) File "/home/sguha/villa/lib/python2.5/site-packages/rdiff_backup/eas_acls.py", line 93, in clear_rp % (name, rp.path), 7) Tue Apr 22 20:59:28 2008 Server sending (0): 'ascii' codec can't decode byte 0xc6 in position 47: ordinal not in range(128) Tue Apr 22 20:59:29 2008 Exception 'Truncated header string (problem probably originated remotely)' raised of class '<class 'rdiff_backup.connection.ConnectionReadError'>': File "/home/sguha/villa/lib/python2.5/site-packages/rdiff_backup/Main.py", line 302, in error_check_Main try: Main(arglist) File "/home/sguha/villa/lib/python2.5/site-packages/rdiff_backup/Main.py", line 322, in Main take_action(rps) File "/home/sguha/villa/lib/python2.5/site-packages/rdiff_backup/Main.py", line 276, in take_action connection.PipeConnection(sys.stdin, sys.stdout).Server() File "/home/sguha/villa/lib/python2.5/site-packages/rdiff_backup/connection.py", line 354, in Server self.get_response(-1) File "/home/sguha/villa/lib/python2.5/site-packages/rdiff_backup/connection.py", line 314, in get_response try: req_num, object = self._get() File "/home/sguha/villa/lib/python2.5/site-packages/rdiff_backup/connection.py", line 232, in _get raise ConnectionReadError("Truncated header string (problem " Tue Apr 22 20:59:29 2008 Fatal Error: Lost connection to the remote system On Apr 22, 2008, at 5:01 PM, Saptarshi Guha wrote:
Saptarshi Guha | address@hidden | http://www.stat.purdue.edu/~sguha Imagination is the one weapon in the war against reality. -- Jules de Gaultier |
[Prev in Thread] | Current Thread | [Next in Thread] |