bugrdiff-backup - Bugs: bug #24451, rdiff-backup crashes on the...

 
 

bug #24451: rdiff-backup crashes on the simplest command line

Submitter:  None
Submitted:  Sat 04 Oct 2008 04:31:53 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Invalid
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 04 Oct 2008 07:41:57 PM UTC, comment #4: 

Maybe I'll report the problem to debian then. Thanks for the answers!

Anonymous
Sat 04 Oct 2008 06:47:18 PM UTC, comment #3: 

With the stable branch, it is just a warning -- you are guaranteed that different 1.2.x versions will inter-operate. However, if you are expecting a particular bug fix, it is nice to know when the version on the remote server is out of date.

In the development branch, backwards compatibility was broken only sometimes (to fix bugs in the network protocol), and even then, it might only affect certain configurations. Hence, it is a warning, and not a fatal error.

Distributions which refuse to update their packages in a timely manner shouldn't be packaging development releases. 1.1.5 is more than 2.5 years old at this point (released Jan. 1, 2006)!

Andrew Ferguson <owsla>
Group administrator
Sat 04 Oct 2008 06:33:42 PM UTC, comment #2: 

That's at least a serious usability bug. It shouldn't say "warning", it should say "fatal error" and stop there without displaying the python backtrace.

Anonymous
Sat 04 Oct 2008 05:10:53 PM UTC, comment #1: 

And the reason is right at the top of the output:

[schaerer@ouistiti Desktop]$ rdiff-backup données\ thèse/ joel@dedi::/home/joel/back
Warning: Local version 1.2.1 does not match remote version 1.1.5.


You need install version 1.2.0 or 1.2.1 on the remote version.

1.1.5 is very old and from early in the development branch. If you use versions from the stable branch (1.2.x), you will be ok.

Andrew Ferguson <owsla>
Group administrator
Sat 04 Oct 2008 04:31:53 PM UTC, original submission:  

Here is the backtrace. I'm trying to sync an Arch Linux notebook to a Debian Etch server over ssh.

[schaerer@ouistiti Desktop]$ rdiff-backup données\ thèse/ joel@dedi::/home/joel/back
Warning: Local version 1.2.1 does not match remote version 1.1.5.
Exception '
Warning Security Violation!
Bad request for function: rpath.make_file_dict
with arguments: ['/home/joel/back']
' raised of class '<class 'rdiff_backup.Security.Violation'>':
  File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line 302, in error_check_Main
    try: Main(arglist)
  File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line 319, in Main
    rps = map(SetConnections.cmdpair2rp, cmdpairs)
  File "/usr/lib/python2.5/site-packages/rdiff_backup/SetConnections.py", line 78, in cmdpair2rp
    return rpath.RPath(conn, filename).normalize()
  File "/usr/lib/python2.5/site-packages/rdiff_backup/rpath.py", line 860, in _init_
    else: self.setdata()
  File "/usr/lib/python2.5/site-packages/rdiff_backup/rpath.py", line 884, in setdata
    self.data = self.conn.rpath.make_file_dict(self.path)
  File "/usr/lib/python2.5/site-packages/rdiff_backup/connection.py", line 448, in _call_
    return apply(self.connection.reval, (self.name,) + args)
  File "/usr/lib/python2.5/site-packages/rdiff_backup/connection.py", line 370, in reval
    if isinstance(result, Exception): raise result

Traceback (most recent call last):
  File "/usr/bin/rdiff-backup", line 23, in <module>
    rdiff_backup.Main.error_check_Main(sys.argv[1:])
  File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line 302, in error_check_Main
    try: Main(arglist)
  File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line 319, in Main
    rps = map(SetConnections.cmdpair2rp, cmdpairs)
  File "/usr/lib/python2.5/site-packages/rdiff_backup/SetConnections.py", line 78, in cmdpair2rp
    return rpath.RPath(conn, filename).normalize()
  File "/usr/lib/python2.5/site-packages/rdiff_backup/rpath.py", line 860, in _init_
    else: self.setdata()
  File "/usr/lib/python2.5/site-packages/rdiff_backup/rpath.py", line 884, in setdata
    self.data = self.conn.rpath.make_file_dict(self.path)
  File "/usr/lib/python2.5/site-packages/rdiff_backup/connection.py", line 448, in _call_
    return apply(self.connection.reval, (self.name,) + args)
  File "/usr/lib/python2.5/site-packages/rdiff_backup/connection.py", line 370, in reval
    if isinstance(result, Exception): raise result
rdiff_backup.Security.Violation:
Warning Security Violation!
Bad request for function: rpath.make_file_dict
with arguments: ['/home/joel/back']

Fatal Error: Lost connection to the remote system

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by owsla (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-10-04 owsla StatusNone Invalid
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code