[fedora-websites] Issue #1098: Build and test Dockerfile pipeline broken : No module named langtable
by Akashdeep Dhar
t0xic0der reported a new issue against the project: `fedora-websites` that you are following:
``
I had a call with @lilyx this morning to help with the pipeline for building/testing websites when I came across this issue. When we're trying to build the websites (let's say for example `alt.fedoraproject.org`), the website fails to build with the following log.
```
bash-5.0# make es testfg
Makefile:3: target 'en' given more than once in the same rule
python2.7 /root/alt.fedoraproject.org/../build.d/build.py -o out -s static -b /
msgfmt -o po/es.mo po/es.po
python2.7 /root/alt.fedoraproject.org/../build.d/construct-translations.py /root/alt.fedoraproject.org/../build.d/translations.ini po/LINGUAS data/templates/translations.html
Traceback (most recent call last):
File "/root/alt.fedoraproject.org/../build.d/construct-translations.py", line 4, in <module>
import langtable
ImportError: No module named langtable
make: *** [../Makefile.in:51: data/templates/translations.html] Error 1
```
Changes made at [this commit](https://pagure.io/fedora-websites/c/61ddcd4f1e1dcd3cc374799cbc3d45cc30d1def0?branch=master) most likely require `langtable` to be added as one of the dependencies to the `Dockerfile` and `README.md`.
@darknao, could you please provide us with more context on this?
``
To reply, visit the link below or just reply to this email
https://pagure.io/fedora-websites/issue/1098
2 years, 8 months
[fedora-websites] Issue #1092: Chinese Translation of websites disappeared
by Charles Lee
lchh reported a new issue against the project: `fedora-websites` that you are following:
``
<!--
NOTE!!!
For issues with getfedora.org or any pages thereof, DO NOT FILE THE ISSUE HERE!
Instead, file the issue at this tracker: https://pagure.io/fedora-web/websites/
For issues with the other sites (spins.fp.o, alt.fp.o, arm.fp.o, etc.), you may
file the issue here (below, or after deleting, this comment).
-->
Both Simplified Chinese and Traditional Chinese translation of fedora websites disappeared. (See picture for instance). However, the translations have updated recently in the [translation repository](https://pagure.io/fedora-web/translations).
<!!image>
I have noticed that the Simplified Chinese translation is stored in the file named with language code `zh_Hans_CN` in [translation repository](https://pagure.io/fedora-web/translations). But in this repository, the Simplified Chinese is represented as language code `zh_CN`. I guess the inconsistency the language code between two repositories might be the reason for the problem.
``
To reply, visit the link below or just reply to this email
https://pagure.io/fedora-websites/issue/1092
2 years, 8 months