Knut Petersen <knut_peter...@t-online.de> writes: > On 27.07.19 07:56, David Kastrup wrote: >> >>> What happened to the musicxml2ly patch? It vanished from staging. >>> Shall I push it again? >> It didn't pass patchy testing on my computer with failures in the >> musicxml files. So it appears to have a problem with, uh, Python >> 2.7.16+ (according to python --version on my current Ubuntu). If you >> need more pointers, I can try getting useful logs. > > > Yes, that would be very helpful. Before announcing that I thought that > the patch was ready it passed a full GUB build on my system and the > code processed all musicxml from the lilypond sources correctly with > both the GUB-generated python 2.4.5 and the system's (opensuse > tumbleweed) python 2.7.16. > > The relevant log file and the *.ly files generated from the xml > sources would be of interest.
Converting MusicXML file `74a-FiguredBass.xml'... Converting MusicXML file `75a-AccordionRegistrations.xml'... Converting MusicXML file `90a-Compressed-MusicXML.mxl'... Converting MusicXML file `99a-Sibelius5-IgnoreBeaming.xml'... Converting MusicXML file `99b-Lyrics-BeamsMelismata-IgnoreBeams.xml'... Writing snippets... Processing... Processing /usr/local/tmp/lilypond/out/lybook-testdb/snippet-names-9124213700985165589.ly command failed: /usr/local/tmp/lilypond/out/bin/lilypond \ -I . -dbackend=eps --formats=ps -dseparate-log-files -dinclude-eps-fonts -dgs-load-fonts --header=texidoc -I /usr/local/tmp/lilypond/Documentation/included/ -ddump-profile -dcheck-internal-types -ddump-signatures -danti-alias-factor=1 -dfont-export-dir=/usr/local/tmp/lilypond/out-fonts -O TeX-GS -I "./" -I "/usr/local/tmp/lilypond/input/regression/musicxml" -I "/usr/local/tmp/lilypond/input/regression/musicxml" --formats=eps -deps-box-padding=3.000000 -dread-file-list -dno-strip-output-dir "/usr/local/tmp/lilypond/out/lybook-testdb/snippet-names-9124213700985165589.ly" Child returned 1 Error ignored by lilylib Error trapped by lilypond-book Please see /usr/local/tmp/lilypond/out/lybook-testdb/snippet-names-9124213700985165589.log make[2]: *** [../../../make/ly-rules.make:42: out-test/collated-files.texi] Error 1 make[2]: Leaving directory '/usr/local/tmp/lilypond/input/regression/musicxml' make[1]: *** [../../../make/lysdoc-targets.make:14: local-test] Error 2 make[1]: Leaving directory '/usr/local/tmp/lilypond/input/regression/musicxml' make: *** [GNUmakefile:314: test] Error 2 dak@lola:/usr/local/tmp/lilypond$ grep sourcefilename `grep -L systems.texi out/lybook-testdb/*/*log|sed s/log/ly/g` out/lybook-testdb/02/lily-9590f87a.ly:\sourcefilename "46g-PickupMeasure-Chordnames-FiguredBass.xml" out/lybook-testdb/bf/lily-5968767c.ly:\sourcefilename "71f-AllChordTypes.xml" out/lybook-testdb/cf/lily-aefcd7fa.ly:\sourcefilename "71d-ChordsFrets-Multistaff.xml" out/lybook-testdb/d1/lily-4604f705.ly:\sourcefilename "71g-MultipleChordnames.xml" out/lybook-testdb/e9/lily-5da7485a.ly:\sourcefilename "71a-Chordnames.xml" out/lybook-testdb/f7/lily-4ea110e1.ly:\sourcefilename "71c-ChordsFrets.xml"
%% Generated by lilypond-book.py %% Options: [exampleindent=10.16\mm,indent=0\mm,line-width=160\mm] \include "lilypond-book-preamble.ly" % **************************************************************** % Start cut-&-pastable-section % **************************************************************** \paper { indent = 0\mm line-width = 160\mm % offset the left padding, also add 1mm as lilypond creates cropped % images with a little space on the right line-width = #(- line-width (* mm 3.000000) (* mm 1)) } \layout { } % **************************************************************** % ly snippet: % **************************************************************** \sourcefilename "46g-PickupMeasure-Chordnames-FiguredBass.xml" \sourcefileline 0 \version "2.21.0" % automatically converted by musicxml2ly from - \pointAndClickOff \header { texidoc = "Pickup measure with chord names and figured bass." } \layout { \context { \Score autoBeaming = ##f } } PartPOneVoiceOne = \relative c'' { \key c \major \numericTimeSignature\time 4/4 \partial 4 c8 c8 | % 1 c,4 c4 c4 c4 } PartPOneVoiceOneChords = \chordmode { \partial 4 :5 s8 | % 1 :5 s4 s4 } PartPOneVoiceOneFiguredBass = \figuremode { \partial 4 <3>8 s8 | % 1 <3>8 s8 s4 s4 } % The score definition \score { << \context ChordNames = "PartPOneVoiceOneChords" { \PartPOneVoiceOneChords} \new Staff << \context Staff << \mergeDifferentlyDottedOn\mergeDifferentlyHeadedOn \context Voice = "PartPOneVoiceOne" { \PartPOneVoiceOne } \context FiguredBass = "PartPOneVoiceOneFiguredBass" \PartPOneVoiceOneFiguredBass >> >> >> \layout {} % To create MIDI output, uncomment the following line: % \midi {\tempo 4 = 100 } } % **************************************************************** % end ly snippet % ****************************************************************
dak@lola:/usr/local/tmp/lilypond$ out/bin/lilypond out/lybook-testdb/02/lily-9590f87a.ly GNU LilyPond 2.21.0 Processing `out/lybook-testdb/02/lily-9590f87a.ly' Parsing... Renaming input to: `46g-PickupMeasure-Chordnames-FiguredBass.xml' 46g-PickupMeasure-Chordnames-FiguredBass.xml:21:16: error: syntax error, unexpected : \partial 4 :5 s8 | % 1 46g-PickupMeasure-Chordnames-FiguredBass.xml:21:17: error: not a duration \partial 4 : 5 s8 | % 1 46g-PickupMeasure-Chordnames-FiguredBass.xml:22:5: error: syntax error, unexpected : :5 s4 s4 } 46g-PickupMeasure-Chordnames-FiguredBass.xml:22:6: error: not a duration : 5 s4 s4 } 46g-PickupMeasure-Chordnames-FiguredBass.xml:31:5: error: errors found, ignoring music expression << fatal error: failed files: "out/lybook-testdb/02/lily-9590f87a.ly" dak@lola:/usr/local/tmp/lilypond$ > What distribution do you use? Please your /etc/os-release. NAME="Ubuntu" VERSION="19.10 (Eoan Ermine)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu Eoan Ermine (development branch)" VERSION_ID="19.10" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=eoan UBUNTU_CODENAME=eoan dak@lola:/usr/local/tmp/lilypond$ dpkg -S /usr/bin/python python-minimal: /usr/bin/python dak@lola:/usr/local/tmp/lilypond$ dpkg -l python-minimal Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==============-============-============-====================================== ii python-minimal 2.7.16-1 amd64 minimal subset of the Python2 language -- David Kastrup
_______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel