Re: [Tails-dev] language_statistics.sh script broken?

Poista viesti

Vastaa
Lähettäjä: Muri Nicanor
Päiväys:  
Vastaanottaja: tails-dev
Aihe: Re: [Tails-dev] language_statistics.sh script broken?
Hi Cyril and list,

On 12/10/2017 07:42 PM, Cyril Brulebois wrote:
> This script seems to rely on ./refresh-translations, which used to leave
> files under tmp/pot. Starting with the commit below, files are cleaned
> up in every situation, including clean exit; this explains why attempts
> with recent dates fail, while going back earlier in time makes this
> succeed again.
>
> | commit d199d512d5cf64782a159176cf99412d332d40ac
> | Author: anonym <anonym@???>
> | Date:   Thu Sep 7 18:58:48 2017 +0200
> | 
> |     Do some clean up.
> |     
> |     If the script fails at various points, these files would linger.

>
> If you want to get a one-time report, commenting out this line seems
> sufficient:
> | trap "rm -fr tmp/pot po/*.new po/*.orig" EXIT


thanks! if i comment out the line the script works with the current
commit, but if i go back to --before="December 1" (8d60cc4596) in only
get the first part of the output of the script (## All the website) but
for the core pages it breaks with:
> msgcat: error while opening

"wiki/src/./misc/unsafe_browser_warning.de.po" for reading: No such file
or directory

cheers,
muri