In my case 'climb' was not part of a packet I got, so an KeyError exception was raised and script wasn't succeeding.
Here is a list of elements that have to or not be in a packet: http://www.catb.org/gpsd/gpsd_json.html
According to this, packet may have or not most of the elements, so I added appropriate conditions on them all.
In my case 'climb' was not part of a packet I got, so an KeyError exception was raised and script wasn't succeeding. Here is a list of elements that have to or not be in a packet: http://www.catb.org/gpsd/gpsd_json.html According to this, packet may have or not most of the elements, so I added appropriate conditions on them all.