rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] CRC checksum and other 'minor' errors


From: Paul Smith
Subject: Re: [rdiff-backup-users] CRC checksum and other 'minor' errors
Date: Tue, 1 Feb 2005 12:16:06 -0600 (CST)
User-agent: SquirrelMail/1.4.3a

On Tue, February 1, 2005 11:00 am, dean gaudet said:

> On Tue, 1 Feb 2005, Paul Smith wrote:
>
>> I'm frustrated with the fact that rdiff-backup will halt when it hits a
>> CRC
>> checksum error, most often due to a source file changing during its
>> backup.
>
> hmm do you have the backtrace?

Regressing file foo/Mail/Outlook.pst
Applying patch foo/Mail/Outlook.pst.2005-01-12T17:07:06-06:00.diff.gz
Traceback (most recent call last):
  File "/usr/local/bin/rdiff-backup", line 23, in ?
    rdiff_backup.Main.Main(sys.argv[1:])
  File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/rdiff_backup/Main.py",
line 254, in Main
    take_action(rps)
  File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/rdiff_backup/Main.py",
line 226, in take_action
    elif action == "backup": Backup(rps[0], rps[1])
  File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/rdiff_backup/Main.py",
line 264, in Backup
    backup_init_dirs(rpin, rpout)
  File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/rdiff_backup/Main.py",
line 296, in backup_init_dirs
    checkdest_if_necessary(rpout)
  File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/rdiff_backup/Main.py",
line 672, in checkdest_if_necessary
    dest_rp.conn.regress.Regress(dest_rp)
  File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/rdiff_backup/regress.py",
line 70, in Regress
    for rf in iterate_meta_rfs(mirror_rp, inc_rpath): ITR(rf.index, rf)
  File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/rdiff_backup/rorpiter.py",
line 279, in __call__
    last_branch.fast_process(*args)
  File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/rdiff_backup/regress.py",
line 231, in fast_process
    if rf.metadata_rorp.isreg(): self.restore_orig_regfile(rf)
  File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/rdiff_backup/regress.py",
line 253, in restore_orig_regfile
    tf.write_from_fileobj(rf.get_restore_fp())
  File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/rdiff_backup/restore.py",
line 458, in get_restore_fp
    Rdiff.write_patched_fp(current_fp, delta_fp, new_fp)
  File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/rdiff_backup/Rdiff.py",
line 65, in write_patched_fp
    rpath.copyfileobj(librsync.PatchedFile(basis_fp, delta_fp), out_fp)
  File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/rdiff_backup/rpath.py",
line 58, in copyfileobj
    inbuf = inputfp.read(blocksize)
  File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/rdiff_backup/librsync.py",
line 76, in read
    self._add_to_outbuf_once()
  File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/rdiff_backup/librsync.py",
line 85, in _add_to_outbuf_once
    if not self.infile_eof: self._add_to_inbuf()
  File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/rdiff_backup/librsync.py",
line 95, in _add_to_inbuf
    new_in = self.infile.read(blocksize)
  File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/gzip.py",
line 224, in read
    self._read(readsize)
  File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/gzip.py",
line 289, in _read
    self._read_eof()
  File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/gzip.py",
line 308, in _read_eof
    raise IOError, "CRC check failed"
IOError: CRC check failed
Traceback (most recent call last):
  File "/usr/local/bin/rdiff-backup", line 23, in ?
    rdiff_backup.Main.Main(sys.argv[1:])
  File "/usr/local/lib/python2.4/site-packages/rdiff_backup/Main.py", line
254, in Main
    take_action(rps)
  File "/usr/local/lib/python2.4/site-packages/rdiff_backup/Main.py", line
224, in
take_action
    connection.PipeConnection(sys.stdin, sys.stdout).Server()
  File
"/usr/local/lib/python2.4/site-packages/rdiff_backup/connection.py",
line
347, in Server
    self.get_response(-1)
  File
"/usr/local/lib/python2.4/site-packages/rdiff_backup/connection.py",
line
309, in get_response
    try: req_num, object = self._get()
  File
"/usr/local/lib/python2.4/site-packages/rdiff_backup/connection.py",
line
225, in _get
    raise ConnectionReadError("Truncated header string (problem "
rdiff_backup.connection.ConnectionReadError: Truncated header string (problem
probably originated remotely)

-- 
Paul Smith          Center for Neighborhood Technology
http://www.cnt.org/ Chicago, IL





reply via email to

[Prev in Thread] Current Thread [Next in Thread]