Skip to content

Cannot Get Weather, latitude #108

@elijamesn01

Description

@elijamesn01

Upon startup of the program, I receive this error message and the weather does not appear on the monitory.

Traceback (most recent call last) :
File "smartmirror.py", line 145, in get_weather
lat = location_obj[ 'latitude' ]
KeyError: 'latitude'
Error: 'latitude'. Cannot get weather.

After tinkering with the code for several hours I am at a loss.
Any help is appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions