novastra/GeoJSON-to-KML

Errors in Line

Opened this issue · 0 comments

Not sure if I do something wrong, but when I try to run the file I get the following error messages

(venv) username@Manojs-MBP location-history % python location_history_json_converter.py 2023_AUGUST.json 2023_AUGUST.kml           
Traceback (most recent call last):
  File "/Users/manoj.vim/Documents/Location-History/location_history_json_converter.py", line 601, in <module>
    sys.exit(main())
             ^^^^^^
  File "/Users/manoj.vim/Documents/Location-History/location_history_json_converter.py", line 569, in main
    items = data["locations"]
            ~~~~^^^^^^^^^^^^^
KeyError: 'locations'

Am I missing something?

I have Python 3.11 on my MacBook with M1 Pro.