falling back to default configuration if mss_settings.json is missing

Issue #89 closed
Reimar Bauer created an issue

If rhere is no mss_settings.json stored, we want to use default values of default configurarion.

An additional mss_settings.json should not become mandatory

Traceback (most recent call last):
  File "/home/user/projects/mss_standard_name/mslib/msui/mss_pyui.py", line 562, in <module>
    main()
  File "/home/user/projects/mss_standard_name/mslib/msui/mss_pyui.py", line 544, in main
    mainwindow.createNewFlightTrack(activate=True)
  File "/home/iuser/projects/mss_standard_name/mslib/msui/mss_pyui.py", line 383, in createNewFlightTrack
    waypoints = config_loader(dataset="new_flighttrack_template", default=mss_default.new_flighttrack_template)
  File "/home/iuser/projects/mss_standard_name/mslib/mss_util.py", line 62, in config_loader
    with open(os.path.join(config_file)) as source:
TypeError: coercing to Unicode: need string or buffer, NoneType found

Comments (4)

  1. Log in to comment