I was happy to see this graphical protein tracker so I downloaded and installed on Ubuntu 8.10 (with all updates applied) according to the directions. When I run it, I get errors in the console and the GUI tabs have no protein tracking information. I hope you can track this down as I'd like to see a prettier version of my status. Let me know if you need more information.
Here is the console output when I launch the app:
mbrown@lt-slo-mbrown:~/protein_think$ python fahmain.py
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/mbrown/protein_think/fahmodel.py", line 129, in run
self.query_unitinfo()
File "/home/mbrown/protein_think/fahmodel.py", line 49, in query_unitinfo
self.parse_unit_info(self.read_unit_info())
File "/home/mbrown/protein_think/fahmodel.py", line 112, in parse_unit_info
if string.strip(progress_info[1]) == '0':
UnboundLocalError: local variable 'progress_info' referenced before assignment
Downloading statistics from internet...
/home/mbrown/protein_think/fah_mainframe.py:300: GtkDeprecationWarning: gtk.threads_enter is deprecated, use gtk.gdk.threads_enter instead
gtk.threads_enter()
Main frame update at Sun Jan 4 10:00:45 2009
{'src': 'DATA', 'event': 'STARTUP'}
Key Error: 'CURRENT_UNIT_PERCENTAGE'
/home/mbrown/protein_think/fah_mainframe.py:343: GtkDeprecationWarning: gtk.threads_leave is deprecated, use gtk.gdk.threads_leave instead
gtk.threads_leave()
/home/mbrown/protein_think/fah_mainframe.py:354: GtkDeprecationWarning: gtk.threads_enter is deprecated, use gtk.gdk.threads_enter instead
gtk.threads_enter()
Latest stats written to file.
info_list: ['36167', 'Hunt-Dis', '8316526', '52764', '307', '11702', '3', 'mwbrownibm', '419052', '2813', '36167', '']
Main frame update at Sun Jan 4 10:00:45 2009
{'keys': ['TEAM_CREDITS', 'INDV_RANK', 'RANK_ON_TEAM', 'TEAM_RANK', 'TEAM_NUM', 'INDV_WUS', 'TEAM_WUS', 'INDV_NAME', 'TEAM_NAME', 'INDV_CREDITS'], 'src': 'DATA', 'event': 'VALUES_CHANGED'}
Key Error: 'CURRENT_UNIT_PERCENTAGE'
Here is the current contents of the stats.txt file:
mbrown@lt-slo-mbrown:~/protein_think/.stats$ cat stats.txt
36167
Hunt-Dis
8316526
52764
307
11702
3
mwbrownibm
419052
2813
36167
Here is the current console output of the running FAH application:
mbrown@lt-slo-mbrown:~/opt/foldingathome/1$ ./fah6
Note: Please read the license agreement (fah6 -license). Further
use of this software requires that you have read and accepted this agreement.
--- Opening Log file [January 4 04:14:21]
# Linux Console Edition #######################################################
###############################################################################
Folding@Home Client Version 6.02
###############################################################################
###############################################################################
Launch directory: /home/mbrown/opt/foldingathome/1
Executable: ./fah6
[04:14:21] - Ask before connecting: No
[04:14:21] - User name: mwbrownibm (Team 36167)
[04:14:21] - User ID: 3A77268E578CB749
[04:14:21] - Machine ID: 1
[04:14:21]
[04:14:22] Loaded queue successfully.
[04:14:22]
[04:14:22] + Processing work unit
[04:14:22] Core required: FahCore_a0.exe
[04:14:22] Core found.
[04:14:22] Working on Unit 01 [January 4 04:14:22]
[04:14:22] + Working ...
[04:14:22]
[04:14:22] *------------------------------*
[04:14:22] Folding@Home Gromacs 3.3 Core
[04:14:22] Version 1.92 (April 17. 2007)
[04:14:22]
[04:14:22] Preparing to commence simulation
[04:14:22] - Ensuring status. Please wait.
[04:14:39] - Looking at optimizations...
[04:14:39] - Working with standard loops on this execution.
[04:14:39] - Previous termination of core was improper.
[04:14:39] - Files status OK
[04:14:40] - Expanded 960765 -> 6252409 (decompressed 650.7 percent)
[04:14:40]
[04:14:40] Project: 786 (Run 25, Clone 44, Gen 0)
[04:14:40]
[04:14:40] Entering M.D.
Written by David van der Spoel, Erik Lindahl, Berk Hess, and others.
Copyright (c) 1991-2000, University of Groningen, The Netherlands.
Copyright (c) 2001-2004, The GROMACS development team,
check out http://www.gromacs.org for more information.
This inclusion of Gromacs code in the Folding@Home Core is under
a special license (see http://folding.stanford.edu/gromacs.html\)
specially granted to Stanford by the copyright holders. If you
are interested in using Gromacs, visit www.gromacs.org where
you can download a free version of Gromacs under
the terms of the GNU General Public License (GPL) as published
by the Free Software Foundation; either version 2 of the License,
or (at your option) any later version.
No option -tpi
(single precision)
[04:15:03] (Starting from checkpoint)
[04:15:03] Protein: Mini chaperonin
[04:15:03] Writing local files
starting mdrun 'Mini chaperonin'
500000 steps, 1000.0 ps.
[04:15:03] Completed 477554 out of 500000 steps (95%)
[06:15:29] Writing local files
[06:15:29] Completed 480000 out of 500000 steps (96 percent)
[10:21:46] Writing local files
[10:21:46] Completed 485000 out of 500000 steps (97 percent)
[14:28:07] Writing local files
[14:28:07] Completed 490000 out of 500000 steps (98 percent)
Updates fix warnings for recent versions of python library calls.
I don't know Python but I decided to dig into the code because I could see some warnings in the console so I fixed those. I also started debugging the unitinfo.txt file reading and found that the version of the file my folding@home app generated has *8* lines, so it wasn't being parsed. I'm attaching the two files I modified. If you're trying to use this before the owner has a chance to merge the changes, download and expand the main tarfile, then replace the two files with the ones attached.
File Added: fah_mainframe.py
Adds case for 8 lines in the unitinfo.txt file, as found with Jan 2009 version of folding@home
File Added: fahmodel.py