Page 1 of 2

Unable to "grab" updated Team stats

Posted: Tue Oct 16, 2012 4:01 pm
by suprleg
This problem isn't specific to any particular server, however I didn't see any other thread that applied, my apologies.
DSL Reports Team Helix has been running a script for many years that allows us to update the Team stats and it's run flawlessly until last night, 10/15/'12. When the script is executed it just hangs, apparently unable to access/connect to a server. Browsing the site I see there have been some recent issues with ,"stats updates", and was wondering if the two issues are related. Any input would be appreciated.

Re: Unable to "grab" updated Team stats

Posted: Tue Oct 16, 2012 4:48 pm
by bollix47
I have asked a PG member to read your post. As you can probably appreciate they are very busy individuals so I can't tell you when they'll respond but it could be soon ...

Re: Unable to "grab" updated Team stats

Posted: Tue Oct 16, 2012 5:00 pm
by 7im
As long as your script is grabbing the authorized flat files, and not trying to read the CGI pages, there shouldn't be a problem "grabbing" the data.

Re: Unable to "grab" updated Team stats

Posted: Tue Oct 16, 2012 5:03 pm
by schwancr
Hi,

We need more specifics here in order to figure out what's going wrong. What stats are you trying to "grab"? How are you grabbing them? What server are you trying to connect to?

-Christian

Re: Unable to "grab" updated Team stats

Posted: Tue Oct 16, 2012 7:48 pm
by sortofageek
My guess is that 7im is right. This script grabs Team Helix data to compute which members have reached a Helix milestone each day. It is quite old and the person who wrote it is unavailable. I will contact another team member to see if he "speaks" Python and can figure it out.

The data it needs is the name and current total credits at the time of access for each one. It then does a computation to determine who has reached a new team milestone since the last one achieve and prints out a list. The person bringing the daily milestones to the team then posts the list in the forum.

AFAIK, the problem is related somehow to the recent stats server migration. If so, then I may be wrong in my guess above. I thought we made the change to access the text version way back when that was requested.

Re: Unable to "grab" updated Team stats

Posted: Tue Oct 16, 2012 8:19 pm
by sortofageek
I believe the script is trying to grab the data here: http://fah-web2.stanford.edu/teamstats/team4.html

The other member I contacted said he had trouble earlier himself, but is able to access and run his script just fine now (he is working on a newer model but believes the older script is grabbing from the same URL.)

I'm asking a couple of people to test again and, if they still have problems, try to get a trace.

Re: Unable to "grab" updated Team stats

Posted: Tue Oct 16, 2012 8:29 pm
by 7im
Again, if they are using anything OTHER than these two links, they are violating policy and should be blacklisted...

http://fah-web.stanford.edu/daily_user_summary.txt.bz2
http://fah-web.stanford.edu/daily_team_summary.txt.bz2

Re: Unable to "grab" updated Team stats

Posted: Tue Oct 16, 2012 8:33 pm
by sortofageek
OK, thanks. I'm not sure we have anyone who can fix it, but may be able to replace it with one using the correct link.

The team mate developing the new script said he was having trouble with this, slightly different from the other one: http://fah-web.stanford.edu/teamstats/team4.html

Looks like we missed the message which probably came after the original developer stopped maintenance.

Re: Unable to "grab" updated Team stats

Posted: Tue Oct 16, 2012 8:39 pm
by sortofageek
Incidentally, my guess at the URL being used for our older script was based on the Fast Teampage URL PG gives us here: http://fah-web.stanford.edu/cgi-bin/mai ... &teamnum=4

Edit: And, given suprleg's post, my guess was wrong.

I think, it would be good if the Fast Teampage URL on the team CGI page was what they want us to use? :?

Re: Unable to "grab" updated Team stats

Posted: Tue Oct 16, 2012 8:41 pm
by suprleg
schwancr wrote:Hi,

We need more specifics here in order to figure out what's going wrong. What stats are you trying to "grab"? How are you grabbing them? What server are you trying to connect to?

-Christian
The stats have been collected from:
http://vspx27.stanford.edu/cgi-bin/main ... &teamnum=4
Which apparently is no longer usable?

Re: Unable to "grab" updated Team stats

Posted: Tue Oct 16, 2012 8:52 pm
by schwancr
Hi,

I believe you'll want to use the downloads that 7im is pointing you to. That has all the information that the "fast teampage" has.

vspx27.stanford.edu is the hostname for the old fah-web. You should access the new (and all future fah-webs) via the hostname fah-web.stanford.edu.

Thanks,
Christian

Re: Unable to "grab" updated Team stats

Posted: Tue Oct 16, 2012 8:54 pm
by schwancr
I should note, as 7im keeps emphasizing, you should be getting the stats from the flat-text files, not from the cgi scripts.

-Christian

Re: Unable to "grab" updated Team stats

Posted: Tue Oct 16, 2012 8:55 pm
by sortofageek
schwancr wrote:Hi,

I believe you'll want to use the downloads that 7im is pointing you to. That has all the information that the "fast teampage" has.

vspx27.stanford.edu is the hostname for the old fah-web. You should access the new (and all future fah-webs) via the hostname fah-web.stanford.edu.

Thanks,
Christian

I'm sure it does, but we only need the Helix info, not all stats for all teams.

Re: Unable to "grab" updated Team stats

Posted: Tue Oct 16, 2012 9:01 pm
by sortofageek
Would there be a problem with this:

Code: Select all

 http://fah-web.stanford.edu/teamstats/team4.html 


http://fah-web.stanford.edu/teamstats/team4.html

Re: Unable to "grab" updated Team stats

Posted: Tue Oct 16, 2012 9:08 pm
by 7im
Yes there is a problem with that, as Christian clearly stated above. Do NOT use the Fast Teampage.

Download the flat file, and filter out what you don't need.