add a better hint if Default MSS config file missing.
After installation of MSS on osx-64, the following message pops up regularly in the console:
INFO: Default MSS config file missing.
Installation is in a dedicated environment (mssenv).
Comments (11)
-
-
Hi @geogob
can you verify that this issue occures if you have added a file to the proposed location?
-
reporter Adding mss_config.json in ~/.config/mss has not impact on the INFO message. Furthermore the settings contained in mss_config.json are not taken into account (e.g. the default WMS servers and so on). The Environment points correctly to the home directory. So does the ~.
-
@geogob
its name is mss_settings.json. Please rename it.
-
reporter Right! After renaming, the file is found as expected. The INFO warning is not displayed anymore and the file contained settings are applied in mss.
-
- changed title to add a better hint if Default MSS config was not found
-
- changed status to resolved
hint do documentation added, 015ad7d
-
- changed milestone to 1.7.0
-
- changed title to add a better hint if Default MSS config file missing.
-
reporter In addition, I would say that the INFO message is misleading for the user. It says that the default config is not found, not that the no config is found. The documentation states that when mss_settings.json is not present, the program starts with the default configuration. The message leads to think that this default configuration (which one would expect being part of the distribution) is missing.
-
Have you a suggestion how to describe this better?
Take in account that you also can load other configs from the menu "File - Load Configuration"
- Log in to comment
This is an info, you can setup a MSS config file, see there
http://mss.readthedocs.io/en/stable/usage.html
As long as you don't you get that annoying message. But it is also a hint that you can do somehting.
@joernu76 we may be should hint to the documentation?