Errors creating Serie A 2016/17 db from updated dataset

44 views
Skip to first unread message

Gabriele N.

unread,
Jul 28, 2016, 4:57:13 AM7/28/16
to opensport
So, I updated the Serie A dataset for season 2016/17. When importing data in a DB, I got several errors:

[info] parsing data (fixture) 'it-italy!/2016-17/seriea' (it-italy/2016-17/seriea.yml)...
*** [DEPRECATED] old event config format w/ yaml, please use new plain text format >it-italy/2016-17/seriea.yml<
[info]   build_title_table_for - deprecated API - use TitleMapper.new instead
[info] skipping line (no match found): >Pescara - Napoli<
[info] skipping line (no match found): >Sassuolo - Pescara<
[info] skipping line (no match found): >Pescara - Inter<
[info] skipping line (no match found): >Inter - Juve<

I'm pretty sure this depends on the files I created, so I'd need help how to fix these.

My questions:
- what's the new format for the YML file? Where can I see an example or documentation?
- any hint why some matches are skipped (there are more; I pasted few, as example)

Thanks!
Gabriele

Gabriele N.

unread,
Jul 28, 2016, 5:01:53 AM7/28/16
to opensport
Found the error for Inter - Juve
"Juve" was not an alias for Juventus. I only have "Pescara" matches that are excluded. The team is in the list team, and seems ok, comparing to the others.

Gabriele N.

unread,
Jul 28, 2016, 5:19:37 AM7/28/16
to opensport
Damned me! Found the error why Pescara matches were excluded: the entry for Pescara team was duplicated in two team files. Removed the duplicate and now it works fine.

Still have the question what's the new format for YML file, althought it doesn't seem a critical error.

Cheers,
Gabriele

Gerald Bauer

unread,
Jul 28, 2016, 6:55:01 AM7/28/16
to open...@googlegroups.com
Hello Gabriele,

Great. Thanks for setting up the Seria A 2016/17. Great to hear
that it's working.

About the new format for 2016-17/series.yml For now I'd say stay
with the "old" yaml format and please ignore the warning. The new
format is a simple(r) text fomat (but has no yet support for a
fixtures entry).

You can see a working example for the new format here ->
https://github.com/openfootball/de-deutschland/blob/master/archive/2000s/2006-07/1-bundesliga.conf.txt

In your case it would look like:

Serie A 2016/17

- AS Roma
- Lazio Roma
- Bologna FC
- Juventus
- Udinese Calcio
- Empoli FC
- Chievo Verona
- Fiorentina
- AC Milan
- Torino FC
- Internazionale
- Atalanta
- Palermo
- Genoa CFC
- Sampdoria
- Sassuolo Calcio
- SSC Napoli
- Crotone
- Pescara
- Cagliari


Still there's the yet to be resolved issue with the fixtures entry
(not yet support in the new format):

fixtures:
- seriea-i
- seriea-ii

Again thanks for the Seriea A 2016/17 setup. Cheers.
Reply all
Reply to author
Forward
0 new messages