SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
ImportError: No module named rdiff_backup.Main
Author Message
Post ImportError: No module named rdiff_backup.Main 
Hello Everyone!

I've been looking at guides and fix-suggestions for this error for
several hours - did not help - so I'll try my luck here.
I've never coded anything in python - I'm just trying to run the
program. (So I have a hard time finding the problem.)

The Problem:
root < at > host:/usr/lib/python2.6/dist-packages# rdiff-backup -V
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 20, in <module>
import rdiff_backup.Main
ImportError: No module named rdiff_backup.Main


I'm running Debian 6, installed the package via. "apt-get install
rdiff-backup"

These are my paths:

Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:4Cool
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import sys
sys.path
['', '/usr/lib/pymodules/python2.6', '/usr/lib/python2.6',
'/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk',
'/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload',
'/usr/local/lib/python2.6/dist-packages',
'/usr/lib/python2.6/dist-packages']

I've already copied the folder to any imagineable location - no luck:

root < at > host:/usr/lib/python2.6/dist-packages# locate rdiff_backup | grep
Main.py
/usr/lib/pymodules/python2.6/rdiff_backup/Main.py
/usr/lib/pyshared/python2.6/rdiff_backup/Main.py
/usr/lib/python2.6/dist-packages/rdiff_backup/Main.py
/usr/local/lib/python2.6/dist-packages/rdiff_backup/Main.py
/usr/share/pyshared/rdiff_backup/Main.py

root < at > host:/usr/lib/python2.6/dist-packages# locate rdiff_backup | grep 1.2.8
/usr/lib/pymodules/python2.6/rdiff_backup-1.2.8.egg-info
/usr/share/pyshared/rdiff_backup-1.2.8.egg-info

Those directories above should all be in the python path.

root < at > host:/usr/lib/python2.6/dist-packages# locate rdiff-backup
/etc/bash_completion.d/rdiff-backup
/usr/bin/rdiff-backup
/usr/bin/rdiff-backup-statistics
/usr/share/doc/rdiff-backup
/usr/share/doc/rdiff-backup/FAQ.html
/usr/share/doc/rdiff-backup/README
/usr/share/doc/rdiff-backup/README.Debian
/usr/share/doc/rdiff-backup/changelog.Debian.gz
/usr/share/doc/rdiff-backup/changelog.gz
/usr/share/doc/rdiff-backup/copyright
/usr/share/doc/rdiff-backup/examples.html
/usr/share/man/man1/rdiff-backup-statistics.1.gz
/usr/share/man/man1/rdiff-backup.1.gz
/usr/share/python-support/rdiff-backup.public
/var/cache/apt/archives/rdiff-backup_1.2.8-6_amd64.deb
/var/lib/dpkg/info/rdiff-backup.conffiles
/var/lib/dpkg/info/rdiff-backup.list
/var/lib/dpkg/info/rdiff-backup.md5sums
/var/lib/dpkg/info/rdiff-backup.postinst
/var/lib/dpkg/info/rdiff-backup.prerm


Any ideas what I can try to solve this?

Thanks in advance,
Alexander

_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users < at > nongnu.org
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Post ImportError: No module named rdiff_backup.Main 
I would try to reinstall, also do a dpkg -L rdiff-backup and make sure
all the files are where they should be. I am using Debina Squeeze on a
box with rdiff-backup with no problems.

Hope this helps.

Tamashii <tamashii < at > jeranet.at> wrote:

Hello Everyone!

I've been looking at guides and fix-suggestions for this error for
several hours - did not help - so I'll try my luck here.
I've never coded anything in python - I'm just trying to run the
program. (So I have a hard time finding the problem.)

The Problem:
root < at > host:/usr/lib/python2.6/dist-packages# rdiff-backup -V
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 20, in <module>
import rdiff_backup.Main
ImportError: No module named rdiff_backup.Main


I'm running Debian 6, installed the package via. "apt-get install
rdiff-backup"

These are my paths:

Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:4Cool
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import sys
sys.path
['', '/usr/lib/pymodules/python2.6', '/usr/lib/python2.6',
'/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk',
'/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload',
'/usr/local/lib/python2.6/dist-packages',
'/usr/lib/python2.6/dist-packages']

