Jonas Hahnfeld <hah...@hahnjo.de> writes: > Am Montag, den 02.03.2020, 19:53 +0100 schrieb David Kastrup: >> I am currently trying to merge translations and master. make test gives >> me >> >> [...] >> Making input/regression/lilypond-book/out-test/html-musicxml-file.html < >> htmly >> langdefs.py: warning: lilypond-doc gettext domain not found. >> lilypond-book.py: error: `musicxml2ly --out=- - ' failed (0) >> lilypond-book.py: error: The error log is as follows: >> musicxml2ly: Reading MusicXML from Standard input ... >> Traceback (most recent call last): >> File "/usr/local/tmp/lilypond/scripts/out/musicxml2ly", line 3288, in >> <module> >> main() >> File "/usr/local/tmp/lilypond/scripts/out/musicxml2ly", line 3282, in main >> voices = convert(filename, options) >> File "/usr/local/tmp/lilypond/scripts/out/musicxml2ly", line 3144, in >> convert >> score_information = extract_score_information(tree) >> File "/usr/local/tmp/lilypond/scripts/out/musicxml2ly", line 263, in >> extract_score_information >> set_if_exists('texidoc', ids.get_file_description()); >> File "/usr/local/tmp/lilypond/scripts/out/musicxml2ly", line 225, in >> set_if_exists >> header.set_field(field, utilities.escape_ly_output_string(value)) >> File "/usr/local/tmp/lilypond/scripts/out/../../python/out/utilities.py", >> line 19, in escape_ly_output_string >> needs_quotes = not re.match ("^[a-zA-ZäöüÜÄÖßñ]*$", return_string); >> File "/usr/lib/python3.7/re.py", line 173, in match >> return _compile(pattern, flags).match(string) >> TypeError: cannot use a string pattern on a bytes-like object >> Making out-test/xref-maps/suffix-texinfo.xref-map < texi >> Making input/regression/lilypond-book/out-test/suffix-texinfo.html < texi >> Making input/regression/lilypond-book/out-test/tex-musicxml-file-options.tex >> < lytex >> Making input/regression/lilypond-book/out-test/tex-musicxml-file-options.pdf >> < tex >> >> Please check the logfile >> >> >> /usr/local/tmp/lilypond/input/regression/lilypond-book/out-test/tex-musicxml-file-options.pdflatex.log >> >> for errors >> >> make[2]: *** [../../../make/lilypond-book-rules.make:38: >> out-test/tex-musicxml-file-options.pdf] Error 1 >> make[1]: *** [GNUmakefile:22: local-test] Error 2 >> make: *** [GNUmakefile:333: test] Error 2 >> >> >> I think we had something like this fixed in master previously. Any idea >> what I might be missing here? > > Looks like you've found yet another code path that I didn't trigger > with the transition to Python 3 and is not run by 'make test' on > current master 😕 There's likely a decode / encode missing or to b > e removed. Could you share a WIP branch that I could take a look at?
dev/translation-merge Fails at make test (at least on my system). -- David Kastrup