Make suggestions-cronjob.sh work again
Originally created by @hefee on #16109 (Redmine)
Traceback (most recent call last):
File "/var/lib/weblate/scripts/save-suggestions.py", line 21, in <module>
logging.config.fileConfig('saveSuggestions.conf')
File "/usr/lib/python3.5/logging/config.py", line 76, in fileConfig
formatters = _create_formatters(cp)
File "/usr/lib/python3.5/logging/config.py", line 109, in _create_formatters
flist = cp["formatters"]["keys"]
File "/usr/lib/python3.5/configparser.py", line 956, in __getitem__
raise KeyError(key)
KeyError: 'formatters'
rebuilding wiki..
scanning sandbox.mdwn
-> Issues:
- read logging config from current working directory
- runs build-website but save-sugestions.py failed
- hidden fails to run save-suggestions.py, as weblate was updated.
Feature Branch: https://salsa.debian.org/hefee/puppet-tails/tree/bugfix/16109-make-suggestions-cronjob.sh-work-again
Parent Task: #11759 (closed)
Edited by hefee