Feature #16449
Handle files without extensions in Weblate
100%
Description
Here we go - another round of changes for translations-server.
For some days, the cron job fails with:
<code class="text">
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)
</code>
I fixed that issue at hefee/dev/translation-server
branch with 5abd5df9dcb1100e55841dcbfff6b7f42efb5a29
and added some more cleanups to that branch.
Please merge my changes.
Subtasks
History
#1 Updated by intrigeri 2019-02-08 18:18:20
- Subject changed from Handle files without extensions to Handle files without extensions in Weblate
(The “Subject” field is a shared namespace. Let’s use a bit more specific subjects that make sense out of context :)
#2 Updated by hefee 2019-02-17 14:51:55
@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.
#3 Updated by groente 2019-02-21 20:52:39
- Status changed from Confirmed to Resolved
- % Done changed from 0 to 100
- QA Check changed from Ready for QA to Pass
hefee wrote:
> @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!
#4 Updated by intrigeri 2019-06-27 17:17:05
- Assignee deleted (
groente)