-
Notifications
You must be signed in to change notification settings - Fork 22
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
KeyError when attempting to access Parser #17
Comments
Hello! I was poking around some of the open elections code looking for ways to contribute this weekend and found this. I am entirely new to the world of open elections so this might be off-base, but I did some research about Sarpy county in particular and found the following:
This leaves the question of what to do. I notice that when a new [0] http://www.sarpy.com/election/election_results.html |
(moved from #13)
Looking at precinct-level results from the 2014 and 2016 primaries in Sarpy County, Nebraska -- in both cases, I'm getting a vote type
KeyError
when I try to access the Parser instance. I'm running Python 3.4.The XML file for the 2014 primary is here.
Here's the code I'm stepping through for the 2014 results, up to the point where it breaks:
Here's the traceback:
Thanks for taking a look!
The text was updated successfully, but these errors were encountered: