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

fetcher.py crashes with KeyError: 'la' #46

Open
schumannd opened this issue Nov 30, 2016 · 0 comments
Open

fetcher.py crashes with KeyError: 'la' #46

schumannd opened this issue Nov 30, 2016 · 0 comments

Comments

@schumannd
Copy link

schumannd commented Nov 30, 2016

this is the error message:

Traceback (most recent call last):
  File "./fetcher.py", line 180, in <module>
    f.start_request()
  File "./fetcher.py", line 122, in start_request
    self._log_lat(uid, str(item["overlay"][uid]["la"]))
KeyError: 'la'

I "fixed" this by checking whether the key exists first. But I'm not sure whether this might break something down the road e.g. in graph.py

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

1 participant