BWF Guest
|
Posted: Sun Feb 20, 2005 3:22 pm Post subject: Problem starting rdiff: No module named rdiff_backup.Main |
|
|
Hi there,
when I'm trying to start rdiff-backup, it comes up with following error message:
-bash-2.05b$ rdiff-backup
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 20, in ?
import rdiff_backup.Main
ImportError: No module named rdiff_backup.Main
The module is under /usr/lib/python2.3/site-packages/rdiff_backup. I've added
this path to the PYTHONPATH environment variable, but the same error appeared.
After some other efforts I've deleted in /usr/bin/rdiff-backup the rdiff_backup
before Main:
[...]
import sys
import Main
if __name__ == "__main__" and not globals().has_key('__no_execute__'):
Main.Main(sys.argv[1:])
Now rdiff is running, but this seems to be a very bad hack. Could you please
help me to find a better solution?
python: 2.3.3
rdiff-backup: 0.12.7
linux: 2.4.26
(sorry for my bad english)
Regards
Till |
|