Skip to content

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

@schumannd

Description

@schumannd

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions