You are not logged in.
I am really in need of some backup software and like sbackup but I am having trouble with it. I believe the problem has to do with python3.
When I try to run the version from the AUR I get "File "/usr/sbin/sbackupd", line 51
if self.verbose: print "MyConfigParser.__init__"
^
SyntaxError: invalid syntax
."
I also tried to just use the version from Ubuntu Maverick but it also gets an error.
I tried installing from the latest source but after sudo make install it fails with
"install -m 644 data/org.sbackupteam.SimpleBackup.conf /etc/dbus-1/system.d
/bin/sh: line 2: dbus: command not found
make: *** [install-dbus] Error 127
"
I made a symlink from /usr/bin/dbus-launch to dbus but that returns "install -m 644 data/org.sbackupteam.SimpleBackup.conf /etc/dbus-1/system.d
Couldn't exec force-reload: No such file or directory
make: *** [install-dbus] Error 1
"
If I execeute sbackupconfig directly it returns "File "/usr/local/sbin/sbackupconfig", line 74
"
print "Unable to open `%s` for reading." % str(self._configfile")
^
SyntaxError: invalid syntax
I would appreciate any help in resolving why I can't even install from source. Thank you very much in advance.
Offline
Just change all mentions of 'python' with 'python2'. Like the "shebang" line at the top of the script. If it says something like
#!/usr/bin/python
change it to use /usr/bin/python2.
Just a WAG.
Offline
It worked thanks!
Offline
That resolved the problem for me too. Thank you very much!
Offline
Be sure to read the news on python:
Offline