Unable to unzip new FIDE rating lists in any format

General discussions about ratings.
Post Reply
User avatar
Adam Raoof
Posts: 2720
Joined: Sat Oct 04, 2008 4:16 pm
Location: NW4 4UY
Contact:

Unable to unzip new FIDE rating lists in any format

Post by Adam Raoof » Wed Jan 01, 2020 10:21 pm

anyone else having problems importing the new lists into Swiss Manager? It might be as simple as installing a new version of SM, but I wondered - sometimes the files at FIDE are corrupted and nobody can download them!
Adam Raoof IA, IO
Chess England Events - https://chessengland.com/
The Chess Circuit - https://chesscircuit.substack.com/
Don’t stop playing chess!

Alex Holowczak
Posts: 9085
Joined: Sat May 30, 2009 5:18 pm
Location: Oldbury, Worcestershire
Contact:

Re: Unable to unzip new FIDE rating lists in any format

Post by Alex Holowczak » Thu Jan 02, 2020 9:24 am

Adam Raoof wrote:
Wed Jan 01, 2020 10:21 pm
anyone else having problems importing the new lists into Swiss Manager? It might be as simple as installing a new version of SM, but I wondered - sometimes the files at FIDE are corrupted and nobody can download them!
I don't know if you understand the difference between an Array and an ArrayList in Java, but the difference is that an Array needs to have a fixed size defined, and an ArrayList does not.

Java isn't used in Swiss-Manager but apparently this is the equivalent problem; the rating list goes into Swiss-Manager as the equivalent of an Array. If the number of names in the rating list exceeds the length of the Array that was defined, then Heinz needs to hastily update the size of the Array and make it available as a new download. So if you download a new update of SM, it will work.

The reason you don't define the Array to be 20 times longer than it needs to be to avoid this problem is that it would slow the program down.

User avatar
Adam Raoof
Posts: 2720
Joined: Sat Oct 04, 2008 4:16 pm
Location: NW4 4UY
Contact:

Re: Unable to unzip new FIDE rating lists in any format

Post by Adam Raoof » Thu Jan 02, 2020 1:04 pm

thanks Alex, that makes sense - and it worked. Doesn't SM use Java for the pairings engine?

the size of the rating lists must be growing exponentially!
Adam Raoof IA, IO
Chess England Events - https://chessengland.com/
The Chess Circuit - https://chesscircuit.substack.com/
Don’t stop playing chess!

Alex Holowczak
Posts: 9085
Joined: Sat May 30, 2009 5:18 pm
Location: Oldbury, Worcestershire
Contact:

Re: Unable to unzip new FIDE rating lists in any format

Post by Alex Holowczak » Thu Jan 02, 2020 2:12 pm

Adam Raoof wrote:
Thu Jan 02, 2020 1:04 pm
thanks Alex, that makes sense - and it worked. Doesn't SM use Java for the pairings engine?
Yes, via JaVaFo, which requires Java. But I don't think the part of the program in question uses it.

Paul McKeown
Posts: 3732
Joined: Thu Apr 12, 2007 3:01 pm
Location: Hayes (Middx)

Re: Unable to unzip new FIDE rating lists in any format

Post by Paul McKeown » Thu Jan 02, 2020 6:37 pm

Adam Raoof wrote:
Wed Jan 01, 2020 10:21 pm
anyone else having problems importing the new lists into Swiss Manager? It might be as simple as installing a new version of SM, but I wondered - sometimes the files at FIDE are corrupted and nobody can download them!
Yes, I have had this problem several times on occasion. I find it goes away with an update install, but there may not be an update for what seems like a lengthy period, in which case you need to enter the players and their ratings by hand. (Doesn't do anything to quell my misgivings about the underlying engineering of the software.)

Paul McKeown
Posts: 3732
Joined: Thu Apr 12, 2007 3:01 pm
Location: Hayes (Middx)

Re: Unable to unzip new FIDE rating lists in any format

Post by Paul McKeown » Thu Jan 02, 2020 6:49 pm

Alex Holowczak wrote:
Thu Jan 02, 2020 2:12 pm
Adam Raoof wrote:
Thu Jan 02, 2020 1:04 pm
thanks Alex, that makes sense - and it worked. Doesn't SM use Java for the pairings engine?
Yes, via JaVaFo, which requires Java. But I don't think the part of the program in question uses it.
(Referring to JaVaFo Pairing Engine Advanced Users Manual) Does JaVaFo not just take a TRF06 or a TRF16 as input?

In that case, Swiss-Manager just passes the ratings to JaVaFo.

The problem should thus surely lie with Swiss-Manager. As I understand it, SM was originally written in Pascal, which uses (or did back in the day) arrays with dimensions pre-declared at compilation time. It is now written using Delphi, which I understand is a coding environment for an object oriented Pascal. If this diagnosis is correct, you could solve this particular problem once and for all using linked lists.

Brian Towers
Posts: 1266
Joined: Tue Nov 18, 2014 7:23 pm

Re: Unable to unzip new FIDE rating lists in any format

Post by Brian Towers » Sat Jan 04, 2020 3:57 pm

A very clever arbiter (whose first name may have been Adam) once told me that before starting to use SM for a tournament I should always download and install the latest version and then download the latest relevant rating/grading lists. Still very sound advice.
Ah, but I was so much older then. I'm younger than that now.

User avatar
Adam Raoof
Posts: 2720
Joined: Sat Oct 04, 2008 4:16 pm
Location: NW4 4UY
Contact:

Re: Unable to unzip new FIDE rating lists in any format

Post by Adam Raoof » Sat Jan 04, 2020 4:24 pm

Brian Towers wrote:
Sat Jan 04, 2020 3:57 pm
A very clever arbiter (whose first name may have been Adam) once told me that before starting to use SM for a tournament I should always download and install the latest version and then download the latest relevant rating/grading lists. Still very sound advice.
Jack may have to insert the appropriate emoji here...
Adam Raoof IA, IO
Chess England Events - https://chessengland.com/
The Chess Circuit - https://chesscircuit.substack.com/
Don’t stop playing chess!

Post Reply