SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Overflow errors
Author Message
Post Overflow errors 
Hi All,

I'm using rdiff-backup version 0.13.4 to backup /home directories to another
location on the same computer (say, /local/backup). For a first few months
everything had been OK, but the most recent two of three backup attempts are
ending with the "OverflowError: long int too large to convert to int"
messages from Python.

Just after this OverflowError the following message goes:

Exception zlib.error: 'Error -2 while flushing' in <bound method
GzipFile.__del__ of <gzip open file
'/local/backup/rdiff-backup-data/increments/ONE_OF_OUR_USERS/cvs/cvs/example
s/mytests/out.2004-09-14T05:07:00-05:00.diff.gz', mode 'wb' at 0x85c3560
0x85a556c>> ignored

The file mentioned is about 350 MB long -- I wonder whether errors could be
due to 2GB limit or something?

Could someone advice me, how to fix it?

I'm using RedHat9 Linux, kernel 2.4.20, and Python 2.2.

Thank you!

--
Best regards,
Gregory Shamov, postdoc
Department of Chemistry
University of Manitoba
mailto: shamov < at > cc.umanitoba.ca, gas5x < at > bancorp.ru

The complete error output is following:
=========
Previous backup seems to have failed, regressing destination now.
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 24, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line 259, in
Main
take_action(rps)
File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line 229, in
take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line 278, 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 226,
in patch_and_increment
ITR(diff.index, diff)
File "/usr/lib/python2.2/site-packages/rdiff_backup/rorpiter.py", line
279, in __call__
last_branch.fast_process(*args)
File "/usr/lib/python2.2/site-packages/rdiff_backup/backup.py", line 607,
in fast_process
inc = self.inc_with_checking(tf, rp, self.get_incrp(index))
File "/usr/lib/python2.2/site-packages/rdiff_backup/backup.py", line 593,
in inc_with_checking
try: inc = increment.Increment(new, old, inc_rp)
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
88, in makediff
else: Rdiff.write_delta(new, mirror, diff, compress)
File "/usr/lib/python2.2/site-packages/rdiff_backup/Rdiff.py", line 61, in
write_delta
delta.write_from_fileobj(deltafile, compress)
File "/usr/lib/python2.2/site-packages/rdiff_backup/rpath.py", line 948,
in write_from_fileobj
if fp.close() or outfp.close():
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
Exception zlib.error: 'Error -2 while flushing' in <bound method
GzipFile.__del__ of <gzip open file
'/local/backup/rdiff-backup-data/increments/ONE_OF_OUR_USERS/cvs/cvs/example
s/mytests/out.2004-09-14T05:07:00-05:00.diff.gz', mode 'wb' at 0x85c3560
0x85a556c>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in
<bound method GzipFile.__del__ of <gzip open file
'/local/backup/rdiff-backup-data/file_statistics.2004-09-17T12:37:58-05:00.d
ata.gz', mode 'wb' at 0x83048f8 0x834ab74>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in
<bound method GzipFile.__del__ of <gzip open file
'/local/backup/rdiff-backup-data/mirror_metadata.2004-09-17T12:37:58-05:00.s
napshot.gz', mode 'wb' at 0x82ef290 0x82dcc54>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in
<bound method GzipFile.__del__ of <gzip open file
'/local/backup/rdiff-backup-data/error_log.2004-09-17T12:37:58-05:00.data.gz
', mode 'wb' at 0x82f18a0 0x83036d4>> ignored
==============

Post Overflow errors 
Grigory Shamov wrote:

I'm using RedHat9 Linux, kernel 2.4.20, and Python 2.2.


upgrade to python 2.3 it fixes this problem i believe


dave

Post Overflow errors 
Hi Dave,


On 9/17/04 9:23 PM, "David Kempe" <dave < at > solutionsfirst.com.au> wrote:

Grigory Shamov wrote:

I'm using RedHat9 Linux, kernel 2.4.20, and Python 2.2.


upgrade to python 2.3 it fixes this problem i believe

It seems that it does not.

:-(

--
Best regards,
Gregory Shamov, postdoc
Department of Chemistry
University of Manitoba
mailto: shamov < at > cc.umanitoba.ca

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB