[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[rdiff-backup-users] Failing backup: Long int too large to convert to in
From: |
Thomas Jarosch |
Subject: |
[rdiff-backup-users] Failing backup: Long int too large to convert to int |
Date: |
Thu, 2 Apr 2009 10:24:44 +0200 |
User-agent: |
KMail/1.11.0 (Linux/2.6.27.19-78.2.30.fc9.i686; KDE/4.2.1; i686; ; ) |
Hello,
first of all, thank you for creating rdiff-backup, it's really
intuitive to use and has proven itself numerous times.
From time to time, rdiff-backup 1.2.7 crashes with the following message:
---------------------------------------------------------------------
Exception 'long int too large to convert to int' raised of class
'exceptions.OverflowError':
? File "/usr/lib/python2.2/site-packages/rdiff_backup/robust.py", line 32, in
check_common_error
? ? try: return function(*args)
? File "/usr/lib/python2.2/site-packages/rdiff_backup/increment.py", line 43,
in Increment
? ? incrp = makediff(new, mirror, incpref)
? File "/usr/lib/python2.2/site-packages/rdiff_backup/increment.py", line 93,
in makediff
? ? Rdiff.write_delta(new, mirror, diff, compress)
? File "/usr/lib/python2.2/site-packages/rdiff_backup/Rdiff.py", line 69, in
write_delta
? ? delta.write_from_fileobj(deltafile, compress)
? File "/usr/lib/python2.2/site-packages/rdiff_backup/rpath.py", line 1196, in
write_from_fileobj
? ? if outfp.close(): raise RPathException("Error closing file")
? File "/usr/lib/python2.2/gzip.py", line 253, in close
? ? write32(self.fileobj, self.size)
? File "/usr/lib/python2.2/gzip.py", line 19, in write32
? ? output.write(struct.pack("<l", value))
Exception 'long int too large to convert to int' raised of class
'exceptions.OverflowError':
? File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line 304, in
error_check_Main
? ? try: Main(arglist)
? File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line 324, in
Main
? ? take_action(rps)
? File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line 280, in
take_action
? ? elif action == "backup": Backup(rps[0], rps[1])
? File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line 343, in
Backup
? ? backup.Mirror_and_increment(rpin, rpout, incdir)
? File "/usr/lib/python2.2/site-packages/rdiff_backup/backup.py", line 51, in
Mirror_and_increment
? ? DestS.patch_and_increment(dest_rpath, source_diffiter, inc_rpath)
? File "/usr/lib/python2.2/site-packages/rdiff_backup/backup.py", line 243, in
patch_and_increment
? ? ITR(diff.index, diff)
? File "/usr/lib/python2.2/site-packages/rdiff_backup/rorpiter.py", line 281,
in __call__
? ? last_branch.fast_process(*args)
? File "/usr/lib/python2.2/site-packages/rdiff_backup/backup.py", line 694, in
fast_process
? ? increment.Increment, (tf, mirror_rp, inc_prefix))
? File "/usr/lib/python2.2/site-packages/rdiff_backup/robust.py", line 32, in
check_common_error
? ? try: return function(*args)
? File "/usr/lib/python2.2/site-packages/rdiff_backup/increment.py", line 43,
in Increment
? ? incrp = makediff(new, mirror, incpref)
? File "/usr/lib/python2.2/site-packages/rdiff_backup/increment.py", line 93,
in makediff
? ? Rdiff.write_delta(new, mirror, diff, compress)
? File "/usr/lib/python2.2/site-packages/rdiff_backup/Rdiff.py", line 69, in
write_delta
? ? delta.write_from_fileobj(deltafile, compress)
? File "/usr/lib/python2.2/site-packages/rdiff_backup/rpath.py", line 1196, in
write_from_fileobj
? ? if outfp.close(): raise RPathException("Error closing file")
? File "/usr/lib/python2.2/gzip.py", line 253, in close
? ? write32(self.fileobj, self.size)
? File "/usr/lib/python2.2/gzip.py", line 19, in write32
? ? output.write(struct.pack("<l", value))
Traceback (most recent call last):
? File "/usr/bin/rdiff-backup", line 31, in ?
? ? rdiff_backup.Main.error_check_Main(sys.argv[1:])
? File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line 304, in
error_check_Main
? ? try: Main(arglist)
? File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line 324, in
Main
? ? take_action(rps)
? File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line 280, in
take_action
? ? elif action == "backup": Backup(rps[0], rps[1])
? File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line 343, in
Backup
? ? backup.Mirror_and_increment(rpin, rpout, incdir)
? File "/usr/lib/python2.2/site-packages/rdiff_backup/backup.py", line 51, in
Mirror_and_increment
? ? DestS.patch_and_increment(dest_rpath, source_diffiter, inc_rpath)
? File "/usr/lib/python2.2/site-packages/rdiff_backup/backup.py", line 243, in
patch_and_increment
? ? ITR(diff.index, diff)
? File "/usr/lib/python2.2/site-packages/rdiff_backup/rorpiter.py", line 281,
in __call__
? ? last_branch.fast_process(*args)
? File "/usr/lib/python2.2/site-packages/rdiff_backup/backup.py", line 694, in
fast_process
? ? increment.Increment, (tf, mirror_rp, inc_prefix))
? File "/usr/lib/python2.2/site-packages/rdiff_backup/robust.py", line 32, in
check_common_error
? ? try: return function(*args)
? File "/usr/lib/python2.2/site-packages/rdiff_backup/increment.py", line 43,
in Increment
? ? incrp = makediff(new, mirror, incpref)
? File "/usr/lib/python2.2/site-packages/rdiff_backup/increment.py", line 93,
in makediff
? ? Rdiff.write_delta(new, mirror, diff, compress)
? File "/usr/lib/python2.2/site-packages/rdiff_backup/Rdiff.py", line 69, in
write_delta
? ? delta.write_from_fileobj(deltafile, compress)
? File "/usr/lib/python2.2/site-packages/rdiff_backup/rpath.py", line 1196, in
write_from_fileobj
? ? if outfp.close(): raise RPathException("Error closing file")
? File "/usr/lib/python2.2/gzip.py", line 253, in close
? ? write32(self.fileobj, self.size)
? File "/usr/lib/python2.2/gzip.py", line 19, in write32
? ? output.write(struct.pack("<l", value))
OverflowError: long int too large to convert to int
---------------------------------------------------------------------
The box is running Centos 3 using python 2.2.3 and librsync 0.9.7+patch.
Any idea what could be wrong? Or some way to log the filenam
of the troublesome entry?
Thanks in advance,
Thomas
- [rdiff-backup-users] Failing backup: Long int too large to convert to int,
Thomas Jarosch <=