[Python-apps-team] Bug#696565: rdiff-backup: Python int too large to convert to C long

Jeff Taylor shdwdrgn at sourpuss.net
Sat Dec 22 22:36:33 UTC 2012


Package: rdiff-backup
Version: 1.2.8-6
Severity: important

I have two newly created Squeeze 6.0.6 installations from which I am attempting to perform daily backups.  Both systems have the same package versions as shown below.  The first system has been performing regular backups for the past month, however the second system, built last week, is issuing the error shown in the traceback below.  I have thus far not been able to create the initial backup on this new system.

The command issued on both servers to perform a backup:
# rdiff-backup --exclude-device-files --exclude-fifos --exclude-sockets --exclude '/core' --exclude '/lost+found' --exclude '/tmp/*' --exclude '/var/lib/nfs/rpc_pipefs/*' --exclude '/var/log/*' --include '/var' --exclude-other-filesystems / <backup-server-name>::/Backup/$HOSTNAME


-- System Information:
Debian Release: 6.0.6
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39-bpo.2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages rdiff-backup depends on:
ii  libc6                   2.11.3-4         Embedded GNU C Library: Shared lib
ii  librsync1               0.9.7-7          rsync remote-delta algorithm libra
ii  python                  2.6.6-3+squeeze7 interactive high-level object-orie
ii  python-support          1.0.10           automated rebuilding support for P

Versions of packages rdiff-backup recommends:
ii  python-pylibacl               0.5.0-3    module for manipulating POSIX.1e A
ii  python-pyxattr                0.5.0-3    module for manipulating filesystem

rdiff-backup suggests no packages.

-- no debconf information

Traceback (most recent call last):
  File "/usr/bin/rdiff-backup", line 30, in <module>
    rdiff_backup.Main.error_check_Main(sys.argv[1:])
  File "/usr/lib/pymodules/python2.6/rdiff_backup/Main.py", line 304, in error_check_Main
    try: Main(arglist)
  File "/usr/lib/pymodules/python2.6/rdiff_backup/Main.py", line 324, in Main
    take_action(rps)
  File "/usr/lib/pymodules/python2.6/rdiff_backup/Main.py", line 280, in take_action
    elif action == "backup": Backup(rps[0], rps[1])
  File "/usr/lib/pymodules/python2.6/rdiff_backup/Main.py", line 346, in Backup
    backup.Mirror(rpin, rpout)
  File "/usr/lib/pymodules/python2.6/rdiff_backup/backup.py", line 38, in Mirror
    DestS.patch(dest_rpath, source_diffiter)
  File "/usr/lib/pymodules/python2.6/rdiff_backup/connection.py", line 450, in __call__
    return apply(self.connection.reval, (self.name,) + args)
  File "/usr/lib/pymodules/python2.6/rdiff_backup/connection.py", line 370, in reval
    if isinstance(result, Exception): raise result
OverflowError: Python int too large to convert to C long



More information about the Python-apps-team mailing list