Feature #10034: Translation web platform
Handle files without extensions in Weblate
Here we go - another round of changes for translations-server.
For some days, the cron job fails with:
Traceback (most recent call last): File "/var/lib/weblate/scripts/update-weblate-components.py", line 115, in <module> uwg.main(PATH, 'master', None, 'tails/master') File "/var/lib/weblate/scripts/update_weblate_git.py", line 392, in main if getLang(path) == DEFAULTLANG: File "/var/lib/weblate/scripts/update_weblate_git.py", line 56, in getLang *name, lang, _ = path.name.split(".") ValueError: not enough values to unpack (expected at least 2, got 1)
I fixed that issue at
hefee/dev/translation-server branch with
5abd5df9dcb1100e55841dcbfff6b7f42efb5a29 and added some more cleanups to that branch.
Please merge my changes.
#3 Updated by groente about 1 year ago
- Status changed from Confirmed to Resolved
- % Done changed from 0 to 100
- QA Check changed from Ready for QA to Pass
@groente: ping - any ETA when you will able to care about merging this? I just want to plan, when I can start looking into translation-server again.
sorry about the delay, merged & deployed now!