Page 1 of 1
finstall problem
Posted: Tue Feb 24, 2009 10:31 pm
by tmillic
I'm attempting to install finstall on a machine running Ubuntu using the instructions on this page:
http://fahwiki.net/index.php/A_Complete ... or_NEWbies
I've installed it on a machine running Opensuse, and it has been running for awhile.
I'm getting this error on the Ubuntu machine though:
$ ./finstall: 5418: Syntax error: Bad substitution
I've googled the error, but it hasn't turned up anything very useful to me. Is there a problem with my bash configuration? I'm suspecting bash problems because I've also noticed that I have no bash history for some reason. Does this sound reasonable?
Thanks.
-tom
Re: finstall problem
Posted: Wed Feb 25, 2009 6:20 am
by Ivoshiee
I've seen something similar before - different distros bundle with different versions of BASH and BASH happen to change syntax a bit from time to time.
That syntax error is somewhere around line 5418 in finstall.
What version of BASH do you have?
Do you use latest finstall?
Re: finstall problem
Posted: Wed Feb 25, 2009 9:34 pm
by tmillic
I got it to use bash instead of some other shell that it had been using. It is the most current version of finstall. I still haven't gotten it to go yet, so this pc is one of the few we have on all the time, and it's not folding again (yet).
I didn't know that the number was the line number. That will be helpful. Thanks!
-tom
Re: finstall problem
Posted: Wed Feb 25, 2009 9:38 pm
by tmillic
I just got it working. I was trying to start the script with /etc/init.d/folding start (like I do on the suse machine) instead of /home/uasil/foldingathome/folding start.
Thanks!
Re: finstall problem
Posted: Wed Feb 25, 2009 9:44 pm
by Ivoshiee
So it wasn't a BASH related issue?
Re: finstall problem
Posted: Thu Feb 26, 2009 4:23 pm
by tmillic
I wasn't using bash it turned out, but a different shell. I couldn't install it under the other shell, but it installed without a hitch using bash once I realized it wasn't the bash shell by default. My mistake then was using the wrong directory in the command to start it.
Re: finstall problem
Posted: Thu Feb 26, 2009 8:05 pm
by Ivoshiee
OK.
Re: finstall problem
Posted: Tue Mar 03, 2009 10:26 pm
by GTron
@Ivo
I have started refreshing my Ubuntu 8.04 smp folders with finstall v6.2 and encountered a small problem with the get_qdinfo script that it installs. The echo statement on line 19 does not have a terminating double quote, causing the shell to read to EOF and produce an error message and not download the new qdinfo.dat.
The problem appears to be correctable by adding the double quote on line 2681 of the finstall v6.2 script.
Thanks,
Greg
Re: finstall problem
Posted: Tue Mar 03, 2009 10:33 pm
by Ivoshiee
GTron wrote:@Ivo
I have started refreshing my Ubuntu 8.04 smp folders with finstall v6.2 and encountered a small problem with the get_qdinfo script that it installs. The echo statement on line 19 does not have a terminating double quote, causing the shell to read to EOF and produce an error message and not download the new qdinfo.dat.
The problem appears to be correctable by adding the double quote on line 2681 of the finstall v6.2 script.
Thanks,
Greg
Thanks. Fixed. Strange how did I manage to break it.
Re: finstall problem
Posted: Thu Mar 05, 2009 2:18 am
by GTron
Thanks Ivo.
I refreshed 2 more folders today with the fixed finstall v6.2 script and they are doing fine.
What can I say about that perfidious punctuation?
Greg
Re: finstall problem
Posted: Thu Mar 05, 2009 4:53 am
by Ivoshiee
GTron wrote:Thanks Ivo.
I refreshed 2 more folders today with the fixed finstall v6.2 script and they are doing fine.
What can I say about that perfidious punctuation?
Greg
That one is easy - if you see a problem then step up to correct it.