Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Too many values to unpack ERROR and question on historical data #138

Open
troutct opened this issue Aug 12, 2020 · 3 comments
Open

Too many values to unpack ERROR and question on historical data #138

troutct opened this issue Aug 12, 2020 · 3 comments

Comments

@troutct
Copy link

troutct commented Aug 12, 2020

Firstly..THANK YOU for ALL who work on and provide this code..it has been FANTASTIC to make use of this over the last few years and I VERY MUCH appreciate your hard work !

2 quick questions and looking for assistance/guidance on 1 error:

  1. I've had nfldb for years and use it for fantasy football..I don't need LIVE scoring..just the game/status update after the weekly games are done. I've read that the NFL API has changed so no "live" scoring is possible anymore but historical data should work. I'm wondering..does "historical" mean only data from this point back (ie..no data for 2020 season will ever be available)..or does it mean we'll still be able to get data of future games but just not until the game is done being played ?

  2. From running the NFLDB code I have data for 2020 week 1 in my game table but I'd like to have the full season schedule loaded to forecast stats, do strength of schedules, etc. I've downloaded the NFLGAME code into an NFLGAME directory and tried running the update schedule but get the error below.

Error:
c:\NFLGAME\scripts>c:\Python37\python nflgame-update-schedule
Traceback (most recent call last):
File "nflgame-update-schedule", line 4, in
nflgame.update_sched.run()
File "c:\Python37\lib\site-packages\nflgame\update_sched.py", line 192, in run
sched, last = nflgame.sched._create_schedule(args.json_update_file)
ValueError: too many values to unpack (expected 2)

@james-childress
Copy link

+1 I'm getting this same error when I run nflgame-update-schedule

@RSABryan
Copy link

+1 yep, same error here, tia

@paulz1
Copy link

paulz1 commented Nov 5, 2020

Do we have something on this?
I have the same problem, the project is just unusable actually...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants