[Python-apps-team] Problem with rdiff-backup on Wheezy 64bit
Jakub Wilk
jwilk at debian.org
Mon May 6 14:27:32 UTC 2013
* Frank McNamara <frank at abacus4.com>, 2013-05-06, 10:02:
>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>
You should also remove rdiff-backup's modules from
/usr/local/lib/python2.*/dist-packages/rdiff_backup/.
> 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?
No, that shouldn't be a problem. This module is deprecated, but it's
still possible to use it, even with Python 2.7.
--
Jakub Wilk
More information about the Python-apps-team
mailing list