Page 1 of 2

prion - folding stats & info

Posted: Sun Sep 21, 2008 3:18 pm
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

Re: prion - folding stats & info

Posted: Sun Sep 21, 2008 3:54 pm
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).

Re: prion - folding stats & info

Posted: Sun Sep 21, 2008 4:09 pm
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!

Re: prion - folding stats & info

Posted: Sun Sep 21, 2008 4:29 pm
by MoneyGuyBK
Looks nice markybob .... I will give it a go soon, Thanx.




Peace

Re: prion - folding stats & info

Posted: Sun Sep 21, 2008 4:32 pm
by bollix47
The overall totals have been fixed but not the Total CPUs for individual OS types.

Re: prion - folding stats & info

Posted: Sun Sep 21, 2008 4:55 pm
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:

Re: prion - folding stats & info

Posted: Sun Sep 21, 2008 11:59 pm
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

Re: prion - folding stats & info

Posted: Mon Sep 22, 2008 5:41 am
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 :)

Re: prion - folding stats & info

Posted: Tue Sep 23, 2008 12:26 am
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

Re: prion - folding stats & info

Posted: Tue Sep 23, 2008 1:20 am
by markybob
you need to install pyxdg. it does install fine on windows, btw. http://freedesktop.org/wiki/Software/pyxdg

Re: prion - folding stats & info

Posted: Tue Sep 23, 2008 2:04 am
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... :)

Re: prion - folding stats & info

Posted: Tue Sep 23, 2008 5:50 am
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!

Re: prion - folding stats & info

Posted: Tue Sep 23, 2008 11:46 pm
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

Re: prion - folding stats & info

Posted: Tue Sep 23, 2008 11:51 pm
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)

Re: prion - folding stats & info

Posted: Wed Sep 24, 2008 12:04 am
by ElectricVehicle
Wow, markybob, that's some software support! You CAN'T BUY this level of support!@