Can't seem to get it right. I've used these two patches, taken from the provided commit message.
http://cvs.savannah.gnu.org/viewvc/rdiff-backup/rdiff_backup/Main.py?r1=1.127.2.2&r2=1.127.2.3&pathrev=r1-2&root=rdiff-backup&view=patch http://cvs.savannah.gnu.org/viewvc/rdiff-backup/rdiff_backup/SetConnections.py?r1=1.18.2.2&r2=1.18.2.3&pathrev=r1-2&root=rdiff-backup&view=patch They apply nicely, but somehow seems to break --test-server completely. This is what I get andr...@hawat:~$ rdiff-backup --test-server andr...@pc13267v3.midgard.liu.se::dest andr...@pc13267v3.midgard.liu.se's password: Exception ''module' object has no attribute 'connection'' raised of class '<type 'exceptions.AttributeError'>': File "/usr/local/lib/python2.5/site-packages/rdiff_backup/Main.py", line 304, in error_check_Main try: Main(arglist) File "/usr/local/lib/python2.5/site-packages/rdiff_backup/Main.py", line 324, in Main take_action(rps) File "/usr/local/lib/python2.5/site-packages/rdiff_backup/Main.py", line 291, in take_action elif action == "test-server": SetConnections.TestConnections(rps) File "/usr/local/lib/python2.5/site-packages/rdiff_backup/SetConnections.py", line 248, in TestConnections assert len(Globals.connection) == len(rpaths) + 1 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.5/site-packages/rdiff_backup/Main.py", line 304, in error_check_Main try: Main(arglist) File "/usr/local/lib/python2.5/site-packages/rdiff_backup/Main.py", line 324, in Main take_action(rps) File "/usr/local/lib/python2.5/site-packages/rdiff_backup/Main.py", line 291, in take_action elif action == "test-server": SetConnections.TestConnections(rps) File "/usr/local/lib/python2.5/site-packages/rdiff_backup/SetConnections.py", line 248, in TestConnections assert len(Globals.connection) == len(rpaths) + 1 AttributeError: 'module' object has no attribute 'connection' Fatal Error: Lost connection to the remote system I've tried the patches on both rdiff-backup 1.2.7 and on rdiff-backup 1.2.8 I've been using the same (patched) version of rdiff-backup on both sides. -- jaunty rdiff-backup can't use --test-server with a "rdiff-backup --server --restrict" command-locked remote side https://bugs.launchpad.net/bugs/349072 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs