Well, I'm having problems with you install code dangerousHobo.
godofgrunts@godofgrunts-laptop:~$ cd ./Desktop/fah-installer
fah.desktop fah-gui.pl FAH-installer.sh
godofgrunts@godofgrunts-laptop:~/Desktop/fah-installer$ perl fah-gui.pl
FAH-installer.sh: 16: install_home: not found
[: 22: ==: unexpected operator
mkdir: missing operand
Try `mkdir --help' for more information.
Making directory "folding" failed.
cd: 37: can't cd to folding
Resolving www.stanford.edu... 126.96.36.199
Connecting to www.stanford.edu|188.8.131.52|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 139,922 (137K) [application/x-gzip]
100%[====================================>] 139,922 171.68K/s
01:26:48 (171.26 KB/s) - `FAH6.00beta1-Linux.tgz' saved [139922/139922]
[: 80: ==: unexpected operator
[: 91: ==: unexpected operator
Um... I'm trying to diagnose the problem but it's 1 30 in the morning so I might now be able to tonight... I'll check back in the morning sometime.
I was reading through your perl gui (and I must say that Perl seems like a really elegant language) and I think I see that you are running flags with your installer code. If this is the case, can you show me how you did that?
Also, the GUI is AMAZING!
It's just like what I wanted mine to look like. I think we are going to stick to your GUI for three reasons:
1) My gui requires wxglade (which even Ubuntu 8.04 doesn't come with)
2) You wrote it yourself, giving full credit to you instead of another program.
3) This way, I don't have to write it.
Seriously though, you did an awesome job.
In your code you have the following imports:
Note that you should not have "import wx" as your script does not use wxglade at all. WxGlade is only used for the actual GUI and since you script doesn't make use of a GUI you do not need it.
Good first program though.
@dangerousHobo && FMC
I think I found two problems that need to be dealt with. Take a look at this output. I'm running my laptop with a AMD Sempron 3600 which supports 64 bit OSs but is only a single core. The other problem is that FAH requires that you read the license before using the program.
100%[====================================>] 139,606 184.10K/s
02:21:25 (183.40 KB/s) - `FAH6.02beta1-Linux.tgz' saved [139606/139606]
Note: Please read the license agreement (fah6 -license). Further
use of this software requires that you have read and accepted this agreement.
1 cores detected
Fewer than 2 CPU's detected. This SMP version of the Folding@Home client is intended for machines with multiple CPUs. For this machine, we recommend using the single-processor version of FAH instead. Please see http://folding.stanford.edu for more details.
Folding@Home Client Shutdown.
I think we should develope some kind of error checking for the cores and some how force a text document to open with the fah license. I don't think many people will read it, but we should do it to be safe from any potential problems of legailty.Edited by GodofGrunts - 6/30/08 at 11:32pm