PDA

View Full Version : Gerasim@Home Stats



KAMCOBILL
07-30-2008, 09:44 AM
High Bok,

It looks like Gerasim@Home, for some reason, hasn't updated since April. Of cource, it shows up as offline in Status Scheduler. Maybey their end.

Bill

Bok
07-30-2008, 11:07 AM
Indeed..

Looks like I was pointing to the wrong directory for their xml. After a little investigation, I found the correct one. It should update fairly soon...

Bok :cheers:

KAMCOBILL
07-30-2008, 11:40 AM
OK Great Thanks Bok.

KAMCOBILL
07-30-2008, 03:26 PM
Hehe. it must their stats. Sill not updating.

Bok
07-30-2008, 03:31 PM
It's not. Still me. I'd only changed it in one place, and I forgot that since I split the scripts to download the files completely seperately I'd have to update two places..

Changed, but as it runs through every project, it's bus downloading new Rosetta files right now which are pretty big.. It'll get back round and do Gerasim fairy soon, then get picked up by the main script :)

Bok

Bok
07-30-2008, 06:01 PM
hmm, it still seems to be having issues downloading. I wonder if I'm blocked for some reason. A manual wget succeeds.

I'll have to so some debugging.

Bok

KAMCOBILL
07-30-2008, 07:19 PM
That seems strange. I did't notice it until today. Must be something wierd if the manual works.

gopher_yarrowzoo
07-30-2008, 07:49 PM
hmm, it still seems to be having issues downloading. I wonder if I'm blocked for some reason. A manual wget succeeds.

I'll have to so some debugging.

Bok

* hands Bok the No. 2 Crowbar *

Bok
07-30-2008, 07:52 PM
It's blocked alright.. I get a negative response from my useragent request..

With them being russian, it'll be tricky to request a change..without knowing just what else they need for identification. I guess i could fall back to a different protocol, but it'll take some code changes..

Bok

gopher_yarrowzoo
07-30-2008, 07:58 PM
Darn It Make that a Number 5 Crowbar.....:smoking: or you just want the e-baseball bat with built in pistol?

KAMCOBILL
07-31-2008, 01:21 AM
I was able to pull it out of here http://www.gerasim.boinc.ru/Gerasim/stats/team.xml.gz and it was up to date.

Death
07-31-2008, 06:47 AM
http://stats.free-dc.org/stats.php?page=proj&proj=ger still no changes...

Bok
07-31-2008, 07:01 AM
As I've stated, the download I make within perl using a useragent request is being blocked.

Could you check with them perhaps and see why I'm being blocked? UA request should have 'Free-DC Stats Update'

I know I can manually download the files through a browser or even with a wget but I'm not planning on doing this manually every day !

Bok

KAMCOBILL
08-01-2008, 03:11 PM
As I've stated, the download I make within perl using a useragent request is being blocked.

Could you check with them perhaps and see why I'm being blocked? UA request should have 'Free-DC Stats Update'

I know I can manually download the files through a browser or even with a wget but I'm not planning on doing this manually every day !

Bok


Hehe. This is the reply from SerVal:


@KAMCOBILL:
Here is examples for gerasim@home and QMC@home,
how to download statistics files using wget for "Windows":

HTTP page:
http://gerasim.boinc.ru/download/samples/download_stats/
FTP page:
ftp://gerasim.boinc.ru/download/samples/download_stats/
----
Gerasim@home ftp host: gerasim.boinc.ru
stats directory: stats
(anonymous access allowed)
----


death will have to translate his reply.

Maybe, check with SerVal and see if there had been a change. I know at least BOINCStats are updating ok. Unless Willy is manually updating.:D

Edited: I'm not sure how perl works, but he said it is anonymous which seem to me a useragent should be anonymous with no password. Right?

Bok
08-01-2008, 03:52 PM
yup, I'd agree but it isn't liking something...

my $ua = LWP::UserAgent->new;
$ua->agent("Free-DC stats update\1.0");
my $response = $ua->get($f1);
$rr = $response->status_line;
print "rr is $rr\n";

where $f1 is http://gerasim.boinc.ru/gerasim/stats/tables.xml

and the return code shows

rr is 400 Bad Request

so, it's blocked. Perhaps it needs some other parameter to get through. All of the other Boinc projects work with this though... I'll post to the boinc mailing list and check how Willy is getting it.

Thanks for looking into it..

Bok

Bok
08-01-2008, 04:02 PM
hmm, update..

Fixed it. Apparently is doesn't like the agent being

Free-DC stats update\1.0

it wanted it to be

Free-DC stats update/1.0

which is actually right, but go figure that it's the ONLY boinc project that complains!!!

Should update soon.

Bok

KAMCOBILL
08-01-2008, 04:22 PM
It updated :clap: Who'd thunk it. :thumbs: