SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
python errors backing up with .13.4
Author Message
Post python errors backing up with .13.4 
Greetings folks. I've recently moved over to .13.4 from .12.6, and it
seems to be going just fine. Well, until this morning when I got the
following error:

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 259, in Main
take_action(rps)
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 229, in take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 278, in Backup
backup.Mirror_and_increment(rpin, rpout, incdir)
File "/usr/lib/python2.3/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.3/site-packages/rdiff_backup/connection.py", line 445, in __call__
return apply(self.connection.reval, (self.name,) + args)
File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py", line 367, in reval
if isinstance(result, Exception): raise result
cPickle.UnpicklingError: invalid load key, 'H'.
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 247, in Main
take_action(rps)
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 216, in take_action
connection.PipeConnection(sys.stdin, sys.stdout).Server()
File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py", line 336, in Server
self.get_response(-1)
File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py", line 298, in get_response
try: req_num, object = self._get()
File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py", line 221, in _get
raise ConnectionReadError("Truncated header string (problem "
rdiff_backup.connection.ConnectionReadError: Truncated header string (problem probably originated remotely)
Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound method GzipFile.__del__ of <gzip open file
+'/home/arcterex/backups/ufies.org/rdiff-backup-data/file_statistics.2004-04-12T02:18:07-07:00.data.gz', mode 'wb' at
+0x40209de0 0x404cd18c>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound method GzipFile.__del__ of <gzip open file
+'/home/arcterex/backups/ufies.org/rdiff-backup-data/error_log.2004-04-12T02:18:07-07:00.data.gz', mode 'wb' at
+0x401ea760 0x404c498c>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound method GzipFile.__del__ of <gzip open file
+'/home/arcterex/backups/ufies.org/rdiff-backup-data/mirror_metadata.2004-04-12T02:18:07-07:00.snapshot.gz', mode 'wb' at
+0x40209e20 0x404cd0ec>> ignored

Sadly my python-fu isn't good enough to know what is going on here Sad
Something to do with pickles? Or unpickles?

Also I have had another one that doesn't seem to matter a huge amount,
but it's an error that greets me every morning regardless.

Warning: ownership cannot be changed on filesystem at backups/arcterex.net/rdiff-backup-data
Warning: ownership cannot be changed on filesystem at backups/arcterex.net/rdiff-backup-data

This error comes from backing up (as root) from my local webserver to
remote server (as non-root). The files in question I believe are within
my gallery (gallery.sf.net) install, which has a setup dir

d--------- 2 alan website 4096 Feb 2 15:18 setup/

The error comes in between some other info when run on the local machine
(obviously detecting the error on the remote filesystem):

-----------------------------------------------------------------
Detected abilities for source (read only) file system:
Access control lists Off
Extended attributes Off
Mac OS X style resource forks Off
Mac OS X Finder information Off
-----------------------------------------------------------------
Warning: ownership cannot be changed on filesystem at backups/arcterex.net/rdiff-backup-data
-----------------------------------------------------------------
Detected abilities for destination (read/write) file system:
Characters needing quoting ''
Ownership changing Off
Hard linking On
fsync() directories On
Directory inc permissions On
Access control lists Off
Extended attributes Off
Mac OS X style resource forks Off
Mac OS X Finder information Off
-----------------------------------------------------------------

The backups *seem* to be ok, they verify ok, though that same error pops
up, and the gallery and gallery/setup directory with the odd permissions
doesn't seem to exist in the rdiff-backup-data dir.

Any ideas?

Alan

--
Alan <alan < at > ufies.org> - http://arcterex.net
--------------------------------------------------------------------
"There are only 3 real sports: bull-fighting, car racing and mountain
climbing. All the others are mere games." -- Hemingway

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