Re: KStars documentation pipeline failing
Johnny Jazeix <[email protected]> Fri, 24 Oct 2025 09:57:56 +0200
| Newsgroups | gmane.comp.kde.devel.internationalization-and-documentation,gmane.comp.kde.devel.kstars |
|---|---|
| Message-ID | <CAEtcAPEVSsVrE9wjjDvo=rG6J=0tO3qvQ5R+3aaYMdtE-SCjKw@mail.gmail.com> |
Hi, I think it's not on the latest commit. The easier would be to create a dummy commit to have the latest changes. Johnny Le ven. 24 oct. 2025 à 09:55, Jasem Mutlaq <[email protected]> a écrit : > > Thanks! I just did but got the same error: > > https://invent.kde.org/documentation/kstars-docs-kde-org/-/jobs/3504623 > > -- > Best Regards, > Jasem Mutlaq > > > > On Fri, Oct 24, 2025 at 10:12 AM Josep M. Ferrer <[email protected]> wrote: >> >> El 23/10/25 a les 11:35, Luigi Toscano ha escrit: >> > Alexander Becker ha scritto: >> >> 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. >> > Thank you for the investigation! I've fixed the translations and they should >> > be visible tomorrow in the repository. >> > >> > >> Thanks Alexander and Luigi for fixing this issue. >> >> I can confirm that KStars documentation has been built successfully in >> my personal repo with the last fixes. >> >> Could someone with permissions launch a build pipeline in the >> official KStars documentation repository? >> >> Thanks in advance, >> >> Josep M. Ferrer >>