Subscribe to Mailing Lists     FAQFAQ    SearchSearch      Register  Log in to check your private messagesLog in to check your private messages    Log inLog in 
These forums brought to you by Backup Central, where we also have the Mr. Backup Blog, Mailing Lists, FAQs,
and Directories of Backup Software and Hardware
Problem starting rdiff: No module named rdiff_backup.Main

 
Post new topic   Reply to topic    Backup Central Forums Forum Index -> Rdiff-Backup
View previous topic :: View next topic  
Author Message
BWF
Guest





PostPosted: Sun Feb 20, 2005 3:22 pm    Post subject: Problem starting rdiff: No module named rdiff_backup.Main Reply with quote

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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Backup Central Forums Forum Index -> Rdiff-Backup All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group
Magic SEO URL for phpBB