On Sep 5, 2008, at 8:58 AM, Andreas Neiser wrote:

Andrew Ferguson wrote:
This looks interesting: in your traceback, this shows the path

/opt/lib/python2.5/site-packages/rdiff_backup/time.py

but the correct path should be:

/opt/lib/python2.5/site-packages/rdiff_backup/Time.py

(note different capitalization).

Yes. I forgot to mention that I googled a lot, because I've never
written Python. While searching for similar problems, I found that
Python has some problems with case sensitive importing. But...



You need to fix your site-packages/rdiff_backup/ directory. Is there a place I can download the package you installed from to verify the problem?

Here are the correct capitalizations for the files which are capitalized:

FilenameMapping.py
Globals.py
Hardlink.py
Main.py
Rdiff.py
Security.py
SetConnections.py
TempFile.py
Time.py

There's also the possibility that your Python distributor overrode the import command. That would explain why __import__ worked for you.



Andrew



_______________________________________________
rdiff-backup-users mailing list at [email protected]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Reply via email to