[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Does the following Python error in the musicxml tests ring a bell?
From: |
David Kastrup |
Subject: |
Does the following Python error in the musicxml tests ring a bell? |
Date: |
Mon, 02 Mar 2020 19:53:11 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
I am currently trying to merge translations and master. make test gives
me
Dissecting...
All snippets are up to date...
Linking files...
Compiling
/usr/local/tmp/lilypond/input/regression/midi/out-test/collated-files.texi...
Writing
`/usr/local/tmp/lilypond/input/regression/midi/out-test/collated-files.texi'...
Making out-test/xref-maps/collated-files.xref-map < texi
Making input/regression/midi/out-test/collated-files.html < texi
Making input/regression/musicxml/out-test/collated-files.texi < tely
langdefs.py: warning: lilypond-doc gettext domain not found.
lilypond-book.py (GNU LilyPond) 2.21.0
Reading out-test/collated-files.tely...
Running texi2pdf on file /tmp/tmpn2kovsp4.texi to detect default page settings.
Dissecting...
Converting MusicXML file `01a-Pitches-Pitches.xml'...
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 230, in
extract_score_information
set_if_exists('title', movement_title.get_text())
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 input/regression/musicxml/out-test/collated-files.html < texi
Making input/regression/abc2ly/out-test/collated-files.list < 5 files
Making input/regression/abc2ly/out-test/collated-files.tely
Making input/regression/abc2ly/out-test/collated-files.texi < tely
langdefs.py: warning: lilypond-doc gettext domain not found.
lilypond-book.py (GNU LilyPond) 2.21.0
Reading out-test/collated-files.tely...
Running texi2pdf on file /tmp/tmp8pfaev2e.texi to detect default page settings.
Dissecting...
Writing snippets...
Processing...
Processing
/usr/local/tmp/lilypond/out/lybook-testdb/snippet-names-b53926dca385e98934494c04397097be.ly
Linking files...
Compiling
/usr/local/tmp/lilypond/input/regression/abc2ly/out-test/collated-files.texi...
Writing
`/usr/local/tmp/lilypond/input/regression/abc2ly/out-test/collated-files.texi'...
Making out-test/xref-maps/collated-files.xref-map < texi
Making input/regression/abc2ly/out-test/collated-files.html < texi
make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make
rule.
Making
input/regression/lilypond-book/out-test/html-musicxml-file-compressed.html <
htmly
langdefs.py: warning: lilypond-doc gettext domain not found.
lilypond-book.py: error: `musicxml2ly --language=deutsch --absolute
--no-beaming --compressed --out=- - ' failed (0)
lilypond-book.py: error: The error log is as follows:
musicxml2ly: Reading MusicXML from Standard input ...
musicxml2ly: Input is compressed, extracting raw MusicXML data from stdin
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 230, in
extract_score_information
set_if_exists('title', movement_title.get_text())
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 input/regression/lilypond-book/out-test/html-musicxml-file-options.html
< htmly
langdefs.py: warning: lilypond-doc gettext domain not found.
lilypond-book.py: error: `musicxml2ly --language=deutsch --absolute
--no-beaming --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 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?
--
David Kastrup
- Does the following Python error in the musicxml tests ring a bell?,
David Kastrup <=
- Re: Does the following Python error in the musicxml tests ring a bell?, Jonas Hahnfeld, 2020/03/02
- Re: Does the following Python error in the musicxml tests ring a bell?, David Kastrup, 2020/03/02
- Re: Does the following Python error in the musicxml tests ring a bell?, Jonas Hahnfeld, 2020/03/02
- Re: Does the following Python error in the musicxml tests ring a bell?, David Kastrup, 2020/03/02
- Re: Does the following Python error in the musicxml tests ring a bell?, Jonas Hahnfeld, 2020/03/03
- Re: Does the following Python error in the musicxml tests ring a bell?, David Kastrup, 2020/03/03
- Re: Does the following Python error in the musicxml tests ring a bell?, Jonas Hahnfeld, 2020/03/03
- Re: Does the following Python error in the musicxml tests ring a bell?, David Kastrup, 2020/03/03
- Re: Does the following Python error in the musicxml tests ring a bell?, David Kastrup, 2020/03/03
- Re: Does the following Python error in the musicxml tests ring a bell?, Jonas Hahnfeld, 2020/03/03