I've already copied the folder to any imagineable location - no luck:

root < at > host:/usr/lib/python2.6/dist-packages# locate rdiff_backup | grep
Main.py
/usr/lib/pymodules/python2.6/rdiff_backup/Main.py
/usr/lib/pyshared/python2.6/rdiff_backup/Main.py
/usr/lib/python2.6/dist-packages/rdiff_backup/Main.py
/usr/local/lib/python2.6/dist-packages/rdiff_backup/Main.py
/usr/share/pyshared/rdiff_backup/Main.py

root < at > host:/usr/lib/python2.6/dist-packages# locate rdiff_backup | grep 1.2.8
/usr/lib/pymodules/python2.6/rdiff_backup-1.2.8.egg-info
/usr/share/pyshared/rdiff_backup-1.2.8.egg-info

Those directories above should all be in the python path.

root < at > host:/usr/lib/python2.6/dist-packages# locate rdiff-backup
/etc/bash_completion.d/rdiff-backup
/usr/bin/rdiff-backup
/usr/bin/rdiff-backup-statistics
/usr/share/doc/rdiff-backup
/usr/share/doc/rdiff-backup/FAQ.html
/usr/share/doc/rdiff-backup/README
/usr/share/doc/rdiff-backup/README.Debian
/usr/share/doc/rdiff-backup/changelog.Debian.gz
/usr/share/doc/rdiff-backup/changelog.gz
/usr/share/doc/rdiff-backup/copyright
/usr/share/doc/rdiff-backup/examples.html
/usr/share/man/man1/rdiff-backup-statistics.1.gz
/usr/share/man/man1/rdiff-backup.1.gz
/usr/share/python-support/rdiff-backup.public
/var/cache/apt/archives/rdiff-backup_1.2.8-6_amd64.deb
/var/lib/dpkg/info/rdiff-backup.conffiles
/var/lib/dpkg/info/rdiff-backup.list
/var/lib/dpkg/info/rdiff-backup.md5sums
/var/lib/dpkg/info/rdiff-backup.postinst
/var/lib/dpkg/info/rdiff-backup.prerm


Any ideas what I can try to solve this?

Thanks in advance,
Alexander

_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users < at > nongnu.org
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?

John Covici
covici < at > ccs.covici.com

_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users < at > nongnu.org
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Post ImportError: No module named rdiff_backup.Main 
Reinstallation of the package with dpkg did not yield any favorable
results. I've also tried to remove it all and install it again with apt-get.
This gave the same result:

root < at > host:/usr/lib/pymodules/python2.6# apt-get install rdiff-backup
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
rdiff-backup
0 upgraded, 1 newly installed, 0 to remove and 24 not upgraded.
Need to get 0 B/202 kB of archives.
After this operation, 823 kB of additional disk space will be used.
Selecting previously deselected package rdiff-backup.
(Reading database ... 30265 files and directories currently installed.)
Unpacking rdiff-backup (from .../rdiff-backup_1.2.8-6_amd64.deb) ...
Setting up rdiff-backup (1.2.8-6) ...

root < at > host:/usr/lib/pymodules/python2.6# rdiff-backup -V
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 20, in <module>
import rdiff_backup.Main
ImportError: No module named rdiff_backup.Main


I can try to purge it again and re-install it from sources, but if
possible I'd like to have it in packages for updates.


Thanks again,
Alexander

Am 29.07.2011 06:57, schrieb covici < at > ccs.covici.com:
I would try to reinstall, also do a dpkg -L rdiff-backup and make sure
all the files are where they should be. I am using Debina Squeeze on a
box with rdiff-backup with no problems.

Hope this helps.

Tamashii<tamashii < at > jeranet.at> wrote:

Hello Everyone!

I've been looking at guides and fix-suggestions for this error for
several hours - did not help - so I'll try my luck here.
I've never coded anything in python - I'm just trying to run the
program. (So I have a hard time finding the problem.)

The Problem:
root < at > host:/usr/lib/python2.6/dist-packages# rdiff-backup -V
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 20, in<module>
import rdiff_backup.Main
ImportError: No module named rdiff_backup.Main


I'm running Debian 6, installed the package via. "apt-get install
rdiff-backup"

