Re: [rdiff-backup-users] OverflowError: signed integer is greater than maximum

2010-01-17 Thread Michel Le Cocq
I'm building a virtual machine like my save server.

I tried rdiff-backup-devel-1.3.3 and rdiff-backup-1.2.8,1 on this
virtual host and I've got the same error

So I did :

$ pkg_add gcc45
$ pkg_add -r librsync
$ wget 
http://savannah.nongnu.org/download/rdiff-backup/rdiff-backup-1.2.8.tar.gz
$ tar -zxvf rdiff-backup-1.2.8.tar.gz 
$ cd rdiff-backup-1.2.8
$ cp ../cmodule.c .
$ python setup.py install --prefix=~/ 
--librsync-dir=/usr/local/include/librsync.h
--librsync-dir=/usr/local/include/librsync.h
running install
running build
running build_py
running build_ext
building 'rdiff_backup._librsync' extension
cc -fno-strict-aliasing -DNDEBUG -O2 -pipe -D__wchar_t=wchar_t
-DTHREAD_STACK_SIZE=0x2 -fno-strict-aliasing -fPIC
-I/usr/local/include/librsync.h/include -
I/usr/local/include/python2.6 -c _librsyncmodule.c -o
build/temp.freebsd-8.0-RELEASE-amd64-2.6/_librsyncmodule.o
cc1: internal compiler error: Segmentation fault: 11
Please submit a full bug report,
with preprocessed source if appropriate.
See URL:http://gcc.gnu.org/bugs.html for instructions.
error: command 'cc' failed with exit status 1

I think I missed something

--
Michel  
 
Andrew Ferguson a écrit:
 Ooops. That one is rdiff-backup's fault.
 
 Replace the file cmodule.c with the one attached and re-compile.
 
 


 
 
 
 
 On Jan 16, 2010, at 12:11 PM, Michel Le Cocq wrote:
 Here is the complete Traceback :
 
 [r...@sauvelipn2009 ~]# rdiff-backup --force -v3 --print-statistics
 --force /mnt/users_lipn/export/vol01/jc
 /backup/Lipn/users_backup1/export/jc
 Exception 'signed integer is greater than maximum' raised of class
 'type 'exceptions.OverflowError'':
  File /usr/local/lib/python2.6/site-packages/rdiff_backup/Main.py,
  line 304, in error_check_Main
try: Main(arglist)
  File /usr/local/lib/python2.6/site-packages/rdiff_backup/Main.py,
  line 324, in Main
take_action(rps)
  File /usr/local/lib/python2.6/site-packages/rdiff_backup/Main.py,
  line 280, in take_action
elif action == backup: Backup(rps[0], rps[1])
  File /usr/local/lib/python2.6/site-packages/rdiff_backup/Main.py,
  line 346, in Backup
backup.Mirror(rpin, rpout)
  File
  /usr/local/lib/python2.6/site-packages/rdiff_backup/backup.py,
  line 38, in Mirror
DestS.patch(dest_rpath, source_diffiter)
  File
  /usr/local/lib/python2.6/site-packages/rdiff_backup/backup.py,
  line 232, in patch
ITR(diff.index, diff)
  File
  /usr/local/lib/python2.6/site-packages/rdiff_backup/rorpiter.py,
  line 281, in __call__
last_branch.fast_process(*args)
  File
  /usr/local/lib/python2.6/site-packages/rdiff_backup/backup.py,
  line 529, in fast_process
if self.patch_to_temp(mirror_rp, diff_rorp, tf):
  File
  /usr/local/lib/python2.6/site-packages/rdiff_backup/backup.py,
  line 553, in patch_to_temp
result = self.patch_snapshot_to_temp(diff_rorp, new)
  File
  /usr/local/lib/python2.6/site-packages/rdiff_backup/backup.py,
  line 578, in patch_snapshot_to_temp
rpath.copy_attribs(diff_rorp, new)
  File /usr/local/lib/python2.6/site-packages/rdiff_backup/rpath.py,
  line 180, in copy_attribs
rpout.chown(*rpout.conn.user_group.map_rpath(rpin))
  File /usr/local/lib/python2.6/site-packages/rdiff_backup/rpath.py,
  line 973, in chown
try: self.conn.C.lchown(self.path, uid, gid)
 
 Traceback (most recent call last):
  File /usr/local/bin/rdiff-backup, line 30, in module
rdiff_backup.Main.error_check_Main(sys.argv[1:])
  File /usr/local/lib/python2.6/site-packages/rdiff_backup/Main.py,
  line 304, in error_check_Main
