openfootball / help

help & support incl. frequently asked questions (FAQs) and answers - let's keep all support question in one issue tracker, thanks
5 stars 4 forks source link

!!! ERROR - no match for club Haringey #22

Open donbing opened 3 years ago

donbing commented 3 years ago

i'm getting the following when running sportdb new

** !!! ERROR - no match for club >Haringey Borough FC<

sportdb doesnt seem have some non-league club names available when parsing the fa cup files

yorobot commented 3 years ago

Thanks for reporting the missing club error. Sorry for the trouble - the footballdb-clubs library / gems that ships with pre-built clubs datafiles sourced from /clubs https://github.com/openfootball/clubs is out-of-sync (and behind) and needs an update. I try to push / publish new versions on Monday. Thanks for the patience. Cheers. Prost.

donbing commented 3 years ago

thanks for the swift response!

yorobot commented 3 years ago

Sorry I was too optimistic. I try to get out an update in the next days and over the next weeks add a new --clubs-dir option for DIY updates to the sportdb command line. Thanks for the patience.

geraldb commented 3 years ago

I have published a new version of the sportdb command line tool, that is, v2.3.1 that now includes the --clubs-dir and --leagues-dir option and lets you use up-to-date clubs and/or leagues datasets.

In your case assuming you are building the datasets for england use:

 sportdb --clubs-dir ./clubs-master.zip --leagues-dir ./leagues-master.zip new eng

Note: You have to first download the zip archives from /clubs and /leagues - use the green code button and than "Download ZIP" . If you are a git power user you can also use git clone or such and point --clubs-dir to the repo directory instead of using a single-file zip archive (both work).

PS: I also added a new entry to F.A.Q. page in the Troubleshooting section.