These are my paths:

Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:4Cool
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import sys
sys.path
['', '/usr/lib/pymodules/python2.6', '/usr/lib/python2.6',
'/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk',
'/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload',
'/usr/local/lib/python2.6/dist-packages',
'/usr/lib/python2.6/dist-packages']
I've already copied the folder to any imagineable location - no luck:

root < at > host:/usr/lib/python2.6/dist-packages# locate rdiff_backup | grep
Main.py
/usr/lib/pymodules/python2.6/rdiff_backup/Main.py
/usr/lib/pyshared/python2.6/rdiff_backup/Main.py
/usr/lib/python2.6/dist-packages/rdiff_backup/Main.py
/usr/local/lib/python2.6/dist-packages/rdiff_backup/Main.py
/usr/share/pyshared/rdiff_backup/Main.py

root < at > host:/usr/lib/python2.6/dist-packages# locate rdiff_backup | grep 1.2.8
/usr/lib/pymodules/python2.6/rdiff_backup-1.2.8.egg-info
/usr/share/pyshared/rdiff_backup-1.2.8.egg-info

Those directories above should all be in the python path.

root < at > host:/usr/lib/python2.6/dist-packages# locate rdiff-backup
/etc/bash_completion.d/rdiff-backup
/usr/bin/rdiff-backup
/usr/bin/rdiff-backup-statistics
/usr/share/doc/rdiff-backup
/usr/share/doc/rdiff-backup/FAQ.html
/usr/share/doc/rdiff-backup/README
/usr/share/doc/rdiff-backup/README.Debian
/usr/share/doc/rdiff-backup/changelog.Debian.gz
/usr/share/doc/rdiff-backup/changelog.gz
/usr/share/doc/rdiff-backup/copyright
/usr/share/doc/rdiff-backup/examples.html
/usr/share/man/man1/rdiff-backup-statistics.1.gz
/usr/share/man/man1/rdiff-backup.1.gz
/usr/share/python-support/rdiff-backup.public
/var/cache/apt/archives/rdiff-backup_1.2.8-6_amd64.deb
/var/lib/dpkg/info/rdiff-backup.conffiles
/var/lib/dpkg/info/rdiff-backup.list
/var/lib/dpkg/info/rdiff-backup.md5sums
/var/lib/dpkg/info/rdiff-backup.postinst
/var/lib/dpkg/info/rdiff-backup.prerm


Any ideas what I can try to solve this?

Thanks in advance,
Alexander

_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users < at > nongnu.org
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki


_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users < at > nongnu.org
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Post ImportError: No module named rdiff_backup.Main 
What is the output of dpkg -L rdiff-backup ?

Tamashii <tamashii < at > jeranet.at> wrote:

Reinstallation of the package with dpkg did not yield any favorable
results. I've also tried to remove it all and install it again with
apt-get.
This gave the same result:

root < at > host:/usr/lib/pymodules/python2.6# apt-get install rdiff-backup
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
rdiff-backup
0 upgraded, 1 newly installed, 0 to remove and 24 not upgraded.
Need to get 0 B/202 kB of archives.
After this operation, 823 kB of additional disk space will be used.
Selecting previously deselected package rdiff-backup.
(Reading database ... 30265 files and directories currently installed.)
Unpacking rdiff-backup (from .../rdiff-backup_1.2.8-6_amd64.deb) ...
Setting up rdiff-backup (1.2.8-6) ...

root < at > host:/usr/lib/pymodules/python2.6# rdiff-backup -V
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 20, in <module>
import rdiff_backup.Main
ImportError: No module named rdiff_backup.Main


I can try to purge it again and re-install it from sources, but if
possible I'd like to have it in packages for updates.


Thanks again,
Alexander

Am 29.07.2011 06:57, schrieb covici < at > ccs.covici.com:
I would try to reinstall, also do a dpkg -L rdiff-backup and make sure
all the files are where they should be. I am using Debina Squeeze on a
box with rdiff-backup with no problems.

Hope this helps.

Tamashii<tamashii < at > jeranet.at> wrote:

Hello Everyone!

I've been looking at guides and fix-suggestions for this error for
several hours - did not help - so I'll try my luck here.
I've never coded anything in python - I'm just trying to run the
program. (So I have a hard time finding the problem.)

The Problem:
root < at > host:/usr/lib/python2.6/dist-packages# rdiff-backup -V
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 20, in<module>
import rdiff_backup.Main
ImportError: No module named rdiff_backup.Main


I'm running Debian 6, installed the package via. "apt-get install
rdiff-backup"

These are my paths:

Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:4Cool
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import sys
sys.path
['', '/usr/lib/pymodules/python2.6', '/usr/lib/python2.6',
'/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk',
'/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload',
'/usr/local/lib/python2.6/dist-packages',
'/usr/lib/python2.6/dist-packages']
I've already copied the folder to any imagineable location - no luck:

root < at > host:/usr/lib/python2.6/dist-packages# locate rdiff_backup | grep
Main.py
/usr/lib/pymodules/python2.6/rdiff_backup/Main.py
/usr/lib/pyshared/python2.6/rdiff_backup/Main.py
/usr/lib/python2.6/dist-packages/rdiff_backup/Main.py
/usr/local/lib/python2.6/dist-packages/rdiff_backup/Main.py
/usr/share/pyshared/rdiff_backup/Main.py

root < at > host:/usr/lib/python2.6/dist-packages# locate rdiff_backup | grep 1.2.8
/usr/lib/pymodules/python2.6/rdiff_backup-1.2.8.egg-info
/usr/share/pyshared/rdiff_backup-1.2.8.egg-info

Those directories above should all be in the python path.

root < at > host:/usr/lib/python2.6/dist-packages# locate rdiff-backup
/etc/bash_completion.d/rdiff-backup
/usr/bin/rdiff-backup
/usr/bin/rdiff-backup-statistics
/usr/share/doc/rdiff-backup
/usr/share/doc/rdiff-backup/FAQ.html
/usr/share/doc/rdiff-backup/README
/usr/share/doc/rdiff-backup/README.Debian
/usr/share/doc/rdiff-backup/changelog.Debian.gz
/usr/share/doc/rdiff-backup/changelog.gz
/usr/share/doc/rdiff-backup/copyright
/usr/share/doc/rdiff-backup/examples.html
/usr/share/man/man1/rdiff-backup-statistics.1.gz
/usr/share/man/man1/rdiff-backup.1.gz
/usr/share/python-support/rdiff-backup.public
/var/cache/apt/archives/rdiff-backup_1.2.8-6_amd64.deb
/var/lib/dpkg/info/rdiff-backup.conffiles
/var/lib/dpkg/info/rdiff-backup.list
/var/lib/dpkg/info/rdiff-backup.md5sums
/var/lib/dpkg/info/rdiff-backup.postinst
/var/lib/dpkg/info/rdiff-backup.prerm


Any ideas what I can try to solve this?

Thanks in advance,
Alexander

_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users < at > nongnu.org
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?

John Covici
covici < at > ccs.covici.com

_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users < at > nongnu.org
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Post ImportError: No module named rdiff_backup.Main 
Also, what if you do this from your regular home directory -- any
difference?

Tamashii <tamashii < at > jeranet.at> wrote:

Reinstallation of the package with dpkg did not yield any favorable
results. I've also tried to remove it all and install it again with
apt-get.
This gave the same result:

root < at > host:/usr/lib/pymodules/python2.6# apt-get install rdiff-backup
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
rdiff-backup
0 upgraded, 1 newly installed, 0 to remove and 24 not upgraded.
Need to get 0 B/202 kB of archives.
After this operation, 823 kB of additional disk space will be used.
Selecting previously deselected package rdiff-backup.
(Reading database ... 30265 files and directories currently installed.)
Unpacking rdiff-backup (from .../rdiff-backup_1.2.8-6_amd64.deb) ...
Setting up rdiff-backup (1.2.8-6) ...

root < at > host:/usr/lib/pymodules/python2.6# rdiff-backup -V
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 20, in <module>
import rdiff_backup.Main
ImportError: No module named rdiff_backup.Main


I can try to purge it again and re-install it from sources, but if
possible I'd like to have it in packages for updates.


Thanks again,
Alexander

Am 29.07.2011 06:57, schrieb covici < at > ccs.covici.com:
I would try to reinstall, also do a dpkg -L rdiff-backup and make sure
all the files are where they should be. I am using Debina Squeeze on a
box with rdiff-backup with no problems.

Hope this helps.

Tamashii<tamashii < at > jeranet.at> wrote:

Hello Everyone!

I've been looking at guides and fix-suggestions for this error for
several hours - did not help - so I'll try my luck here.
I've never coded anything in python - I'm just trying to run the
program. (So I have a hard time finding the problem.)

The Problem:
root < at > host:/usr/lib/python2.6/dist-packages# rdiff-backup -V
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 20, in<module>
import rdiff_backup.Main
ImportError: No module named rdiff_backup.Main


I'm running Debian 6, installed the package via. "apt-get install
rdiff-backup"

These are my paths:

Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:4Cool
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import sys
sys.path
['', '/usr/lib/pymodules/python2.6', '/usr/lib/python2.6',
'/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk',
'/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload',
'/usr/local/lib/python2.6/dist-packages',
'/usr/lib/python2.6/dist-packages']
I've already copied the folder to any imagineable location - no luck:

root < at > host:/usr/lib/python2.6/dist-packages# locate rdiff_backup | grep
Main.py
/usr/lib/pymodules/python2.6/rdiff_backup/Main.py
/usr/lib/pyshared/python2.6/rdiff_backup/Main.py
/usr/lib/python2.6/dist-packages/rdiff_backup/Main.py
/usr/local/lib/python2.6/dist-packages/rdiff_backup/Main.py
/usr/share/pyshared/rdiff_backup/Main.py

root < at > host:/usr/lib/python2.6/dist-packages# locate rdiff_backup | grep 1.2.8
/usr/lib/pymodules/python2.6/rdiff_backup-1.2.8.egg-info
/usr/share/pyshared/rdiff_backup-1.2.8.egg-info

Those directories above should all be in the python path.

root < at > host:/usr/lib/python2.6/dist-packages# locate rdiff-backup
/etc/bash_completion.d/rdiff-backup
/usr/bin/rdiff-backup
/usr/bin/rdiff-backup-statistics
/usr/share/doc/rdiff-backup
/usr/share/doc/rdiff-backup/FAQ.html
/usr/share/doc/rdiff-backup/README
/usr/share/doc/rdiff-backup/README.Debian
/usr/share/doc/rdiff-backup/changelog.Debian.gz
/usr/share/doc/rdiff-backup/changelog.gz
/usr/share/doc/rdiff-backup/copyright
/usr/share/doc/rdiff-backup/examples.html
/usr/share/man/man1/rdiff-backup-statistics.1.gz
/usr/share/man/man1/rdiff-backup.1.gz
/usr/share/python-support/rdiff-backup.public
/var/cache/apt/archives/rdiff-backup_1.2.8-6_amd64.deb
/var/lib/dpkg/info/rdiff-backup.conffiles
/var/lib/dpkg/info/rdiff-backup.list
/var/lib/dpkg/info/rdiff-backup.md5sums
/var/lib/dpkg/info/rdiff-backup.postinst
/var/lib/dpkg/info/rdiff-backup.prerm


Any ideas what I can try to solve this?

Thanks in advance,
Alexander

_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users < at > nongnu.org
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?

John Covici
covici < at > ccs.covici.com

_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users < at > nongnu.org
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Post ImportError: No module named rdiff_backup.Main 
Output:
root < at > host:/usr/lib/pymodules/python2.6# dpkg -L rdiff-backup
/.
/usr
/usr/lib
/usr/lib/pyshared
/usr/lib/pyshared/python2.6
/usr/lib/pyshared/python2.6/rdiff_backup
/usr/lib/pyshared/python2.6/rdiff_backup/_librsync.so
/usr/lib/pyshared/python2.6/rdiff_backup/C.so
/usr/lib/pyshared/python2.5
/usr/lib/pyshared/python2.5/rdiff_backup
/usr/lib/pyshared/python2.5/rdiff_backup/_librsync.so
/usr/lib/pyshared/python2.5/rdiff_backup/C.so
/usr/share
/usr/share/python-support
/usr/share/python-support/rdiff-backup.public
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/rdiff-backup-statistics.1.gz
/usr/share/man/man1/rdiff-backup.1.gz
/usr/share/doc
/usr/share/doc/rdiff-backup
/usr/share/doc/rdiff-backup/changelog.gz
/usr/share/doc/rdiff-backup/examples.html
/usr/share/doc/rdiff-backup/changelog.Debian.gz
/usr/share/doc/rdiff-backup/copyright
/usr/share/doc/rdiff-backup/FAQ.html
/usr/share/doc/rdiff-backup/README
/usr/share/doc/rdiff-backup/README.Debian
/usr/share/pyshared
/usr/share/pyshared/rdiff_backup-1.2.8.egg-info
/usr/share/pyshared/rdiff_backup
/usr/share/pyshared/rdiff_backup/librsync.py
/usr/share/pyshared/rdiff_backup/backup.py
/usr/share/pyshared/rdiff_backup/statistics.py
/usr/share/pyshared/rdiff_backup/Time.py
/usr/share/pyshared/rdiff_backup/win_acls.py
/usr/share/pyshared/rdiff_backup/selection.py
/usr/share/pyshared/rdiff_backup/hash.py
/usr/share/pyshared/rdiff_backup/Globals.py
/usr/share/pyshared/rdiff_backup/metadata.py
/usr/share/pyshared/rdiff_backup/increment.py
/usr/share/pyshared/rdiff_backup/fs_abilities.py
/usr/share/pyshared/rdiff_backup/lazy.py
/usr/share/pyshared/rdiff_backup/rorpiter.py
/usr/share/pyshared/rdiff_backup/static.py
/usr/share/pyshared/rdiff_backup/FilenameMapping.py
/usr/share/pyshared/rdiff_backup/rpath.py
/usr/share/pyshared/rdiff_backup/longname.py
/usr/share/pyshared/rdiff_backup/iterfile.py
/usr/share/pyshared/rdiff_backup/compare.py
/usr/share/pyshared/rdiff_backup/restore.py
/usr/share/pyshared/rdiff_backup/regress.py
/usr/share/pyshared/rdiff_backup/SetConnections.py
/usr/share/pyshared/rdiff_backup/log.py
/usr/share/pyshared/rdiff_backup/TempFile.py
/usr/share/pyshared/rdiff_backup/manage.py
/usr/share/pyshared/rdiff_backup/connection.py
/usr/share/pyshared/rdiff_backup/robust.py
/usr/share/pyshared/rdiff_backup/Hardlink.py
/usr/share/pyshared/rdiff_backup/Main.py
/usr/share/pyshared/rdiff_backup/Security.py
/usr/share/pyshared/rdiff_backup/eas_acls.py
/usr/share/pyshared/rdiff_backup/user_group.py
/usr/share/pyshared/rdiff_backup/Rdiff.py
/usr/bin
/usr/bin/rdiff-backup
/usr/bin/rdiff-backup-statistics
/etc
/etc/bash_completion.d
/etc/bash_completion.d/rdiff-backup


Am 29.07.2011 11:07, schrieb covici < at > ccs.covici.com:
What is the output of dpkg -L rdiff-backup ?

Tamashii<tamashii < at > jeranet.at> wrote:

Reinstallation of the package with dpkg did not yield any favorable
results. I've also tried to remove it all and install it again with
apt-get.
This gave the same result:

root < at > host:/usr/lib/pymodules/python2.6# apt-get install rdiff-backup
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
rdiff-backup
0 upgraded, 1 newly installed, 0 to remove and 24 not upgraded.
Need to get 0 B/202 kB of archives.
After this operation, 823 kB of additional disk space will be used.
Selecting previously deselected package rdiff-backup.
(Reading database ... 30265 files and directories currently installed.)
Unpacking rdiff-backup (from .../rdiff-backup_1.2.8-6_amd64.deb) ...
Setting up rdiff-backup (1.2.8-6) ...

root < at > host:/usr/lib/pymodules/python2.6# rdiff-backup -V
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 20, in<module>
import rdiff_backup.Main
ImportError: No module named rdiff_backup.Main


I can try to purge it again and re-install it from sources, but if
possible I'd like to have it in packages for updates.


Thanks again,
Alexander

