SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Problem starting rdiff: No module named rdiff_backup.Main
Author Message
Reply with quote
Post 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

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB