Weblate: ikiwiki should not stop completly when file is wrong
Originally created by @hefee on #17661 (Redmine)
Currently ikiwiki run fails, when there is one failed file:
weblate@translate:~/repositories/vcs/staging$ ikiwiki --setup /var/lib/weblate/config/ikiwiki.setup --rebuild
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "de_DE.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Invalid po file /tmp/ikiwiki-po-filter-in.9r75CG2SFn:
/tmp/ikiwiki-po-filter-in.9r75CG2SFn:400: 'msgid' and 'msgstr' entries do not both end with '\n'
msgfmt: found 1 fatal error
things to improve:
1. just continue with the other files
2. print the file source that is triggering that failure, so it
possible to fix that file
Attachments
Related issues
- Related to sysadmin#17560 (closed)
Edited by hefee