KStars documentation pipeline failing

Alexander Becker alex-at-kde-l10n-de at freenet.de
Wed Oct 22 23:14:39 BST 2025


Hello Josep,

I have a solution for issue described by you:

> this error (Theme error) is also shown in the HTML build log for sv
> language, but I couldn't find any relation between the theme error and
> the translated 404 page:
>
> An error happened in rendering the page 404.
> Reason: ValueError('incomplete format')
>
> I hope someone with more knowledge could fix this problem.

I tried it locally and found the reason for

   `ValueError('incomplete format')`

It happens due to translation issues in `sphinx.po` for `sv`

https://invent.kde.org/documentation/kstars-docs-kde-org/-/blob/master/locale/sv/LC_MESSAGES/sphinx.po?ref_type=heads

Please compare the lines msgstr 38, 42, 56, 70, 76 and 107 with 
according msgids. In msgids there are variables `%(var)s`, but in the 
translation (msgstr) 's' is missing.

After adding 's' after parenthesis I was able to build 404.html locally 
for `sv` language.

BR
Alexander


More information about the kde-i18n-doc mailing list