Closed bitkeeper closed 2 years ago
Did a test run with 1.0.0rc1. At startup of the gui backend, the backend crashed due missing value in config:
May 03 11:19:31 raspberrypi python3[1536009]: Traceback (most recent call last): May 03 11:19:31 raspberrypi python3[1536009]: File "/opt/camillagui/main.py", line 13, in <module> May 03 11:19:31 raspberrypi python3[1536009]: app["log_file"] = config["log_file"] May 03 11:19:31 raspberrypi python3[1536009]: KeyError: 'log_file
Maybe set the default value at backend/settings.py in function get_config to None:
backend/settings.py
get_config
None
+ if "log_file" not in config: + config["log_file"] = None
This will be backward compatible with already existing config files and an at least provides backend that starts.
Thanks! I'll fix asap.
Can you please try 1.0.0-rc2?
rc2 works like a charm! Thanks
Did a test run with 1.0.0rc1. At startup of the gui backend, the backend crashed due missing value in config:
Maybe set the default value at
backend/settings.py
in functionget_config
toNone
:This will be backward compatible with already existing config files and an at least provides backend that starts.