_____
From: Stefan Grönberg [mailto:stefan@tspse.net] Sent: den 30 november 2003 01:53 To: mattricks@list.lysator.liu.se Subject: bugg 2
skulle hämta liga 4456 och säsong 22:
Traceback (most recent call last): File "Mattricks\Main.pyc", line 152, in OnFetch File "Mattricks\Main.pyc", line 203, in __do_fetch File "Mattricks\Main.pyc", line 252, in __do_fetch_internal File "Mattricks\Fetch.pyc", line 179, in fetch_fixtures_xml File "Mattricks\Fetch.pyc", line 213, in __internal_fetch_fixtures_xml File "Mattricks\XMLData.pyc", line 336, in parse_string_fixtures File "xml\sax\drivers\drv_pyexpat.pyc", line 68, in parseFile File "xml\sax\drivers\drv_pyexpat.pyc", line 45, in startElement File "Mattricks\XMLData.pyc", line 253, in startElement ValueError: invalid literal for int():
Thank you for the bug-report. Although I think this is more of a bug on your part since the current season of HT in Sweden is 21. There is no season 22 yet. If you leave the fields with -1 you will get the data for your team in the latest season.
/Ragnar
On Sun, 30 Nov 2003, Stefan Grönberg wrote:
From: Stefan Grönberg [mailto:stefan@tspse.net] Sent: den 30 november 2003 01:53 To: mattricks@list.lysator.liu.se Subject: bugg 2
skulle hämta liga 4456 och säsong 22:
Traceback (most recent call last): File "Mattricks\Main.pyc", line 152, in OnFetch File "Mattricks\Main.pyc", line 203, in __do_fetch File "Mattricks\Main.pyc", line 252, in __do_fetch_internal File "Mattricks\Fetch.pyc", line 179, in fetch_fixtures_xml File "Mattricks\Fetch.pyc", line 213, in __internal_fetch_fixtures_xml File "Mattricks\XMLData.pyc", line 336, in parse_string_fixtures File "xml\sax\drivers\drv_pyexpat.pyc", line 68, in parseFile File "xml\sax\drivers\drv_pyexpat.pyc", line 45, in startElement File "Mattricks\XMLData.pyc", line 253, in startElement ValueError: invalid literal for int():
i know its season 21, i where just "testing" it, besides the, uhm, scoreboard gets all wrong, im placed 7/8, but it draws me 8/8
-----Original Message----- From: mattricks-admin@lists.lysator.liu.se [mailto:mattricks-admin@lists.lysator.liu.se] On Behalf Of Ragnar Ouchterlony Sent: den 30 november 2003 11:23 To: mattricks@lists.lysator.liu.se Subject: Re: [Mattricks] FW: bugg 2
Thank you for the bug-report. Although I think this is more of a bug on your part since the current season of HT in Sweden is 21. There is no season 22 yet. If you leave the fields with -1 you will get the data for your team in the latest season.
/Ragnar
On Sun, 30 Nov 2003, Stefan Grönberg wrote:
From: Stefan Grönberg [mailto:stefan@tspse.net] Sent: den 30 november 2003 01:53 To: mattricks@list.lysator.liu.se Subject: bugg 2
skulle hämta liga 4456 och säsong 22:
Traceback (most recent call last): File "Mattricks\Main.pyc", line 152, in OnFetch File "Mattricks\Main.pyc", line 203, in __do_fetch File "Mattricks\Main.pyc", line 252, in __do_fetch_internal File "Mattricks\Fetch.pyc", line 179, in fetch_fixtures_xml File "Mattricks\Fetch.pyc", line 213, in
__internal_fetch_fixtures_xml
File "Mattricks\XMLData.pyc", line 336, in parse_string_fixtures File "xml\sax\drivers\drv_pyexpat.pyc", line 68, in parseFile File "xml\sax\drivers\drv_pyexpat.pyc", line 45, in startElement File "Mattricks\XMLData.pyc", line 253, in startElement ValueError: invalid literal for int():
Mattricks mailing list Mattricks@lists.lysator.liu.se http://lists.lysator.liu.se/mailman/listinfo/mattricks
Ok, but I won't fix that the program crash on non-existant seasons just now, because I want to have a safe way to discover xml:s which have no data, so as to be able to produce a good error message.
And as to your place, it is due to that Mattricks calculates the position on it's own, rather than also download the table-xml too. And the calculation follows the old rule that the team with lowest id comes first (now it is random) if everything else is equal.
/Ragnar
On Sun, 30 Nov 2003, Stefan Grönberg wrote:
i know its season 21, i where just "testing" it, besides the, uhm, scoreboard gets all wrong, im placed 7/8, but it draws me 8/8
mattricks@lists.lysator.liu.se