Krita.org website broken because of broken Swedish translation

Halla Rempt halla at valdyas.org
Fri Jun 28 08:12:11 BST 2024


With the move to static generated websites (sphinx, hugo) we're running into a big problem: any issue in a translation can totally break regenerating the website. And worse, nobody can fix the issue except for the translators, since the translation folders are blocked from modifying in the git repo.

In this case, we cannot officially announce the latest krita release because the Swedish translation, for some reason, has broken the website, and despite contacting the responsible people several times, no fix has been upcoming. Nor any reaction.

This is the problem:

    avatarWebsites
    Krita.org website
    Jobs
    #1934663

hugo_website
Failed
Started
4 hours ago
by
Scott Petrovic
Running with gitlab-runner 17.1.0 (fe451d5a)
  on node5 FtCdoRear, system ID: s_4dd0f71fa7cb
Preparing the "docker" executor 00:02
Using Docker executor with image invent-registry.kde.org/sysadmin/ci-images/staticweb:latest ...
Authenticating with credentials from job payload (GitLab Registry)
Pulling docker image invent-registry.kde.org/sysadmin/ci-images/staticweb:latest ...
Using docker image sha256:93598c2d55a087c289784cbda49edeafa0e27f10ec0956d6070264bcb278d47a for invent-registry.kde.org/sysadmin/ci-images/staticweb:latest with digest invent-registry.kde.org/sysadmin/ci-images/staticweb at sha256:11503aea2a36cb90501467d03f1bc77f9adaaf06986daf2183198da00fd7168b ...
Preparing environment 00:01
Running on runner-ftcdorear-project-11585-concurrent-0 via node5...
Getting source from Git repository 00:07
Fetching changes with git depth set to 20...
Initialized empty Git repository in /builds/websites/krita-org/.git/
Created fresh repository.
Checking out 40e195d2 as detached HEAD (ref is master)...
Skipping Git submodules setup
Executing "step_script" stage of the job script 00:34
Using docker image sha256:93598c2d55a087c289784cbda49edeafa0e27f10ec0956d6070264bcb278d47a for invent-registry.kde.org/sysadmin/ci-images/staticweb:latest with digest invent-registry.kde.org/sysadmin/ci-images/staticweb at sha256:11503aea2a36cb90501467d03f1bc77f9adaaf06986daf2183198da00fd7168b ...
$ git config --global --add safe.directory $CI_PROJECT_DIR
$ git clone https://invent.kde.org/sysadmin/ci-utilities.git
Cloning into 'ci-utilities'...
$ git clone https://invent.kde.org/sysadmin/ci-notary-service.git
Cloning into 'ci-notary-service'...
$ if [ -f "scripts/custom_generation.py" ]; then # collapsed multi-line command
Cloning into 'hugo-i18n'...
warning: redirecting to https://invent.kde.org/websites/hugo-i18n.git/
Defaulting to user installation because normal site-packages is not writeable
Processing ./hugo-i18n
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Requirement already satisfied: PyYAML in /usr/local/lib/python3.10/dist-packages (from hugoi18n==0.7.2) (6.0.1)
Requirement already satisfied: hugo-gettext>=0.6.0 in /usr/local/lib/python3.10/dist-packages (from hugoi18n==0.7.2) (0.6.0)
Requirement already satisfied: mdit-py-hugo<0.4.0,>=0.3.1 in /usr/local/lib/python3.10/dist-packages (from hugo-gettext>=0.6.0->hugoi18n==0.7.2) (0.3.1)
Requirement already satisfied: tomlkit<0.13.0,>=0.12.1 in /usr/local/lib/python3.10/dist-packages (from hugo-gettext>=0.6.0->hugoi18n==0.7.2) (0.12.5)
Requirement already satisfied: mdit-py-i18n<0.3.0,>=0.2.1 in /usr/local/lib/python3.10/dist-packages (from hugo-gettext>=0.6.0->hugoi18n==0.7.2) (0.2.1)
Requirement already satisfied: markdown-gettext<0.3.0,>=0.2.1 in /usr/local/lib/python3.10/dist-packages (from hugo-gettext>=0.6.0->hugoi18n==0.7.2) (0.2.1)
Requirement already satisfied: polib<2.0.0,>=1.2.0 in /usr/local/lib/python3.10/dist-packages (from markdown-gettext<0.3.0,>=0.2.1->hugo-gettext>=0.6.0->hugoi18n==0.7.2) (1.2.0)
Requirement already satisfied: mdit-py-plugins<0.5.0,>=0.4.0 in /usr/local/lib/python3.10/dist-packages (from mdit-py-hugo<0.4.0,>=0.3.1->hugo-gettext>=0.6.0->hugoi18n==0.7.2) (0.4.1)
Requirement already satisfied: markdown-it-py<4.0.0,>=3.0.0 in /usr/local/lib/python3.10/dist-packages (from mdit-py-hugo<0.4.0,>=0.3.1->hugo-gettext>=0.6.0->hugoi18n==0.7.2) (3.0.0)
Requirement already satisfied: Pygments<3.0.0,>=2.16.1 in /usr/local/lib/python3.10/dist-packages (from mdit-py-i18n<0.3.0,>=0.2.1->hugo-gettext>=0.6.0->hugoi18n==0.7.2) (2.18.0)
Requirement already satisfied: mdurl~=0.1 in /usr/local/lib/python3.10/dist-packages (from markdown-it-py<4.0.0,>=3.0.0->mdit-py-hugo<0.4.0,>=0.3.1->hugo-gettext>=0.6.0->hugoi18n==0.7.2) (0.1.2)
Building wheels for collected packages: hugoi18n
  Building wheel for hugoi18n (pyproject.toml): started
  Building wheel for hugoi18n (pyproject.toml): finished with status 'done'
  Created wheel for hugoi18n: filename=hugoi18n-0.7.2-py3-none-any.whl size=25129 sha256=8d9ae53c1f9e6f9e9a481df47abe5bce5a8bea7fa74d3da803ebe47c42831251
  Stored in directory: /home/user/.cache/pip/wheels/4e/e4/67/d18b89e870abe7c5e57f8c2eabaf07ad0d3259d92bf62f9d25
Successfully built hugoi18n
Installing collected packages: hugoi18n
  WARNING: The script hugoi18n is installed in '/home/user/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed hugoi18n-0.7.2
INFO: locale/ca at valencia/LC_MESSAGES/news.mo doesn't exist or can't be removed
INFO: Created locale/ca at valencia/LC_MESSAGES/news.mo
INFO: locale/ca at valencia/LC_MESSAGES/krita-org.mo doesn't exist or can't be removed
INFO: Created locale/ca at valencia/LC_MESSAGES/krita-org.mo
INFO: locale/ca at valencia/LC_MESSAGES/release_note.mo doesn't exist or can't be removed
INFO: Created locale/ca at valencia/LC_MESSAGES/release_note.mo
INFO: locale/ca at valencia/LC_MESSAGES/pages.mo doesn't exist or can't be removed
INFO: Created locale/ca at valencia/LC_MESSAGES/pages.mo
INFO: Compiled ca at valencia
INFO: locale/eo/LC_MESSAGES/news.mo doesn't exist or can't be removed
INFO: Created locale/eo/LC_MESSAGES/news.mo
INFO: locale/eo/LC_MESSAGES/krita-org.mo doesn't exist or can't be removed
INFO: Created locale/eo/LC_MESSAGES/krita-org.mo
INFO: locale/eo/LC_MESSAGES/pages.mo doesn't exist or can't be removed
INFO: Created locale/eo/LC_MESSAGES/pages.mo
INFO: Compiled eo
INFO: locale/it/LC_MESSAGES/news.mo doesn't exist or can't be removed
INFO: Created locale/it/LC_MESSAGES/news.mo
INFO: locale/it/LC_MESSAGES/krita-org.mo doesn't exist or can't be removed
INFO: Created locale/it/LC_MESSAGES/krita-org.mo
INFO: locale/it/LC_MESSAGES/release_note.mo doesn't exist or can't be removed
INFO: Created locale/it/LC_MESSAGES/release_note.mo
INFO: locale/it/LC_MESSAGES/pages.mo doesn't exist or can't be removed
INFO: Created locale/it/LC_MESSAGES/pages.mo
INFO: Compiled it
INFO: locale/es/LC_MESSAGES/news.mo doesn't exist or can't be removed
INFO: Created locale/es/LC_MESSAGES/news.mo
INFO: locale/es/LC_MESSAGES/krita-org.mo doesn't exist or can't be removed
INFO: Created locale/es/LC_MESSAGES/krita-org.mo
INFO: locale/es/LC_MESSAGES/release_note.mo doesn't exist or can't be removed
INFO: Created locale/es/LC_MESSAGES/release_note.mo
INFO: locale/es/LC_MESSAGES/pages.mo doesn't exist or can't be removed
INFO: Created locale/es/LC_MESSAGES/pages.mo
INFO: Compiled es
INFO: locale/cs/LC_MESSAGES/news.mo doesn't exist or can't be removed
INFO: Created locale/cs/LC_MESSAGES/news.mo
INFO: locale/cs/LC_MESSAGES/krita-org.mo doesn't exist or can't be removed
INFO: Created locale/cs/LC_MESSAGES/krita-org.mo
INFO: locale/cs/LC_MESSAGES/release_note.mo doesn't exist or can't be removed
INFO: Created locale/cs/LC_MESSAGES/release_note.mo
INFO: locale/cs/LC_MESSAGES/pages.mo doesn't exist or can't be removed
INFO: Created locale/cs/LC_MESSAGES/pages.mo
INFO: Compiled cs
INFO: locale/fr/LC_MESSAGES/news.mo doesn't exist or can't be removed
INFO: Created locale/fr/LC_MESSAGES/news.mo
INFO: locale/fr/LC_MESSAGES/krita-org.mo doesn't exist or can't be removed
INFO: Created locale/fr/LC_MESSAGES/krita-org.mo
INFO: locale/fr/LC_MESSAGES/release_note.mo doesn't exist or can't be removed
INFO: Created locale/fr/LC_MESSAGES/release_note.mo
INFO: locale/fr/LC_MESSAGES/pages.mo doesn't exist or can't be removed
INFO: Created locale/fr/LC_MESSAGES/pages.mo
INFO: Compiled fr
INFO: locale/zh_HK/LC_MESSAGES/krita-org.mo doesn't exist or can't be removed
INFO: Created locale/zh_HK/LC_MESSAGES/krita-org.mo
INFO: Compiled zh_HK
INFO: locale/tr/LC_MESSAGES/news.mo doesn't exist or can't be removed
INFO: Created locale/tr/LC_MESSAGES/news.mo
INFO: locale/tr/LC_MESSAGES/krita-org.mo doesn't exist or can't be removed
INFO: Created locale/tr/LC_MESSAGES/krita-org.mo
INFO: locale/tr/LC_MESSAGES/release_note.mo doesn't exist or can't be removed
INFO: Created locale/tr/LC_MESSAGES/release_note.mo
INFO: locale/tr/LC_MESSAGES/pages.mo doesn't exist or can't be removed
INFO: Created locale/tr/LC_MESSAGES/pages.mo
INFO: Compiled tr
INFO: locale/uk/LC_MESSAGES/news.mo doesn't exist or can't be removed
INFO: Created locale/uk/LC_MESSAGES/news.mo
INFO: locale/uk/LC_MESSAGES/krita-org.mo doesn't exist or can't be removed
INFO: Created locale/uk/LC_MESSAGES/krita-org.mo
INFO: locale/uk/LC_MESSAGES/release_note.mo doesn't exist or can't be removed
INFO: Created locale/uk/LC_MESSAGES/release_note.mo
INFO: locale/uk/LC_MESSAGES/pages.mo doesn't exist or can't be removed
INFO: Created locale/uk/LC_MESSAGES/pages.mo
INFO: Compiled uk
INFO: locale/zh_CN/LC_MESSAGES/news.mo doesn't exist or can't be removed
INFO: Created locale/zh_CN/LC_MESSAGES/news.mo
INFO: locale/zh_CN/LC_MESSAGES/krita-org.mo doesn't exist or can't be removed
INFO: Created locale/zh_CN/LC_MESSAGES/krita-org.mo
INFO: locale/zh_CN/LC_MESSAGES/release_note.mo doesn't exist or can't be removed
INFO: Created locale/zh_CN/LC_MESSAGES/release_note.mo
INFO: locale/zh_CN/LC_MESSAGES/pages.mo doesn't exist or can't be removed
INFO: Created locale/zh_CN/LC_MESSAGES/pages.mo
INFO: Compiled zh_CN
INFO: locale/sl/LC_MESSAGES/news.mo doesn't exist or can't be removed
INFO: Created locale/sl/LC_MESSAGES/news.mo
INFO: locale/sl/LC_MESSAGES/krita-org.mo doesn't exist or can't be removed
INFO: Created locale/sl/LC_MESSAGES/krita-org.mo
INFO: locale/sl/LC_MESSAGES/release_note.mo doesn't exist or can't be removed
INFO: Created locale/sl/LC_MESSAGES/release_note.mo
INFO: locale/sl/LC_MESSAGES/pages.mo doesn't exist or can't be removed
INFO: Created locale/sl/LC_MESSAGES/pages.mo
INFO: Compiled sl
INFO: locale/ca/LC_MESSAGES/news.mo doesn't exist or can't be removed
INFO: Created locale/ca/LC_MESSAGES/news.mo
INFO: locale/ca/LC_MESSAGES/krita-org.mo doesn't exist or can't be removed
INFO: Created locale/ca/LC_MESSAGES/krita-org.mo
INFO: locale/ca/LC_MESSAGES/release_note.mo doesn't exist or can't be removed
INFO: Created locale/ca/LC_MESSAGES/release_note.mo
INFO: locale/ca/LC_MESSAGES/pages.mo doesn't exist or can't be removed
INFO: Created locale/ca/LC_MESSAGES/pages.mo
INFO: Compiled ca
INFO: locale/nl/LC_MESSAGES/news.mo doesn't exist or can't be removed
INFO: Created locale/nl/LC_MESSAGES/news.mo
INFO: locale/nl/LC_MESSAGES/krita-org.mo doesn't exist or can't be removed
INFO: Created locale/nl/LC_MESSAGES/krita-org.mo
INFO: locale/nl/LC_MESSAGES/release_note.mo doesn't exist or can't be removed
INFO: Created locale/nl/LC_MESSAGES/release_note.mo
INFO: locale/nl/LC_MESSAGES/pages.mo doesn't exist or can't be removed
INFO: Created locale/nl/LC_MESSAGES/pages.mo
INFO: Compiled nl
INFO: locale/sv/LC_MESSAGES/news.mo doesn't exist or can't be removed
INFO: Created locale/sv/LC_MESSAGES/news.mo
INFO: locale/sv/LC_MESSAGES/krita-org.mo doesn't exist or can't be removed
INFO: Created locale/sv/LC_MESSAGES/krita-org.mo
INFO: locale/sv/LC_MESSAGES/release_note.mo doesn't exist or can't be removed
INFO: Created locale/sv/LC_MESSAGES/release_note.mo
INFO: locale/sv/LC_MESSAGES/pages.mo doesn't exist or can't be removed
INFO: Created locale/sv/LC_MESSAGES/pages.mo
INFO: Compiled sv
INFO: locale/ja/LC_MESSAGES/news.mo doesn't exist or can't be removed
INFO: Created locale/ja/LC_MESSAGES/news.mo
INFO: locale/ja/LC_MESSAGES/krita-org.mo doesn't exist or can't be removed
INFO: Created locale/ja/LC_MESSAGES/krita-org.mo
INFO: locale/ja/LC_MESSAGES/release_note.mo doesn't exist or can't be removed
INFO: Created locale/ja/LC_MESSAGES/release_note.mo
INFO: locale/ja/LC_MESSAGES/pages.mo doesn't exist or can't be removed
INFO: Created locale/ja/LC_MESSAGES/pages.mo
INFO: Compiled ja
INFO: locale/eu/LC_MESSAGES/news.mo doesn't exist or can't be removed
INFO: Created locale/eu/LC_MESSAGES/news.mo
INFO: locale/eu/LC_MESSAGES/krita-org.mo doesn't exist or can't be removed
INFO: Created locale/eu/LC_MESSAGES/krita-org.mo
INFO: locale/eu/LC_MESSAGES/release_note.mo doesn't exist or can't be removed
INFO: Created locale/eu/LC_MESSAGES/release_note.mo
INFO: locale/eu/LC_MESSAGES/pages.mo doesn't exist or can't be removed
INFO: Created locale/eu/LC_MESSAGES/pages.mo
INFO: Compiled eu
INFO: locale/zh_TW/LC_MESSAGES/news.mo doesn't exist or can't be removed
INFO: Created locale/zh_TW/LC_MESSAGES/news.mo
INFO: locale/zh_TW/LC_MESSAGES/krita-org.mo doesn't exist or can't be removed
INFO: Created locale/zh_TW/LC_MESSAGES/krita-org.mo
INFO: locale/zh_TW/LC_MESSAGES/release_note.mo doesn't exist or can't be removed
INFO: Created locale/zh_TW/LC_MESSAGES/release_note.mo
INFO: locale/zh_TW/LC_MESSAGES/pages.mo doesn't exist or can't be removed
INFO: Created locale/zh_TW/LC_MESSAGES/pages.mo
INFO: Compiled zh_TW
INFO: locale/ko/LC_MESSAGES/krita-org.mo doesn't exist or can't be removed
INFO: Created locale/ko/LC_MESSAGES/krita-org.mo
INFO: Compiled ko
INFO: locale/de/LC_MESSAGES/news.mo doesn't exist or can't be removed
INFO: Created locale/de/LC_MESSAGES/news.mo
INFO: locale/de/LC_MESSAGES/krita-org.mo doesn't exist or can't be removed
INFO: Created locale/de/LC_MESSAGES/krita-org.mo
INFO: locale/de/LC_MESSAGES/release_note.mo doesn't exist or can't be removed
INFO: Created locale/de/LC_MESSAGES/release_note.mo
INFO: locale/de/LC_MESSAGES/pages.mo doesn't exist or can't be removed
INFO: Created locale/de/LC_MESSAGES/pages.mo
INFO: Compiled de
INFO: locale/sk/LC_MESSAGES/news.mo doesn't exist or can't be removed
INFO: Created locale/sk/LC_MESSAGES/news.mo
INFO: locale/sk/LC_MESSAGES/krita-org.mo doesn't exist or can't be removed
INFO: Created locale/sk/LC_MESSAGES/krita-org.mo
INFO: locale/sk/LC_MESSAGES/release_note.mo doesn't exist or can't be removed
INFO: Created locale/sk/LC_MESSAGES/release_note.mo
INFO: locale/sk/LC_MESSAGES/pages.mo doesn't exist or can't be removed
INFO: Created locale/sk/LC_MESSAGES/pages.mo
INFO: Compiled sk
INFO: locale/lt/LC_MESSAGES/news.mo doesn't exist or can't be removed
INFO: Created locale/lt/LC_MESSAGES/news.mo
INFO: locale/lt/LC_MESSAGES/krita-org.mo doesn't exist or can't be removed
INFO: Created locale/lt/LC_MESSAGES/krita-org.mo
INFO: locale/lt/LC_MESSAGES/release_note.mo doesn't exist or can't be removed
INFO: Created locale/lt/LC_MESSAGES/release_note.mo
INFO: locale/lt/LC_MESSAGES/pages.mo doesn't exist or can't be removed
INFO: Created locale/lt/LC_MESSAGES/pages.mo
INFO: Compiled lt
INFO: locale/pt/LC_MESSAGES/news.mo doesn't exist or can't be removed
INFO: Created locale/pt/LC_MESSAGES/news.mo
INFO: locale/pt/LC_MESSAGES/krita-org.mo doesn't exist or can't be removed
INFO: Created locale/pt/LC_MESSAGES/krita-org.mo
INFO: locale/pt/LC_MESSAGES/release_note.mo doesn't exist or can't be removed
INFO: Created locale/pt/LC_MESSAGES/release_note.mo
INFO: locale/pt/LC_MESSAGES/pages.mo doesn't exist or can't be removed
INFO: Created locale/pt/LC_MESSAGES/pages.mo
INFO: Compiled pt
INFO: ca-va [55/56]
INFO: i18n/ca-va.yaml
INFO: eo [50/56]
INFO: i18n/eo.yaml
INFO: it [49/56]
INFO: i18n/it.yaml
INFO: es [33/56]
INFO: i18n/es.yaml
INFO: cs [23/56]
INFO: i18n/cs.yaml
INFO: fr [54/56]
INFO: i18n/fr.yaml
INFO: zh-hk [5/56]
INFO: i18n/zh-hk.yaml
INFO: tr [55/56]
INFO: i18n/tr.yaml
INFO: uk [55/56]
INFO: i18n/uk.yaml
INFO: zh-cn [55/56]
INFO: i18n/zh-cn.yaml
INFO: sl [55/56]
INFO: i18n/sl.yaml
INFO: ca [55/56]
INFO: i18n/ca.yaml
INFO: nl [55/56]
INFO: i18n/nl.yaml
INFO: sv [47/56]
INFO: i18n/sv.yaml
INFO: ja [28/56]
INFO: i18n/ja.yaml
INFO: eu [11/56]
INFO: zh-tw [24/56]
INFO: i18n/zh-tw.yaml
INFO: ko [5/56]
INFO: i18n/ko.yaml
INFO: de [5/56]
INFO: sk [13/56]
INFO: lt [5/56]
INFO: pt-pt [29/56]
INFO: i18n/pt-pt.yaml
$ hugo mod npm pack
hugo: downloading modules …
hugo: collected modules in 11939 ms
$ npm install
added 102 packages, and audited 103 packages in 4s
15 packages are looking for funding
  run `npm fund` for details
2 moderate severity vulnerabilities
To address all issues (including breaking changes), run:
  npm audit fix --force
Run `npm audit` for details.
$ echo "Running Hugo with:" $HUGO_ADDITIONAL_ARGS
Running Hugo with:
$ hugo --minify $HUGO_ADDITIONAL_ARGS
Start building sites … 
hugo v0.110.0-e32a493b7826d02763c3b79623952e625402b168+extended linux/amd64 BuildDate=2023-01-17T12:16:09Z VendorInfo=gohugoio
ERROR 2024/06/28 02:43:49 [sv] REF_NOT_FOUND: Ref "/posts/2024/2024-roadmap": "/builds/websites/krita-org/content/sv/posts/2024/monthly-update-14.md:10:125": page not found
Total in 6642 ms
Error: Error building site: logged 1 error(s)
Cleaning up project directory and file based variables 00:00
ERROR: Job failed: exit code 1




More information about the kimageshop mailing list