LukeWoodward / SplitsBrowser

Orienteering results analysis
GNU General Public License v2.0
13 stars 9 forks source link

Fix errors with triple-column CSV events 9544 and 9545 #52

Closed LukeWoodward closed 7 years ago

LukeWoodward commented 7 years ago

SplitsBrowser presently fails to load events 9544 and 9545 on splitsbrowser.org.uk, reporting a somewhat odd error.

The root cause of this problem is an unusual line in the triple-column format used by these events. There is a competitor listed at the bottom which seems malformed (it looks like this competitor is on some kind of score event whereas the rest of the competitors aren't). When the reader attempts to load it in, it doesn't find any cumulative times, and the creation of a competitor object then fails.

A warning should be issued for any such competitors found.