try: Main(arglist)
  File /usr/local/lib/python2.6/site-packages/rdiff_backup/Main.py,
  line 324, in Main
take_action(rps)
  File /usr/local/lib/python2.6/site-packages/rdiff_backup/Main.py,
  line 280, in take_action
elif action == backup: Backup(rps[0], rps[1])
  File /usr/local/lib/python2.6/site-packages/rdiff_backup/Main.py,
  line 346, in Backup
backup.Mirror(rpin, rpout)
  File
  /usr/local/lib/python2.6/site-packages/rdiff_backup/backup.py,
  line 38, in Mirror
DestS.patch(dest_rpath, source_diffiter)
  File
  /usr/local/lib/python2.6/site-packages/rdiff_backup/backup.py,
  line 232, in patch
ITR(diff.index, diff)
  File
  /usr/local/lib/python2.6/site-packages/rdiff_backup/rorpiter.py,
  line 281, in __call__
last_branch.fast_process(*args)
  File
  /usr/local/lib/python2.6/site-packages/rdiff_backup/backup.py,
  line 529, in fast_process
if self.patch_to_temp(mirror_rp, diff_rorp, tf):
  File
  /usr/local/lib/python2.6/site-packages/rdiff_backup/backup.py,
  line 553, in patch_to_temp
result = self.patch_snapshot_to_temp(diff_rorp, new)
  File
  /usr/local/lib/python2.6/site-packages/rdiff_backup/backup.py,
  line 578, in patch_snapshot_to_temp
rpath.copy_attribs(diff_rorp, new)
  File /usr/local/lib/python2.6/site-packages/rdiff_backup/rpath.py,
  line 180, in copy_attribs
rpout.chown(*rpout.conn.user_group.map_rpath(rpin))
  File /usr/local/lib/python2.6/site-packages/rdiff_backup

[rdiff-backup-users] Re: rdiff-backup-1.2.8 python2.5.4 : OverflowError: signed integer is greater than maximum

2010-01-15 Thread Michel Le Cocq
I upgrade to python26 by following the 20090608 entry
in /usr/ports/UPDATING.

I'm now on : python26-2.6.4, rdiff-backup-1.2.8,1

But I still have the same error :
OverflowError: signed integer is greater than maximum

I just did :
# rdiff-backup /mnt/users/toto /backup/Lipn/users_backup/toto

It work for 393 user folder and give this error on 3.

I attach here the Traceback.

--
Michel

Michel Le Cocq a écrit:
 Hi all, I just sign on this Mailling list, but I'm an Rdiff user since
 5 or 6 years... i don't remember.
 
 I run rdiff-backup on my backup server:
 - FreeBSD 8.0-RELEASE AMD64
 - rdiff-backup-1.2.8,1
 - python25-2.5.4_3
 - be pro quad
 - 4G Ram
 
 I try to rdiff a folder on a nfs ro mounted volume to an other volume.
 
 I obtain this error : OverflowError: signed integer is greater than
 maximum 
 
 I have the same problem as Brad Beyenhof see here :
 http://www.mail-archive.com/rdiff-backup-users@nongnu.org/msg03794.html
 
 I know it's a know problem due to a bug in Python. And have to upgrad
 Python to 2.5.4 or 2.6.1.  
 
 But I'm on python25-2.5.4_3 !!! and rdiff need python25 to run so I
 can't remove it for python26...
 
 What can I do to obtain my full backup ?
 
 Thanks
 
 --
 Michel
  


___
rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki


[rdiff-backup-users] rdiff-backup-1.2.8 python2.5.4 : OverflowError: signed integer is greater than maximum

2010-01-13 Thread Michel Le Cocq
Hi all, I just sign on this Mailling list, but I'm an Rdiff user since
5 or 6 years... i don't remember.

I run rdiff-backup on my backup server:
- FreeBSD 8.0-RELEASE AMD64
- rdiff-backup-1.2.8,1
- python25-2.5.4_3
- be pro quad
- 4G Ram

I try to rdiff a folder on a nfs ro mounted volume to an other volume.

I obtain this error : OverflowError: signed integer is greater than
maximum 

I have the same problem as Brad Beyenhof see here :
http://www.mail-archive.com/rdiff-backup-users@nongnu.org/msg03794.html

I know it's a know problem due to a bug in Python. And have to upgrad
Python to 2.5.4 or 2.6.1.  

But I'm on python25-2.5.4_3 !!! and rdiff need python25 to run so I
can't remove it for python26...

What can I do to obtain my full backup ?

Thanks

--
Michel
 


___
rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki