Skip to content

Instantly share code, notes, and snippets.

@ochawkeye
Created January 6, 2014 20:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ochawkeye/8289332 to your computer and use it in GitHub Desktop.
Save ochawkeye/8289332 to your computer and use it in GitHub Desktop.
nfldb-update error
c:\Python27\Scripts>python nfldb-update
-------------------------------------------------------------------------------
STARTING NFLDB UPDATE AT 2014-01-06 14:28:44.339000
Connecting to nfldb... done.
Setting timezone to UTC... done.
Updating player JSON database... (last update was 2014-01-04 03:55:54.395000+00:
00)
Loading games for POST 2013 week 19
Traceback (most recent call last):
File "c:\Python27\lib\runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "c:\Python27\lib\runpy.py", line 72, in _run_code
exec code in run_globals
File "c:\Python27\lib\site-packages\nflgame\update_players.py", line 480, in <
module>
run()
File "c:\Python27\lib\site-packages\nflgame\update_players.py", line 366, in r
un
games = nflgame.games(year, week, kind=phase)
File "c:\Python27\lib\site-packages\nflgame\__init__.py", line 212, in games
return list(games_gen(year, week, home, away, kind, started))
TypeError: 'NoneType' object is not iterable
`c:\Python27\python.exe -m nflgame.update_players --no-block` failed (exit statu
s -1)
Locking write access to tables... done.
Updating season phase, year and week... done.
Closing database connection... done.
FINISHED NFLDB UPDATE AT 2014-01-06 14:28:45.648000
-------------------------------------------------------------------------------
c:\Python27\Scripts>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment