#1098 Build and test Dockerfile pipeline broken : No module named langtable
Closed: Fixed 2 years ago by darknao. Opened 2 years ago by t0xic0der.

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 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?


Metadata Update from @t0xic0der:
- Issue assigned to lilyx

2 years ago

Sorry about that, I forgot to update the Dockerfile with this new requirement.
This change was part of #1081

I've updated the dockerfile so you should be able to test build the websites.

Metadata Update from @darknao:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.

Metadata