lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

check_translation crashes


From: Jean-Charles Malahieude
Subject: check_translation crashes
Date: Sat, 7 Mar 2020 11:27:35 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0

Hi all,

As I'm done with the French translations for 2.20, I'd like to now take care of 2.21 but… my workflow is now broken and I'm not able to diagnose what's wrong. The only change in the body of check_translation.py since 2009 has been introduced with issue 5646. A "python --version" gives 3.7.6.

Here is the output on the transalation-staging branch (reflecting stable/2.20):

-*- mode: compilation; default-directory: "~/GIT/Doc-Stable/Documentation/" -*-
Compilation started at Sat Mar  7 10:48:28

make ISOLANG=fr NO_COLOR=1 check-translation > ../../chktrans
langdefs.py: warning: lilypond-doc gettext domain not found.

Compilation finished at Sat Mar  7 10:48:30


And on translation (reflecting master):

-*- mode: compilation; default-directory: "~/GIT/Traduc/Documentation" -*-
Compilation started at Sat Mar  7 10:14:19

make ISOLANG=fr NO_COLOR=1 check-translation > ../../chktrans
Traceback (most recent call last):
File "/home/jcharles/GIT/Traduc/scripts/auxiliar/check_translation.py", line 168, in <module>
    main ()
File "/home/jcharles/GIT/Traduc/scripts/auxiliar/check_translation.py", line 165, in main
    do_file (i, list(langdefs.LANGDICT.keys ()))
File "/home/jcharles/GIT/Traduc/scripts/auxiliar/check_translation.py", line 96, in do_file
    sys.stdout.write (diff_string)
TypeError: write() argument must be str, not bytes
make: *** [GNUmakefile:393: check-translation] Error 1

Compilation exited abnormally with code 2 at Sat Mar  7 10:14:19

Any help in resolving this will be really mostly appreciated.

Cheers,
--
Jean-Charles



reply via email to

[Prev in Thread] Current Thread [Next in Thread]