Am 29.07.2011 06:57, schrieb covici < at > ccs.covici.com:
I would try to reinstall, also do a dpkg -L rdiff-backup and make sure
all the files are where they should be. I am using Debina Squeeze on a
box with rdiff-backup with no problems.

Hope this helps.

Tamashii<tamashii < at > jeranet.at> wrote:

Hello Everyone!

I've been looking at guides and fix-suggestions for this error for
several hours - did not help - so I'll try my luck here.
I've never coded anything in python - I'm just trying to run the
program. (So I have a hard time finding the problem.)

The Problem:
root < at > host:/usr/lib/python2.6/dist-packages# rdiff-backup -V
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 20, in<module>
import rdiff_backup.Main
ImportError: No module named rdiff_backup.Main


I'm running Debian 6, installed the package via. "apt-get install
rdiff-backup"

These are my paths:

Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:4Cool
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import sys
sys.path
['', '/usr/lib/pymodules/python2.6', '/usr/lib/python2.6',
'/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk',
'/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload',
'/usr/local/lib/python2.6/dist-packages',
'/usr/lib/python2.6/dist-packages']
I've already copied the folder to any imagineable location - no luck:

root < at > host:/usr/lib/python2.6/dist-packages# locate rdiff_backup | grep
Main.py
/usr/lib/pymodules/python2.6/rdiff_backup/Main.py
/usr/lib/pyshared/python2.6/rdiff_backup/Main.py
/usr/lib/python2.6/dist-packages/rdiff_backup/Main.py
/usr/local/lib/python2.6/dist-packages/rdiff_backup/Main.py
/usr/share/pyshared/rdiff_backup/Main.py

root < at > host:/usr/lib/python2.6/dist-packages# locate rdiff_backup | grep 1.2.8
/usr/lib/pymodules/python2.6/rdiff_backup-1.2.8.egg-info
/usr/share/pyshared/rdiff_backup-1.2.8.egg-info

Those directories above should all be in the python path.

root < at > host:/usr/lib/python2.6/dist-packages# locate rdiff-backup
/etc/bash_completion.d/rdiff-backup
/usr/bin/rdiff-backup
/usr/bin/rdiff-backup-statistics
/usr/share/doc/rdiff-backup
/usr/share/doc/rdiff-backup/FAQ.html
/usr/share/doc/rdiff-backup/README
/usr/share/doc/rdiff-backup/README.Debian
/usr/share/doc/rdiff-backup/changelog.Debian.gz
/usr/share/doc/rdiff-backup/changelog.gz
/usr/share/doc/rdiff-backup/copyright
/usr/share/doc/rdiff-backup/examples.html
/usr/share/man/man1/rdiff-backup-statistics.1.gz
/usr/share/man/man1/rdiff-backup.1.gz
/usr/share/python-support/rdiff-backup.public
/var/cache/apt/archives/rdiff-backup_1.2.8-6_amd64.deb
/var/lib/dpkg/info/rdiff-backup.conffiles
/var/lib/dpkg/info/rdiff-backup.list
/var/lib/dpkg/info/rdiff-backup.md5sums
/var/lib/dpkg/info/rdiff-backup.postinst
/var/lib/dpkg/info/rdiff-backup.prerm


Any ideas what I can try to solve this?

Thanks in advance,
Alexander

_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users < at > nongnu.org
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki


_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users < at > nongnu.org
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Post ImportError: No module named rdiff_backup.Main 
I've finally managed to get it to run - what I did was upgrading python
to 2.6.7 ... (2.6.6 is standard though)

Thanks for your help Smile

Am 29.07.2011 13:03, schrieb covici < at > ccs.covici.com:
When you log in your home directory should be /root or some such.

Also, make sure what version of python you have, it should be 2.6 for
Debian Squeeze.

Otherwise, I am out of ideas.


Tamashii<tamashii < at > jeranet.at> wrote:

I didn't cc this message to the group.

What do you mean with "from my regular home directory?"


Am 29.07.2011 11:08, schrieb covici < at > ccs.covici.com:
Also, what if you do this from your regular home directory -- any
difference?

Tamashii<tamashii < at > jeranet.at> wrote:

Reinstallation of the package with dpkg did not yield any favorable
results. I've also tried to remove it all and install it again with
apt-get.
This gave the same result:

