Weblate: Error server in discharging the zip files for offline translation

Hi All

I get the following error when trying in discharging the zipped files for UI
and Help (sorry for the Italian version):

--start--
Errore del server

Il server ha avuto seri problemi mentre eseguiva la richiesta. Stiamo
istruendo le nostre scimmie ammaestrate per risolvere il problema.
--end--

Does anyone experience the same problem?

Ciao

In data mercoledì 16 dicembre 2020 12:00:38 CET, Valter Mura ha scritto:

Hi All

I get the following error when trying in discharging the zipped files for UI
and Help (sorry for the Italian version):

--start--
Errore del server

Il server ha avuto seri problemi mentre eseguiva la richiesta. Stiamo
istruendo le nostre scimmie ammaestrate per risolvere il problema.
--end--

BTW, the error occurs only for the UI zip file.

Hi Valter,

In data mercoledì 16 dicembre 2020 12:00:38 CET, Valter Mura ha scritto:

Hi All

I get the following error when trying in discharging the zipped files for UI
and Help (sorry for the Italian version):

--start--
Errore del server

Il server ha avuto seri problemi mentre eseguiva la richiesta. Stiamo
istruendo le nostre scimmie ammaestrate per risolvere il problema.
--end--

BTW, the error occurs only for the UI zip file.

Just tried and get the same error, I'll inform our infra team.
Cheers
Sophie

Hi Valter, *,

In data mercoledì 16 dicembre 2020 12:00:38 CET, Valter Mura ha scritto:
> Hi All
>
> I get the following error when trying in discharging the zipped files for UI
> and Help (sorry for the Italian version):
[…]
BTW, the error occurs only for the UI zip file.

even more specifically: only for master UI

> Does anyone experience the same problem?

Yep, would have been a problem for everyone - cause was removal of
two pot files (dictionaries/es.pot and dictionaries/pt_PT.pot) - those
were removed from the templates, but the files were not removed from
the translations, but zip-export doesn't like that, and expects the
pot to be present/fails otherwise.

Solution was simple: I also removed the two files from the translations.
(note however that the removal of strings likely is an accident, and
that they'll reappear again - the source files had their language
changed from "en-US" to just "en" and that caused the
string-extraction to skip them.

see https://gerrit.libreoffice.org/c/dictionaries/+/102979 and
https://gerrit.libreoffice.org/c/dictionaries/+/104998

ciao
Christian

In data mercoledì 16 dicembre 2020 12:49:08 CET, Christian Lohmaier ha
scritto:

Hi Valter, *,

> In data mercoledì 16 dicembre 2020 12:00:38 CET, Valter Mura ha scritto:
> > Hi All
> >
> > I get the following error when trying in discharging the zipped files
> > for UI>
> > and Help (sorry for the Italian version):
> […]
> BTW, the error occurs only for the UI zip file.

even more specifically: only for master UI

> > Does anyone experience the same problem?

Yep, would have been a problem for everyone - cause was removal of
two pot files (dictionaries/es.pot and dictionaries/pt_PT.pot) - those
were removed from the templates, but the files were not removed from
the translations, but zip-export doesn't like that, and expects the
pot to be present/fails otherwise.

Solution was simple: I also removed the two files from the translations.
(note however that the removal of strings likely is an accident, and
that they'll reappear again - the source files had their language
changed from "en-US" to just "en" and that caused the
string-extraction to skip them.

see https://gerrit.libreoffice.org/c/dictionaries/+/102979 and
https://gerrit.libreoffice.org/c/dictionaries/+/104998

Thank you Christian, now everything is ok

Ciao