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

Connection issue with nfldb #31

Closed
teamfball opened this issue Jul 19, 2014 · 4 comments
Closed

Connection issue with nfldb #31

teamfball opened this issue Jul 19, 2014 · 4 comments

Comments

@teamfball
Copy link

I’ve been around 18 months or so exclusively using nflgame, ignoring nfldb until yesterday. Using Windows XP, I successfully installed the DB using ochawkeys’s instructions. https://github.com/BurntSushi/nfldb/wiki/Windows-Install , imported the data, and installed nfldb using pip. However, ochawkeys’s final two steps 14 and 15 are failing due to a connection problem….I think?

C:\Python27\Scripts>python top-ten-qbs.py
Traceback (most recent call last):
  File "top-ten-qbs.py", line 3, in <module>
    db = nfldb.connect()
  File "c:\Python27\lib\site-packages\nfldb\db.py", line 104, in connect
    raise IOError("Could not find valid configuration file.")
IOError: Could not find valid configuration file.
C:\Python27\Scripts>python nfldb-update
STARTING NFLDB UPDATE AT 2014-07-19 07:26:46.316000
Connecting to nfldb... Traceback (most recent call last):
  File "nfldb-update", line 441, in <module>
    doit()
  File "nfldb-update", line 420, in doit
    db = nfldb.connect()
  File "c:\Python27\lib\site-packages\nfldb\db.py", line 104, in connect
    raise IOError("Could not find valid configuration file.")
IOError: Could not find valid configuration file.
@teamfball
Copy link
Author

Sorry , just read my own issue.

Could not find valid configuration file.

I failed to rename the config file

@BurntSushi
Copy link
Owner

I'm glad you figured it out. :-) And glad you're giving nfldb a whirl!

The error message wasn't extremely helpful. I pushed a new release that will show the paths that nfldb tried to search for a config file.

@ochawkeye
Copy link
Contributor

Step 11 of the install instructions was a bit ambiguous as well. I've updated to hopefully make it more clear.

@BurntSushi
Copy link
Owner

@ochawkeye Thanks! :)

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

3 participants