root < at > host:/usr/lib/pymodules/python2.6# apt-get install rdiff-backup
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
rdiff-backup
0 upgraded, 1 newly installed, 0 to remove and 24 not upgraded.
Need to get 0 B/202 kB of archives.
After this operation, 823 kB of additional disk space will be used.
Selecting previously deselected package rdiff-backup.
(Reading database ... 30265 files and directories currently installed.)
Unpacking rdiff-backup (from .../rdiff-backup_1.2.8-6_amd64.deb) ...
Setting up rdiff-backup (1.2.8-6) ...

root < at > host:/usr/lib/pymodules/python2.6# rdiff-backup -V
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 20, in<module>
import rdiff_backup.Main
ImportError: No module named rdiff_backup.Main


I can try to purge it again and re-install it from sources, but if
possible I'd like to have it in packages for updates.


Thanks again,
Alexander

Am 29.07.2011 06:57, schrieb covici < at > ccs.covici.com:
I would try to reinstall, also do a dpkg -L rdiff-backup and make sure
all the files are where they should be. I am using Debina Squeeze on a
box with rdiff-backup with no problems.

Hope this helps.

Tamashii<tamashii < at > jeranet.at> wrote:

Hello Everyone!

I've been looking at guides and fix-suggestions for this error for
several hours - did not help - so I'll try my luck here.
I've never coded anything in python - I'm just trying to run the
program. (So I have a hard time finding the problem.)

The Problem:
root < at > host:/usr/lib/python2.6/dist-packages# rdiff-backup -V
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 20, in<module>
import rdiff_backup.Main
ImportError: No module named rdiff_backup.Main


I'm running Debian 6, installed the package via. "apt-get install
rdiff-backup"

These are my paths:

Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:4Cool
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import sys
sys.path
['', '/usr/lib/pymodules/python2.6', '/usr/lib/python2.6',
'/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk',
'/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload',
'/usr/local/lib/python2.6/dist-packages',
'/usr/lib/python2.6/dist-packages']
I've already copied the folder to any imagineable location - no luck:

root < at > host:/usr/lib/python2.6/dist-packages# locate rdiff_backup | grep
Main.py
/usr/lib/pymodules/python2.6/rdiff_backup/Main.py
/usr/lib/pyshared/python2.6/rdiff_backup/Main.py
/usr/lib/python2.6/dist-packages/rdiff_backup/Main.py
/usr/local/lib/python2.6/dist-packages/rdiff_backup/Main.py
/usr/share/pyshared/rdiff_backup/Main.py

root < at > host:/usr/lib/python2.6/dist-packages# locate rdiff_backup | grep 1.2.8
/usr/lib/pymodules/python2.6/rdiff_backup-1.2.8.egg-info
/usr/share/pyshared/rdiff_backup-1.2.8.egg-info

Those directories above should all be in the python path.

root < at > host:/usr/lib/python2.6/dist-packages# locate rdiff-backup
/etc/bash_completion.d/rdiff-backup
/usr/bin/rdiff-backup
/usr/bin/rdiff-backup-statistics
/usr/share/doc/rdiff-backup
/usr/share/doc/rdiff-backup/FAQ.html
/usr/share/doc/rdiff-backup/README
/usr/share/doc/rdiff-backup/README.Debian
/usr/share/doc/rdiff-backup/changelog.Debian.gz
/usr/share/doc/rdiff-backup/changelog.gz
/usr/share/doc/rdiff-backup/copyright
/usr/share/doc/rdiff-backup/examples.html
/usr/share/man/man1/rdiff-backup-statistics.1.gz
/usr/share/man/man1/rdiff-backup.1.gz
/usr/share/python-support/rdiff-backup.public
/var/cache/apt/archives/rdiff-backup_1.2.8-6_amd64.deb
/var/lib/dpkg/info/rdiff-backup.conffiles
/var/lib/dpkg/info/rdiff-backup.list
/var/lib/dpkg/info/rdiff-backup.md5sums
/var/lib/dpkg/info/rdiff-backup.postinst
/var/lib/dpkg/info/rdiff-backup.prerm


Any ideas what I can try to solve this?

Thanks in advance,
Alexander

_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users < at > nongnu.org
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki


_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users < at > nongnu.org
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

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