Thatg's not gonna work. Python 2.7 does not allow
open(,encoding=_'
+ with open(os.path.join(options.kmldir,
+ 'Realtime_GPS.kml'), 'w',
encoding="utf8")
From the Python 2.7 man page:
https://python.readthedocs.io/en/v2.7.2/library/functions.html#open
open() does not support encoding=
Here is the error:
# python2.7 buildtmp/clients/gegps -i spidey
Traceback (most recent call last):
File "buildtmp/clients/gegps", line 186, in <module>
encoding="utf8") as f:
TypeError: 'encoding' is an invalid keyword argument for this function