python exception - forgot to add %s to remote-schema

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

python exception - forgot to add %s to remote-schema

Vadim Kouzmine
rdiff-backup 1.1.5


Command (mention absence of %s in remote schema, just made a mistake):

rdiff-backup --remote-schema 'ssh rdiff-backup --server' localhost::src/
dst/


Output:

Exception 'not all arguments converted during string formatting' raised
of class 'exceptions.TypeError':
  File
"/usr/local/Python/lib/python2.4/site-packages/rdiff_backup/Main.py",
line 295, in error_check_Main
    try: Main(arglist)
  File
"/usr/local/Python/lib/python2.4/site-packages/rdiff_backup/Main.py",
line 310, in Main
    cmdpairs = SetConnections.get_cmd_pairs(args, remote_schema,
remote_cmd)
  File
"/usr/local/Python/lib/python2.4/site-packages/rdiff_backup/SetConnections.py", line 65, in get_cmd_pairs
    cmdpairs = map(desc2cmd_pairs, desc_pairs)
  File
"/usr/local/Python/lib/python2.4/site-packages/rdiff_backup/SetConnections.py", line 81, in desc2cmd_pairs
    else: return (fill_schema(host_info), filename)
  File
"/usr/local/Python/lib/python2.4/site-packages/rdiff_backup/SetConnections.py", line 119, in fill_schema
    return __cmd_schema % host_info


--
Vadim Kouzmine <[hidden email]>



_______________________________________________
rdiff-backup-users mailing list at [hidden email]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki