PrimeGrid
Please visit donation page to help the project cover running costs for this month

Toggle Menu

Join PrimeGrid

Returning Participants

Community

Leader Boards

Results

Other

drummers-lowrise
1) Message boards : Number crunching : invalid XML file for team stats (Message 118042)
Posted 431 days ago by ChristianVirtual
Sorry, had to come first home to get access to the system:

when entering this command on linux
curl http://www.primegrid.com/team_lookup.php?team_id=2616

I get this ...

<?xml version="1.0" encoding="ISO-8859-1" ?>
<team>
<id>2616</id>
<create_time>1282119912</create_time>
<userid>65836</userid>
<name>Crystal Dream</name>
<url>forum.boinc.ru/default.aspx?g=topics&amp;f=31</url>
<type>1</type>
<country>Russia</country>
<total_credit>670658404.0840681</total_credit>
<expavg_credit>632668.65609502</expavg_credit>
<expavg_time>1526639162</expavg_time>
</team>

Thanks for fixing !
2) Message boards : Number crunching : invalid XML file for team stats (Message 118031)
Posted 431 days ago by ChristianVirtual

My python script hiccup here

Traceback (most recent call last):
File "boinc_import_stats.py", line 299, in <module>
xml = untangle.parse(fn)
File "/usr/lib/python2.7/site-packages/untangle.py", line 177, in parse
parser.parse(filename)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib64/python2.7/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 214, in feed
self._err_handler.fatalError(exc)
File "/usr/lib64/python2.7/xml/sax/handler.py", line 38, in fatalError
raise exception
xml.sax._exceptions.SAXParseException: primegrid.com/intraday/2616/T20180517_2100.xml:7:47: not well-formed (invalid token)


As per Google fu it tells me that what you suggested: &amp;

The url I use is the equivalent of project/team_lookup.php for PG (url/script works for other teams and projects; but will check more after pent is over)
3) Message boards : Number crunching : invalid XML file for team stats (Message 118028)
Posted 431 days ago by ChristianVirtual
Dear team,

I got during the Pentathlon challenge frequent updates via WebRPC on the teams; for one team I got this file with an invalid value in the URL; would it be possible for you to format it as "correct" XML or something I need to do my side ?
Reason is that the team used a & in the url killing the XML format.

Thanks
Christian

<?xml version="1.0" encoding="ISO-8859-1" ?>
<team>
<id>2616</id>
<create_time>1282119912</create_time>
<userid>65836</userid>
<name>Crystal Dream</name>
<url>forum.boinc.ru/default.aspx?g=topics&f=31</url>
<type>1</type>
<country>Russia</country>
<total_credit>669468186.1394461</total_credit>
<expavg_credit>555623.88563686</expavg_credit>
<expavg_time>1526581622</expavg_time>
</team>
[Return to PrimeGrid main page]
DNS Powered by DNSEXIT.COM
Copyright © 2005 - 2019 Rytis Slatkevičius (contact) and PrimeGrid community. Server load 1.27, 1.26, 1.23
Generated 23 Jul 2019 | 16:30:37 UTC