This repository was archived by the owner on Dec 31, 2019. It is now read-only.

Description
On my install, signalk run under it's own user. So I don't have any ~/.signalK for the user of openplotter. This make openplotter crash like this:
Traceback (most recent call last):
File "./openplotter", line 4157, in <module>
MainFrame().Show()
File "./openplotter", line 50, in __init__
self.SK_settings = SK_settings()
File "/var/www/openplotter/classes/SK_settings.py", line 28, in __init__
self.load()
File "/var/www/openplotter/classes/SK_settings.py", line 102, in load
if not OPcan: self.data['pipedProviders'].append({'pipeElements': [{'type': 'providers/simple', 'options': {'logging': False, 'type': 'NMEA2000', 'subOptions': {'device': '/dev/ttyOP_', 'type': 'ngt-1'}}}], 'enabled': False, 'id': 'OPcan'})
KeyError: 'pipedProviders'
- it should not make openplotter crash,
- The Folder location variable should not imply every services that Openplotter manage run under the same user. (
self.home+'/.signalk/settings.json')
This is what im gonna work on in the next days.