SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
No module named rdiff_backup.Main
Author Message
Post No module named rdiff_backup.Main 
Hi,

I am trying to setup a backup system for my lab. We will backup our
servers to the universities tape facility. rdiff-backup is installed
and working properly on our machines, but I am having trouble
installing on my universities servers.

I build and install librsync and it doesn't report any errors.
I build and install rdiff-backup and it doesn't report any errors.
At first I just tried to run rdiff-backup and got the following messages

Traceback (most recent call last):
File "/afs/isis.unc.edu/home/r/e/renfrew/bin/rdiff-backup", line 21, in ?
import rdiff_backup.Main
ImportError: No module named rdiff_backup.Main

I read a few of the posts here and relized the modules were not in my
pythion path and that I should try
PYTHONPATH=/afs/isis.unc.edu/home/r/e/renfrew/lib/python2.2/site-packages/rdiff_backup/
rdiff-backup

I get the exact same error as above again. Looking at the content of
/afs/isis.unc.edu/home/r/e/renfrew/lib/python2.2/site-packages/rdiff_backup/
I do not see a rdiff_backup.Main

my boss is breathing down my neck to get this finished any help is appreciated.
Thanks in advance

Doug
--
---------------------------------------------
P. Douglas Renfrew
Graduate Student
Molecular and Cellular Biophysics Program
Dept. Biochemistry and Biophysics
Unv. of North Carolina at Chapel Hill
cell: (919)618-0700
---------------------------------------------

Post No module named rdiff_backup.Main 
On Tue, Sep 14, 2004 at 12:20:53PM -0400, Doug Renfrew wrote:
Traceback (most recent call last):
File "/afs/isis.unc.edu/home/r/e/renfrew/bin/rdiff-backup", line 21, in ?
import rdiff_backup.Main
ImportError: No module named rdiff_backup.Main

I read a few of the posts here and relized the modules were not in my
pythion path and that I should try
PYTHONPATH=/afs/isis.unc.edu/home/r/e/renfrew/lib/python2.2/site-packages/rdiff_backup/
rdiff-backup

I think you wanted:
PYTHONPATH=/afs/isis.unc.edu/home/r/e/renfrew/lib/python2.2/site-packages
(assuming that is where you put your rdiff_backup directory). That would
allow Python to find Main.py within rdiff_backup.

--
Jim Tittsler http://www.OnJapan.net/ GPG: 0x01159DB6
Python Starship http://Starship.Python.net/
Ringo MUG Tokyo http://www.ringo.net/rss.html

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