Feature #10034: Translation web platform
Weblate's suggestions-cronjob.sh sends daily spam to Weblate admins
Complex regular subexpression recursion limit (32766) exceeded at /usr/share/perl5/IkiWiki.pm line 1754. Complex regular subexpression recursion limit (32766) exceeded at /usr/share/perl5/IkiWiki.pm line 1754.
wiki/src/install/**/*.po: remove obsolete (#~) strings.
During the "scan" phase, ikiwiki first scans raw PO files, including these
obsolete strings. We have "[[!command]]" ikiwiki directives split over multiple
strings, so in these raw PO files, a directive can be started ("[[!command") but
never closed ("]]"), which can cause this warning:
Complex regular subexpression recursion limit (32766) exceeded at
/usr/share/perl5/IkiWiki.pm line 1754.
I suspect that other kinds of power-usage of ikiwiki + PO files can trigger this
problem; let's fix this one to start with and see what happens then.
The corresponding code in ikiwiki is about parsing
[[!]] directives. The error occurs while
scanning install/win/usb.de.po. There's no Weblate suggestions for it. I see nothing obviously wrong in that file but there are lots of commented out ikiwiki directives. I'll try removing them and if that's not enough, I'll bisect the problem.
- Status changed from In Progress to Resolved
On top of the commit referenced above, I did https://git.tails.boum.org/puppet-tails/commit/?id=c6372d384da529cf46079c0a6326e5011d38db14 which should prevent this daily spam even when such warnings occur, so calling this done. Will come back to it if it happens again.
I did https://git.tails.boum.org/puppet-tails/commit/?id=be7cd4cc72459889472118220e4ac060593e0181 as a follow up to fix a problem identified by hefee.