rdiff-backup crashed with UnpicklingError in reval(): invalid load key, 'y'.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rdiff-backup (Ubuntu) |
Expired
|
Medium
|
Unassigned |
Bug Description
Binary package hint: rdiff-backup
First time I tried running rdiff-backup since upgrading to natty. Remote end is an Ubuntu 10.10 server (maverick), with rdiff-backup 1.2.8-5ubuntu2.
From the error, my quick, uninformed guess is the different in Python versions is the problem.
ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: rdiff-backup 1.2.8-5ubuntu3
ProcVersionSign
Uname: Linux 2.6.38-
Architecture: i386
Date: Mon Apr 18 14:25:29 2011
ExecutablePath: /usr/bin/
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
InterpreterPath: /usr/bin/python2.7
ProcCmdline: /usr/bin/python /usr/bin/
ProcEnviron:
LANGUAGE=en_AU:en
PATH=(custom, no user)
LANG=en_AU.UTF-8
SHELL=/bin/bash
PythonArgs: ['/usr/
SourcePackage: rdiff-backup
Title: rdiff-backup crashed with UnpicklingError in reval(): invalid load key, 'y'.
UpgradeStatus: Upgraded to natty on 2011-04-11 (6 days ago)
UserGroups:
tags: | removed: need-duplicate-check |
visibility: | private → public |
Changed in rdiff-backup (Ubuntu): | |
importance: | Undecided → Medium |
Oh, and here's the terminal output. This may be interesting because it appears to include the stderr from the server, so the traceback from the server process (the traceback with python2.6 in the paths rather than python2.7):
Sending back exception invalid load key, 'y'. of type <class 'cPickle. UnpicklingError '>: pymodules/ python2. 7/rdiff_ backup/ connection. py", line 335, in answer_request request. function_ string) , argument_list) pymodules/ python2. 7/rdiff_ backup/ connection. py", line 485, in readfromid id].read( ) pymodules/ python2. 7/rdiff_ backup/ iterfile. py", line 302, in read pymodules/ python2. 7/rdiff_ backup/ iterfile. py", line 325, in addtobuffer pymodules/ python2. 7/rdiff_ backup/ backup. py", line 103, in get_diffs pymodules/ python2. 7/rdiff_ backup/ iterfile. py", line 382, in next pymodules/ python2. 7/rdiff_ backup/ iterfile. py", line 421, in _get
File "/usr/lib/
result = apply(eval(
File "/usr/lib/
if length is None: return cls.vfiles[
File "/usr/lib/
if not self.addtobuffer(): break
File "/usr/lib/
try: currentobj = self.iter.next()
File "/usr/lib/
for dest_sig in dest_sigiter:
File "/usr/lib/
while not type: type, data = self._get()
File "/usr/lib/
if type in "oerh": return type, cPickle.loads(data)
Exception 'invalid load key, 'y'.' raised of class '<class 'cPickle. UnpicklingError '>': pymodules/ python2. 6/rdiff_ backup/ robust. py", line 32, in check_common_error pymodules/ python2. 6/rdiff_ backup/ rpath.py" , line 105, in copy pymodules/ python2. 6/rdiff_ backup/ rpath.py" , line 133, in copy_reg_file from_fileobj( rpin.open( "rb"), compress = compress) pymodules/ python2. 6/rdiff_ backup/ rpath.py" , line 1195, in write_from_fileobj pymodules/ python2. 6/rdiff_ backup/ rpath.py" , line 62, in copyfileobj read(blocksize) pymodules/ python2. 6/rdiff_ backup/ rpath.py" , line 1415, in read read(length) pymodules/ python2. 6/rdiff_ backup/ iterfile. py", line 118, in read pymodules/ python2. 6/rdiff_ backup/ iterfile. py", line 133, in addtobuffer pymodules/ python2. 6/rdiff_ backup/ iterfile. py", line 414, in _get pymodules/ python2. 6/rdiff_ backup/ connection. py", line 518, in read .VirtualFile. readfromid( self.id, length) pymodules/ python2. 6/rdiff_ backup/ connection. py", line 450, in __call__ connection. reval, (self.name,) + args) pymodules/ python2. 6/rdiff_ backup/ connection. py", line 370, in reval
File "/usr/lib/
try: return function(*args)
File "/usr/lib/
if rpin.isreg(): return copy_reg_file(rpin, rpout, compress)
File "/usr/lib/
return rpout.write_
File "/usr/lib/
copyfileobj(fp, outfp)
File "/usr/lib/
inbuf = inputfp.
File "/usr/lib/
def read(self, length = -1): return self.file.
File "/usr/lib/
if not self.addtobuffer(): break
File "/usr/lib/
type, data = self.iwf._get()
File "/usr/lib/
if not self.buf: self.buf += self.file.read()
File "/usr/lib/
return self.connection
File "/usr/lib/
return apply(self.
File "/usr/lib/
if isinstance(result, Exception): raise result
Sending back exception invalid load key, 'y'. of type <class 'cPickle. UnpicklingError '>: pymodules/ python2. 6/rdiff_ backup/ connection. py", line 335, in answer_request request. function_ string) , a...
File "/usr/lib/
result = apply(eval(