[Python-apps-team] Problem with rdiff-backup on Wheezy 64bit

Frank McNamara frank at abacus4.com
Mon May 6 08:02:57 UTC 2013


On 04/05/13 18:44, Jakub Wilk wrote:
> * Frank McNamara <frank at abacus4.com>, 2013-05-03, 15:20:
>> I can't get rdiff-backup (rdiff-backup 1.2.8-7 amd64)  to run on my 
>> system, just:
>>
>> # rdiff-backup
>> Traceback (most recent call last):
>>  File "/usr/local/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
>
> 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.)
>

I took away the version I'd downloaded and then tried again:

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


I wonder if, according to this page 
<http://docs.python.org/2/library/sha.html>, 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 
http://rdiff-backup.nongnu.org/index.html site, perhaps you know. That 
site doesn't seem to have been updated since 2009, so perhaps this 
software is in trouble.

All the best - Frank


-- 
Frank McNamara
MCH Konsulting Sweden
Kokillgatan 1
72133 Västerås
SWEDEN
Mail to me: frank at abacus4.com
Mail to all at MCH: office at abacus4.com
Jabber: frank_mcn at abacus4.com
mobile phone: +46 707100373

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/python-apps-team/attachments/20130506/1e849b13/attachment-0001.html>


More information about the Python-apps-team mailing list