BurntSushi / nfldb

A library to manage and update NFL data in a relational database.
The Unlicense
1.07k stars 263 forks source link

nfldb-update successful, but still missing all data after 2016 week 3 #276

Open theSanchize3 opened 6 years ago

theSanchize3 commented 6 years ago

I ran nfldb-udate successfully (no errors), but when I try to get any stats after week 3 of 2016, I get all zeros. My time and date on my laptop are accurate. The schedule is available up to week 6 of 2017 (this week). I have run nfldb-update --update-schedules 2017 (followed by another run of nfldb-update). I have also upgraded nfldb and nflgame with pip install --upgrade nfldb and pip install --upgrade nflgame and both are up-to-date.

I have spent hours on this and looked through the issues already posted but have no clue what why this is happening. Any way you can help?

Thanks

UPDATE:

It turns out I also have week six of 2017, which as of now is just the Eagles-Panthers game. I still don't have weeks 1-5.

RylandCapital commented 6 years ago

Hello,

I have the same type of problem did you ever figure it out?

ariannedee commented 6 years ago

The problem is probably that the version of nflgame that you are installing doesn't have an up-to-date schedule.json. You could make sure you are getting the most recent one from git and not the pip version, but you could also modify the code slightly such that nflgame is updating schedule.json from the NFL api. See https://github.com/BurntSushi/nflgame/issues/331#issuecomment-346203497