Page 1 of 1

Downloaded fwbackups file but now what? Help?

Posted: Tue Apr 02, 2013 3:56 pm
by KopyKat
I downloaded fwbackups and saved to my download file. It shows up in the folder as the following:

/home/jerry/Downloads/fwbackups-1.43.4.tar.bz2 1.6 MB Tar Archive (bzip-compressed)

When I right click on it I get options: Open with Archive Manager, Open with Archive Mounter, Open with other program, and other options. I figured the first option is the usual one and when I opened it I got another screen with other options. I lost my nerve at that point and did not use any of the options given. Perhaps the extract here is correct? :?

Re: Downloaded fwbackups file but now what? Help?

Posted: Tue Apr 02, 2013 4:50 pm
by cecar
Extract the archive and read the README file for instructions to install from source.

Re: Downloaded fwbackups file but now what? Help?

Posted: Tue Apr 02, 2013 5:32 pm
by KopyKat
Cecar,

From the read me file it recommended I go to
and follow those instructions as they were the latest.
Ubuntu/Mint Linux

To install fwbackups from source on Ubuntu, download the source tarball to your home folder and then open a terminal session (select Applications > System Tools > Terminal). Type the following commands into the terminal:

sudo apt-get install gettext autotools-dev intltool python-crypto python-paramiko python-gtk2 python-glade2 python-notify cron
tar xfj fwbackups-1.43.4.tar.bz2
cd fwbackups-1.43.4
./configure --prefix=/usr
make && sudo make install

Some Ubuntu distributions no longer include the Python "site-packages" directory in their search path, which may prevent fwbackups from starting. If this is the case, execute this code in addition to the code above:

PYTHONVER=$(python -c 'import sys;print "%s.%s" % (sys.version_info[0], sys.version_info[1])')
sudo ln -s ../site-packages/fwbackups /usr/lib/python${PYTHONVER}/dist-packages/fwbackups
I did enter at the terminal
sudo apt-get install gettext autotools-dev intltool python-crypto python-paramiko python-gtk2 python-glade2 python-notify cron
tar xfj fwbackups-1.43.4.tar.bz2
and it went to work and did a bunch of stuff. Then I entered
cd fwbackups-1.43.4 ./configure --prefix=/usr make && sudo make install
and it said no such file or directory. I wasn't sure if each of those lines should be seperate commands so I tried
cd fwbackups-1.43.4
and same thing. I then did the PYTHONVER one and it said it was already installed and up to date.

I am now at a loss as to what to do next. Can you help with this?

Re: Downloaded fwbackups file but now what? Help?

Posted: Wed Apr 03, 2013 3:34 am
by cecar
Try line by line like this.

Code: Select all

cd

Code: Select all

cd fwbackups-1.43.4

Code: Select all

./configure --prefix=/usr

Code: Select all

make && sudo make install

Re: Downloaded fwbackups file but now what? Help?

Posted: Wed Apr 03, 2013 7:10 am
by KopyKat
I have a feeling i am not doing this right. Below is what I tried - please advise.

jerry@Jerry-System ~ $ select all
> cd
bash: syntax error near unexpected token `cd'
jerry@Jerry-System ~ $ select all
> cd fwbackups-1.43.4
bash: syntax error near unexpected token `cd'
Then:
jerry@Jerry-System ~ $ cd
jerry@Jerry-System ~ $ fwbackups-1.43.4
fwbackups-1.43.4: command not found
jerry@Jerry-System ~ $ select all cd
bash: syntax error near unexpected token `cd'
jerry@Jerry-System ~ $

Perhaps I do not really understand what I am supposed to do line by line. I tried putting in CODE: SELECT ALL in the terminal line but that was not correct either.

Re: Downloaded fwbackups file but now what? Help?

Posted: Wed Apr 03, 2013 7:17 am
by cecar
Yes thats wrong. Do not type in "select all" . The commands is what is below "select all". For example cd.

Re: Downloaded fwbackups file but now what? Help?

Posted: Wed Apr 03, 2013 7:26 am
by KopyKat
Is the below how I do it and if so something must not be right?

jerry@Jerry-System ~ $ cd
jerry@Jerry-System ~ $ cd fwbackups-1.43.4
bash: cd: fwbackups-1.43.4: No such file or directory
jerry@Jerry-System ~ $ ./configure --prefix=/usr
bash: ./configure: No such file or directory
jerry@Jerry-System ~ $ make && sudo make install
make: *** No targets specified and no makefile found. Stop.
jerry@Jerry-System ~ $

Re: Downloaded fwbackups file but now what? Help?

Posted: Wed Apr 03, 2013 7:42 am
by cecar
The directory do not exist. Type in

Code: Select all

ls -l
to see if there is a directory by that name.

Re: Downloaded fwbackups file but now what? Help?

Posted: Wed Apr 03, 2013 7:46 am
by KopyKat
I did this and here is what I got:
jerry@Jerry-System ~ $ cd
jerry@Jerry-System ~ $ cd fwbackups-1.43.4
bash: cd: fwbackups-1.43.4: No such file or directory
jerry@Jerry-System ~ $ ls -1
alx
compat-wireless-2012-07-03-pc
Desktop
Documents
Downloads
Music
Pictures
Public
rpmbuild
Templates
Videos
jerry@Jerry-System ~ $

Re: Downloaded fwbackups file but now what? Help?

Posted: Wed Apr 03, 2013 7:59 am
by cecar
Well its not there. Did you unpack it? Try to find it.

Code: Select all

find -iname fwbackups-1.43.4

Re: Downloaded fwbackups file but now what? Help?

Posted: Wed Apr 03, 2013 8:05 am
by KopyKat
Here is what is under downloads:

/home/jerry/Downloads/fwbackups-1.43.4
/home/jerry/Downloads/Exported Mail Data
/home/jerry/Downloads/Mail Folders
/home/jerry/Downloads/sunbird
/home/jerry/Downloads/BeerSmith-2.1.02_amd64.deb
/home/jerry/Downloads/fwbackups-1.43.4.tar.bz2

Here is what is under "/home/jerry/Downloads/fwbackups-1.43.4" :

/home/jerry/Downloads/fwbackups-1.43.4/bin
/home/jerry/Downloads/fwbackups-1.43.4/docs
/home/jerry/Downloads/fwbackups-1.43.4/pixmaps
/home/jerry/Downloads/fwbackups-1.43.4/po
/home/jerry/Downloads/fwbackups-1.43.4/src
/home/jerry/Downloads/fwbackups-1.43.4/aclocal.m4
/home/jerry/Downloads/fwbackups-1.43.4/AUTHORS
/home/jerry/Downloads/fwbackups-1.43.4/ChangeLog
/home/jerry/Downloads/fwbackups-1.43.4/configure
/home/jerry/Downloads/fwbackups-1.43.4/configure.ac
/home/jerry/Downloads/fwbackups-1.43.4/COPYING
/home/jerry/Downloads/fwbackups-1.43.4/fwbackups.spec
/home/jerry/Downloads/fwbackups-1.43.4/fwbackups.spec.in
/home/jerry/Downloads/fwbackups-1.43.4/INSTALL
/home/jerry/Downloads/fwbackups-1.43.4/install-sh
/home/jerry/Downloads/fwbackups-1.43.4/intltool-extract.in
/home/jerry/Downloads/fwbackups-1.43.4/intltool-merge.in
/home/jerry/Downloads/fwbackups-1.43.4/intltool-update.in
/home/jerry/Downloads/fwbackups-1.43.4/Makefile.am
/home/jerry/Downloads/fwbackups-1.43.4/Makefile.in
/home/jerry/Downloads/fwbackups-1.43.4/missing
/home/jerry/Downloads/fwbackups-1.43.4/NEWS
/home/jerry/Downloads/fwbackups-1.43.4/py-compile
/home/jerry/Downloads/fwbackups-1.43.4/test.operations.py
/home/jerry/Downloads/fwbackups-1.43.4/TODO
/home/jerry/Downloads/fwbackups-1.43.4/README

I did at an earlier point unpack it and it named this one "/home/jerry/Downloads/fwbackups-1.43.4 (2)" and I deleted the original and renamed this one to "/home/jerry/Downloads/fwbackups-1.43.4" Is it possible that when I renamed it that it somehow made it un available? Perhaps I should delete it and the extract again fresh?

Re: Downloaded fwbackups file but now what? Help?

Posted: Wed Apr 03, 2013 8:09 am
by cecar
Ok. Now we know where it is.

Code: Select all

cd /home/jerry/Downloads/fwbackups-1.43.4

Code: Select all

./configure --prefix=/usr

Code: Select all

make && sudo make install

Re: Downloaded fwbackups file but now what? Help?

Posted: Wed Apr 03, 2013 8:17 am
by KopyKat
Ok, progress is being made. Here is what happened after the last command was entered. I don't know if this means it was installed or not.

jerry@Jerry-System ~/Downloads/fwbackups-1.43.4 $ make && sudo make install
Making all in bin
make[1]: Entering directory `/home/jerry/Downloads/fwbackups-1.43.4/bin'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/jerry/Downloads/fwbackups-1.43.4/bin'
Making all in po
make[1]: Entering directory `/home/jerry/Downloads/fwbackups-1.43.4/po'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/jerry/Downloads/fwbackups-1.43.4/po'
Making all in pixmaps
make[1]: Entering directory `/home/jerry/Downloads/fwbackups-1.43.4/pixmaps'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/jerry/Downloads/fwbackups-1.43.4/pixmaps'
Making all in src
make[1]: Entering directory `/home/jerry/Downloads/fwbackups-1.43.4/src'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/jerry/Downloads/fwbackups-1.43.4/src'
Making all in src/fwbackups/operations
make[1]: Entering directory `/home/jerry/Downloads/fwbackups-1.43.4/src/fwbackups/operations'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/jerry/Downloads/fwbackups-1.43.4/src/fwbackups/operations'
Making all in src/fwbackups
make[1]: Entering directory `/home/jerry/Downloads/fwbackups-1.43.4/src/fwbackups'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/jerry/Downloads/fwbackups-1.43.4/src/fwbackups'
make[1]: Entering directory `/home/jerry/Downloads/fwbackups-1.43.4'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/home/jerry/Downloads/fwbackups-1.43.4'
[sudo] password for jerry:
Making install in bin
make[1]: Entering directory `/home/jerry/Downloads/fwbackups-1.43.4/bin'
make[2]: Entering directory `/home/jerry/Downloads/fwbackups-1.43.4/bin'
make[2]: Nothing to be done for `install-exec-am'.
/bin/bash /home/jerry/Downloads/fwbackups-1.43.4/install-sh -d /usr/bin
/usr/bin/install -c -m 755 fwbackups /usr/bin/fwbackups
/usr/bin/install -c -m 755 fwbackups-run.py /usr/bin/fwbackups-run
/usr/bin/install -c -m 755 fwbackups-runonce.py /usr/bin/fwbackups-runonce
make[2]: Leaving directory `/home/jerry/Downloads/fwbackups-1.43.4/bin'
make[1]: Leaving directory `/home/jerry/Downloads/fwbackups-1.43.4/bin'
Making install in po
make[1]: Entering directory `/home/jerry/Downloads/fwbackups-1.43.4/po'
linguas=""; \
for lang in $linguas; do \
dir=/usr/share/locale/$lang/LC_MESSAGES; \
/bin/bash /home/jerry/Downloads/fwbackups-1.43.4/install-sh -d $dir; \
if test -r $lang.gmo; then \
/usr/bin/install -c -m 644 $lang.gmo $dir/fwbackups.mo; \
echo "installing $lang.gmo as $dir/fwbackups.mo"; \
else \
/usr/bin/install -c -m 644 ./$lang.gmo $dir/fwbackups.mo; \
echo "installing ./$lang.gmo as" \
"$dir/fwbackups.mo"; \
fi; \
if test -r $lang.gmo.m; then \
/usr/bin/install -c -m 644 $lang.gmo.m $dir/fwbackups.mo.m; \
echo "installing $lang.gmo.m as $dir/fwbackups.mo.m"; \
else \
if test -r ./$lang.gmo.m ; then \
/usr/bin/install -c -m 644 ./$lang.gmo.m \
$dir/fwbackups.mo.m; \
echo "installing ./$lang.gmo.m as" \
"$dir/fwbackups.mo.m"; \
else \
true; \
fi; \
fi; \
done
make[1]: Leaving directory `/home/jerry/Downloads/fwbackups-1.43.4/po'
Making install in pixmaps
make[1]: Entering directory `/home/jerry/Downloads/fwbackups-1.43.4/pixmaps'
make[2]: Entering directory `/home/jerry/Downloads/fwbackups-1.43.4/pixmaps'
make[2]: Nothing to be done for `install-exec-am'.
/bin/bash /home/jerry/Downloads/fwbackups-1.43.4/install-sh -d /usr/share/pixmaps/
/bin/bash /home/jerry/Downloads/fwbackups-1.43.4/install-sh -d /usr/share/fwbackups/
/usr/bin/install -c -m 644 fwbackups.svg /usr/share/pixmaps/fwbackups.svg
/usr/bin/install -c -m 644 fwbackups-32.png /usr/share/fwbackups/fwbackups.png
make[2]: Leaving directory `/home/jerry/Downloads/fwbackups-1.43.4/pixmaps'
make[1]: Leaving directory `/home/jerry/Downloads/fwbackups-1.43.4/pixmaps'
Making install in src
make[1]: Entering directory `/home/jerry/Downloads/fwbackups-1.43.4/src'
make[2]: Entering directory `/home/jerry/Downloads/fwbackups-1.43.4/src'
make[2]: Nothing to be done for `install-exec-am'.
/bin/bash /home/jerry/Downloads/fwbackups-1.43.4/install-sh -d /usr/share/applications
/usr/bin/install -c -m 644 fwbackups.desktop /usr/share/applications/fwbackups.desktop
test -z "/usr/share/fwbackups" || /bin/mkdir -p "/usr/share/fwbackups"
/usr/bin/install -c -m 644 BugReport.glade cronwriter.py fwbackups.glade fwbackups-autostart.desktop fwbackups-runapp.pyw '/usr/share/fwbackups'
make[2]: Leaving directory `/home/jerry/Downloads/fwbackups-1.43.4/src'
make[1]: Leaving directory `/home/jerry/Downloads/fwbackups-1.43.4/src'
Making install in src/fwbackups/operations
make[1]: Entering directory `/home/jerry/Downloads/fwbackups-1.43.4/src/fwbackups/operations'
make[2]: Entering directory `/home/jerry/Downloads/fwbackups-1.43.4/src/fwbackups/operations'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/lib/python2.7/dist-packages/fwbackups/operations" || /bin/mkdir -p "/usr/lib/python2.7/dist-packages/fwbackups/operations"
/bin/mkdir: cannot create directory `/usr/lib/python2.7/dist-packages/fwbackups': File exists
make[2]: *** [install-pyPYTHON] Error 1
make[2]: Leaving directory `/home/jerry/Downloads/fwbackups-1.43.4/src/fwbackups/operations'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/jerry/Downloads/fwbackups-1.43.4/src/fwbackups/operations'
make: *** [install-recursive] Error 1
jerry@Jerry-System ~/Downloads/fwbackups-1.43.4 $

Re: Downloaded fwbackups file but now what? Help?

Posted: Wed Apr 03, 2013 8:21 am
by KopyKat
There is an icon under system tools but when I click on it nothing happens.

Re: Downloaded fwbackups file but now what? Help?

Posted: Wed Apr 03, 2013 9:02 am
by cecar
Try it from terminal. It might show you why its not working.

Code: Select all

fwbackups

Re: Downloaded fwbackups file but now what? Help?

Posted: Wed Apr 03, 2013 9:10 am
by KopyKat
Here is what it does:

jerry@Jerry-System ~ $ fwbackups
Traceback (most recent call last):
File "/usr/share/fwbackups/fwbackups-runapp.pyw", line 29, in <module>
from fwbackups.const import *
ImportError: No module named fwbackups.const
jerry@Jerry-System ~ $

Re: Downloaded fwbackups file but now what? Help?

Posted: Wed Apr 03, 2013 9:26 am
by cecar
I found information of that problem here under point 3. http://www.diffingo.com/oss/fwbackups/faq Looks like it's a problem with installed version of Python. See there if there is a solution. Looks a bit complicated. I'm sorry i can't do more to help you on this.

Re: Downloaded fwbackups file but now what? Help?

Posted: Wed Apr 03, 2013 9:32 am
by KopyKat
You have been great. Thank you for all the help you did give.

Re: Downloaded fwbackups file but now what? Help?

Posted: Thu Dec 25, 2014 10:41 pm
by JeremyCanfield
Hey guys, I know my post is over a year since the last post, but I found this thread helpful while I was experiencing the same issues, and I happened upon a fix. So, Jerry was getting this error. I was getting the same exact error:

Code: Select all

jerry@Jerry-System ~ $ fwbackups
Traceback (most recent call last):
File "/usr/share/fwbackups/fwbackups-runapp.pyw", line 29, in <module>
from fwbackups.const import *
ImportError: No module named fwbackups.const
jerry@Jerry-System ~ $


We will recall these are the steps to install FWbackups on Linux Mint:

Code: Select all

sudo apt-get install gettext autotools-dev intltool python-crypto python-paramiko python-gtk2 python-glade2 python-notify cron
cd fwbackups-versionnumber
./configure --prefix=/usr
make && sudo make install

During my install, the "make && sudo make install" gave a long log. At the end of the log, was this:

Code: Select all

/bin/mkdir: cannot create directory ‘/usr/lib/python2.7/dist-packages/fwbackups’: File exists
make[2]: *** [install-pyPYTHON] Error 1
make[2]: Leaving directory `/tmp/fwbackups-1.43.4/src/fwbackups/operations'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/tmp/fwbackups-1.43.4/src/fwbackups/operations'
make: *** [install-recursive] Error 1

Notice at the end of this log are a few errors. Notice also it says "cannot create directory ‘/usr/lib/python2.7/dist-packages/fwbackups’." When I went to this file, and tried to open it, I got error: "The link fwbackups is broken. Move it to trash? This link cannot be used, because it's target "../site-packages/fwbackups" doesn't exist. Cancel? Move to Trash?" I moved it to the trash. Then I ran this command again: <i>make && sudo make install</i>. Much to my surprise, this fixed the problem! I opened a new terminal, keyed in fwbackups, and it fired up perfectly!