<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 04/05/13 18:44, Jakub Wilk wrote:
    <blockquote cite="mid:20130504164450.GA3294@jwilk.net" type="cite">*
      Frank McNamara <a class="moz-txt-link-rfc2396E" href="mailto:frank@abacus4.com"><frank@abacus4.com></a>, 2013-05-03, 15:20:
      <br>
      <blockquote type="cite">I can't get rdiff-backup (rdiff-backup
        1.2.8-7 amd64)  to run on my system, just:
        <br>
        <br>
        # rdiff-backup
        <br>
        Traceback (most recent call last):
        <br>
         File "/usr/local/bin/rdiff-backup", line 20, in<module>
        <br>
           import rdiff_backup.Main
        <br>
         File
        "/usr/local/lib/python2.7/dist-packages/rdiff_backup/Main.py",
        line 25, in<module>
        <br>
           import Globals, Time, SetConnections, selection, robust,
        rpath, \
        <br>
         File
        "/usr/local/lib/python2.7/dist-packages/rdiff_backup/SetConnections.py",
        line 30, in<module>
        <br>
           import Globals, connection, rpath
        <br>
         File
        "/usr/local/lib/python2.7/dist-packages/rdiff_backup/connection.py",
        line 539, in<module>
        <br>
           import Globals, Time, Rdiff, Hardlink, FilenameMapping, C,
        Security, \
        <br>
         File
        "/usr/local/lib/python2.7/dist-packages/rdiff_backup/Rdiff.py",
        line 23, in<module>
        <br>
           import Globals, log, static, TempFile, rpath, hash
        <br>
         File
        "/usr/local/lib/python2.7/dist-packages/rdiff_backup/hash.py",
        line 27, in<module>
        <br>
           import sha
        <br>
        ImportError: No module named sha
        <br>
      </blockquote>
      <br>
      Well, this traceback was produced by your own rdiff-backup
      installation from /usr/local, not the one from Debian package.
      (Although I don't quite understand why importing "sha" failed.)
      <br>
      <br>
    </blockquote>
    <br>
    I took away the version I'd downloaded and then tried again:<br>
    <pre>rdiff-backup
Traceback (most recent call last):
  File "/usr/bin/rdiff-backup", line 20, in <module>
    import rdiff_backup.Main
  File "/usr/local/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 25, in <module>
    import Globals, Time, SetConnections, selection, robust, rpath, \
  File "/usr/local/lib/python2.7/dist-packages/rdiff_backup/SetConnections.py", line 30, in <module>
    import Globals, connection, rpath
  File "/usr/local/lib/python2.7/dist-packages/rdiff_backup/connection.py", line 539, in <module>
    import Globals, Time, Rdiff, Hardlink, FilenameMapping, C, Security, \
  File "/usr/local/lib/python2.7/dist-packages/rdiff_backup/Rdiff.py", line 23, in <module>
    import Globals, log, static, TempFile, rpath, hash
  File "/usr/local/lib/python2.7/dist-packages/rdiff_backup/hash.py", line 27, in <module>
    import sha
ImportError: No module named sha

</pre>
    I wonder if, according to <a
      href="http://docs.python.org/2/library/sha.html">this page</a>,
    the sha module has been depreciated since version 2.5, and I'm
    running 2.7, is the problem? If that's the case then this is perhaps
    a problem for whoever maintains rdif-backup. I couldn't see how to
    get in touch with them on the <a
      href="http://rdiff-backup.nongnu.org/index.html">http://rdiff-backup.nongnu.org/index.html</a>
    site, perhaps you know. That site doesn't seem to have been updated
    since 2009, so perhaps this software is in trouble.<br>
    <br>
    All the best - Frank<br>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Frank McNamara
MCH Konsulting Sweden
Kokillgatan 1
72133 Västerås
SWEDEN
Mail to me: <a class="moz-txt-link-abbreviated" href="mailto:frank@abacus4.com">frank@abacus4.com</a>  
Mail to all at MCH: <a class="moz-txt-link-abbreviated" href="mailto:office@abacus4.com">office@abacus4.com</a>
Jabber: <a class="moz-txt-link-abbreviated" href="mailto:frank_mcn@abacus4.com">frank_mcn@abacus4.com</a>
mobile phone: +46 707100373
</pre>
  </body>
</html>