prion - folding stats & info

This forum contains information about 3rd party applications which may be of use to those who run the FAH client and one place where you might be able to get help when using one of those apps.

Moderator: Site Moderators

markybob
Posts: 10
Joined: Sun Sep 21, 2008 3:06 pm

prion - folding stats & info

Post by markybob »

thought some here might like it...it runs on whatever has python (with pyxdg) and pygtk installed. let me know what you think :D
http://code.google.com/p/prion/

Image
Image
Image
Image
Image
system tray:
Image
Last edited by markybob on Mon Sep 22, 2008 9:32 pm, edited 1 time in total.
bollix47
Posts: 2963
Joined: Sun Dec 02, 2007 5:04 am
Location: Canada

Re: prion - folding stats & info

Post by bollix47 »

Working fine here.

One thing I do see is that on the world view the Active CPUs and the Total CPUs are showing the same figures(active).
Image
markybob
Posts: 10
Joined: Sun Sep 21, 2008 3:06 pm

Re: prion - folding stats & info

Post by markybob »

bollix47 wrote:Working fine here.

One thing I do see is that on the world view the Active CPUs and the Total CPUs are showing the same figures(active).
thanks for the catch. fixed and reuploaded!
MoneyGuyBK
Posts: 179
Joined: Sun Dec 02, 2007 6:40 am
Location: Team_XPS ..... OC, S. Calif

Re: prion - folding stats & info

Post by MoneyGuyBK »

Looks nice markybob .... I will give it a go soon, Thanx.




Peace
T.E.A.M. “Together Everyone Accomplishes Miracles!”
Image
OC, S. California ... God Bless All
bollix47
Posts: 2963
Joined: Sun Dec 02, 2007 5:04 am
Location: Canada

Re: prion - folding stats & info

Post by bollix47 »

The overall totals have been fixed but not the Total CPUs for individual OS types.
Image
markybob
Posts: 10
Joined: Sun Sep 21, 2008 3:06 pm

Re: prion - folding stats & info

Post by markybob »

bollix47 wrote:The overall totals have been fixed but not the Total CPUs for individual OS types.
at the risk of sounding like a broken record, fixed and reuploaded :oops:
francois
Posts: 59
Joined: Sun Dec 02, 2007 3:41 pm
Location: Québec - Canada
Contact:

Re: prion - folding stats & info

Post by francois »

Hi.
Forgive my ignorance, but I've download this code and saved it.
I then installed the pygtk package, which includes Python, on Windows XP.
I'm not trying to run it but it doesn't work.

Do I need to edit something?

Can it run on a Windows platform?

Best regards,
François
Image
markybob
Posts: 10
Joined: Sun Sep 21, 2008 3:06 pm

Re: prion - folding stats & info

Post by markybob »

i havent tested it on windows (i only have linux), but i assume that it can. there's nothing in the code that would be platform specific that i can see. one thing i'd suggest is that you open a command prompt, then run "c:\python25\python.exe prion.py" and see if the console spits out any errors at you. then we could move from there and figure out the problem :)
francois
Posts: 59
Joined: Sun Dec 02, 2007 3:41 pm
Location: Québec - Canada
Contact:

Re: prion - folding stats & info

Post by francois »

I get this:

C:\FAH\prion>"c:\program files\pygtk\python\python.exe" prion.py
Traceback (most recent call last):
File "prion.py", line 28, in <module>
import xdg.BaseDirectory
ImportError: No module named xdg.BaseDirectory
Image
markybob
Posts: 10
Joined: Sun Sep 21, 2008 3:06 pm

Re: prion - folding stats & info

Post by markybob »

you need to install pyxdg. it does install fine on windows, btw. http://freedesktop.org/wiki/Software/pyxdg
ElectricVehicle
Posts: 157
Joined: Fri Feb 01, 2008 6:41 pm

Re: prion - folding stats & info

Post by ElectricVehicle »

Hmmm! Very interesting, An option to log the client stats every time they are updated would be cool for people maintaining the highwater mark!

Check once a day, as long as Prion is running, log the stats to a log file and some XML or CSV format for easy consumption by another application or spreadsheet program (Excel, OpenOffice, etc...). Add the:
  • Last updated at Mon, 22 Sep 2008 05:04:23
    DB date 2008-09-22 05:00:03
    And the datetime stamp of when Prion retrieved the client statistics
to the logfile and XML or CSV format.

That would be very useful since Stanford doesn't provide an archive of Client Stats...

Hmmm... Stanford, when you're not busy doing other things - please add an archive of client stats to the downloads of tema stats... :)
Fold On! (with 100% Renewable, 0 Carbon electricity) ElectricVehicle EV1, RAV4 EV, LEAF, Bolt EV, Volt, M3, s4 Simulator
markybob
Posts: 10
Joined: Sun Sep 21, 2008 3:06 pm

Re: prion - folding stats & info

Post by markybob »

ah, good idea. i could even use pango to create a proper graph. i'll see about getting this stuff included later on this week. thanks!
francois
Posts: 59
Joined: Sun Dec 02, 2007 3:41 pm
Location: Québec - Canada
Contact:

Re: prion - folding stats & info

Post by francois »

markybob wrote:you need to install pyxdg. it does install fine on windows, btw. http://freedesktop.org/wiki/Software/pyxdg
Thanks.
I did it, and now get this:

C:\FAH\prion>prion.py

(python.exe:3360): libglade-WARNING **: unknown property `program_name' for class `GtkAboutDialog'
Traceback (most recent call last):
File "C:\FAH\prion\prion.py", line 471, in <module>
prion = prion()
File "C:\FAH\prion\prion.py", line 65, in __init__
from win32api import SetConsoleCtrlHandler
ImportError: No module named win32api

Best regards, and thanks in advance!
François
Image
markybob
Posts: 10
Joined: Sun Sep 21, 2008 3:06 pm

Re: prion - folding stats & info

Post by markybob »

francois wrote:
markybob wrote:you need to install pyxdg. it does install fine on windows, btw. http://freedesktop.org/wiki/Software/pyxdg
Thanks.
I did it, and now get this:

C:\FAH\prion>prion.py

(python.exe:3360): libglade-WARNING **: unknown property `program_name' for class `GtkAboutDialog'
Traceback (most recent call last):
File "C:\FAH\prion\prion.py", line 471, in <module>
prion = prion()
File "C:\FAH\prion\prion.py", line 65, in __init__
from win32api import SetConsoleCtrlHandler
ImportError: No module named win32api

Best regards, and thanks in advance!
François
you need python's windows extensions (http://downloads.sourceforge.net/pywin3 ... ze=5409793)
ElectricVehicle
Posts: 157
Joined: Fri Feb 01, 2008 6:41 pm

Re: prion - folding stats & info

Post by ElectricVehicle »

Wow, markybob, that's some software support! You CAN'T BUY this level of support!@
Fold On! (with 100% Renewable, 0 Carbon electricity) ElectricVehicle EV1, RAV4 EV, LEAF, Bolt EV, Volt, M3, s4 Simulator
Post Reply