-
Notifications
You must be signed in to change notification settings - Fork 263
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
NFL db update on Anaconda help #321
Comments
I'm having this same exact issue. Were you able to solve this? I did see someone mention switching out the url in live.py. That did seem to help a bit, but still seeing plenty of results like this. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi all. I'm not sure if this is an issue, or if I just messed something up. I have successfully gotten the nflbd-update to run in the past with just a python 2.7 install, but I have since moved everything over to an Anaconda install (for a variety of reasons).
Now, I can't get the update script to run, however I can run an execute other scripts, such as the example ones in the install guide. When I try to run the update-nfldb script, this is the error I get:
(Python 2.7) C:\Users\afhar\Anaconda3\Scripts>python nfldb-update
Traceback (most recent call last):
File "nfldb-update", line 5, in
import nfldb.update
File "C:\Users\afhar\Anaconda3\envs\Python 2.7\lib\site-packages\nfldb\update.py", line 15, in
import nflgame
File "C:\Users\afhar\Anaconda3\envs\Python 2.7\lib\site-packages\nflgame_init_.py", line 97, in
import nflgame.game # noqa
File "C:\Users\afhar\Anaconda3\envs\Python 2.7\lib\site-packages\nflgame\game.py", line 12, in
import nflgame.sched
File "C:\Users\afhar\Anaconda3\envs\Python 2.7\lib\site-packages\nflgame\sched.py", line 47, in
games, last_updated = _create_schedule()
File "C:\Users\afhar\Anaconda3\envs\Python 2.7\lib\site-packages\nflgame\sched.py", line 40, in _create_schedule
year, week = nflgame.live.current_year_and_week()
File "C:\Users\afhar\Anaconda3\envs\Python 2.7\lib\site-packages\nflgame\live.py", line 115, in current_year_and_week
_update_week_number()
File "C:\Users\afhar\Anaconda3\envs\Python 2.7\lib\site-packages\nflgame\live.py", line 358, in _update_week_number
dom = xml.parse(urllib2.urlopen(_CUR_SCHEDULE, timeout=5))
File "C:\Users\afhar\Anaconda3\envs\Python 2.7\lib\xml\dom\minidom.py", line 1918, in parse
return expatbuilder.parse(file)
File "C:\Users\afhar\Anaconda3\envs\Python 2.7\lib\xml\dom\expatbuilder.py", line 928, in parse
result = builder.parseFile(file)
File "C:\Users\afhar\Anaconda3\envs\Python 2.7\lib\xml\dom\expatbuilder.py", line 207, in parseFile
parser.Parse(buffer,0)
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 12, column 38
Can someone help shed some light as to what I need to do to move past this?
The text was updated successfully, but these errors were encountered: