[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[rdiff-backup-users] Debian sarge: OverflowError: long int too large to
From: |
Marc Fournier |
Subject: |
[rdiff-backup-users] Debian sarge: OverflowError: long int too large to convert to int |
Date: |
Thu, 16 Mar 2006 12:47:58 +0100 |
User-agent: |
Pan/0.14.2.91 (As She Crawled Across the Table (Debian GNU/Linux)) |
Hello,
I just came across a problem that I was able to resolve thanks to the
mailing-list archive
(http://thread.gmane.org/gmane.comp.sysutils.backup.rdiff-backup.general/1633).
The fix seems to be in CVS already. I decided to post here anyway
because it occurs with rdiff-backup 0.13.4 / librsync 0.9.7 / python 2.3.5
(these are the versions shipped with current linux debian stable distribution)
and I thought other people in my case might be happy to find the solution
faster than I did.
The problem happened when I tried to backup from an AMD64
architecture machine on to a i386 one. Some files on the 64bit machine had
timestamps far away in the future (something like 2100) and apparently 32bit
architecture doesn't support this.
So I just changed the date on these files, and everything worked again:
touch /tmp/now
find /path/to/dir -anewer /tmp/now -or -cnewer /tmp/bla -or -newer /tmp/bla
-exec touch {} \;
Here is the backtrace (for search engine indexing):
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 23, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 260, in
Main
take_action(rps)
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 230, in
take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 282, in
Backup
backup.Mirror(rpin, rpout)
File "/usr/lib/python2.3/site-packages/rdiff_backup/backup.py", line 38, in
Mirror
DestS.patch(dest_rpath, source_diffiter)
File "/usr/lib/python2.3/site-packages/rdiff_backup/backup.py", line 216, in
patch
ITR(diff.index, diff)
File "/usr/lib/python2.3/site-packages/rdiff_backup/rorpiter.py", line 279,
in __call__
last_branch.fast_process(*args)
File "/usr/lib/python2.3/site-packages/rdiff_backup/backup.py", line 474, in
fast_process
if self.patch_to_temp(rp, diff_rorp, tf):
File "/usr/lib/python2.3/site-packages/rdiff_backup/backup.py", line 500, in
patch_to_temp
if new.lstat(): rpath.copy_attribs(diff_rorp, new)
File "/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line 166, in
copy_attribs
if not rpin.isdev(): rpout.setmtime(rpin.getmtime())
File "/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line 767, in
setmtime
self.conn.os.utime(self.path, (long(time.time()), modtime))
OverflowError: long int too large to convert to int
Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound
method GzipFile.__del__ of <gzip open file
'/backup/hosts/eos/rdiff-backup-data/file_statistic
s.2006-03-15T16:11:34+01:00.data.gz', mode 'wb' at 0x40521020 0x4051d6cc>>
ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound
method GzipFile.__del__ of <gzip open file
'/backup/hosts/eos/rdiff-backup-data/error_log.2006
-03-15T16:11:34+01:00.data.gz', mode 'wb' at 0x4026a120 0x404e2d4c>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound
method GzipFile.__del__ of <gzip open file
'/backup/hosts/eos/rdiff-backup-data/mirror_metadat
a.2006-03-15T16:11:34+01:00.snapshot.gz', mode 'wb' at 0x40521060 0x4051d4ec>>
ignored
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 23, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 260, in
Main
take_action(rps)
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 228, in
take_action
connection.PipeConnection(sys.stdin, sys.stdout).Server()
File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py", line 352,
in Server
self.get_response(-1)
File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py", line 314,
in get_response
try: req_num, object = self._get()
File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py", line 230,
in _get
raise ConnectionReadError("Truncated header string (problem "
rdiff_backup.connection.ConnectionReadError: Truncated header string (problem
probably originated remotely)
Marc
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [rdiff-backup-users] Debian sarge: OverflowError: long int too large to convert to int,
Marc Fournier <=