| Summary: | lilypond enable to output pdf file | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | bruno pinçon <bruno.pincon> |
| Component: | RPM Packages | Assignee: | QA Team <qa-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | andrewsfarm, briankimerer, bruno, fri, sysadmin-bugs |
| Version: | 9 | Keywords: | advisory, validated_update |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | https://bugs.gentoo.org/920817 | ||
| Whiteboard: | MGA9-64-OK | ||
| Source RPM: | CVE: | ||
| Status comment: | |||
| Attachments: | TogoHT.ly is a lilypond file which raises an error when output a pdf file | ||
|
Description
bruno pinçon
2024-05-26 15:30:41 CEST
Thank you for reporting, and providing link to a fix :) Assigning to registered maintainer, with alternate mail in CC. CC:
(none) =>
bruno, fri I can't really reproduce that (just tried on a random score I had handy):
$ lilypond imperayritz.ly
GNU LilyPond 2.24.2 (exécution de Guile 2.2)
Traitement de « imperayritz.ly »
Analyse...
imperayritz.ly:116:53: Avertissement : abandonné : absence du « . » dans le chemin à la propriété Score.RemoveEmptyVerticalGroup.remove-first
\override Score.RemoveEmptyVerticalGroup
#'remove-first = ##t
Interprétation en cours de la musique...
imperayritz.ly:116:12: Avertissement : « RemoveEmptyVerticalGroup » n'est pas un nom d'objet graphique (grob)
\override Score.RemoveEmptyVerticalGroup #'remove-first = ##t
Avertissement : vérification du type de propriété pour « instrument » (translation-type?) non trouvée Probable faute de frappe
Avertissement : affectation ignorée
Avertissement : vérification du type de propriété pour « instrument » (translation-type?) non trouvée Probable faute de frappe
Avertissement : affectation ignorée
[8][16][24][32]
Pré-traitement des éléments graphiques...
Détermination du nombre optimal de pages...
Répartition de la musique sur une page...
Dessin des systèmes...
Conversion à « imperayritz.pdf »...
Compilation menée à son terme, avec succès.
$ ls -altr imperayritz.pdf
-rw-r--r-- 1 bruno users 192301 mai 27 09:59 imperayritz.pdf
I've produced multiple scores since I updated to mageia 9 without issue.
The Gentoo bug report is on 2.24.0 so may be linked to something else as well.
Can you provide a .ly file which is not working for you so I can see whether i can reproduce or not.Status:
NEW =>
ASSIGNED Thank you for assigning, Bruno. I am confused whether it is you who are assigned; I went by http://90.7.108.76/show?distribution=cauldron&architecture=x86_64&graphical=0&rpm=lilypond which say bcornec, but for mga9 it say daviddavid, but $ mgarepo maintdb get lilypond akien Papoteur answered on qa-list that madb use name of last packager submitting. Created attachment 14553 [details]
TogoHT.ly is a lilypond file which raises an error when output a pdf file
Here is the output (and after the output when I precise to output a postscript file) :
lilypond TogoHT.ly
GNU LilyPond 2.24.2 (exécution de Guile 2.2)
Traitement de « TogoHT.ly »
Analyse...
Interprétation en cours de la musique...[8]
Pré-traitement des éléments graphiques...
Détermination du nombre optimal de pages...
Répartition de la musique sur une page...
Dessin des systèmes...
Conversion à « TogoHT.pdf »...
Avertissement : « (gs -q -dNODISPLAY -dNOSAFER -dNOPAUSE -dBATCH -dAutoRotatePages=/None -dPrinted=false /tmp/lilypond-tmp-4659379) » a échoué (256)
/usr/share/lilypond/2.24.2/ly/init.ly:65:2: Erreur : Guile a signalé une erreur pour l'expression débutant ici
#
(let ((book-handler (if (defined? 'default-toplevel-book-handler)
Throw to key `ly-file-failed' with args `()'.
Now no problem with a postscrit file :
lilypond --ps TogoHT.ly
GNU LilyPond 2.24.2 (exécution de Guile 2.2)
Traitement de « TogoHT.ly »
Analyse...
Interprétation en cours de la musique...[8]
Pré-traitement des éléments graphiques...
Détermination du nombre optimal de pages...
Répartition de la musique sur une page...
Dessin des systèmes...
Copie vers « TogoHT.ps »...
Compilation menée à son terme, avec succès.
Thanks you to investigate this bug which seems not so easy to solve. Here is a .ly file (but all my lilypond files have the same behavior with lilypond) where I can have a postcript output but not a pdf output. I have provided the output of lilypond in the 2 cases (sorry there are in french. Bruno Pinçon. PS : my email adress is outdated in this bugzilla and I was not able to change it (seems a intrinsic pb with bugzilla), what is the natural procedure to change it ? Open a new account ? I confirm and reproduce the fail with the provide file LC_ALL=C lilypond Descargas/TogoHT.ly GNU LilyPond 2.24.2 (running Guile 2.2) Processing `Descargas/TogoHT.ly' Parsing... Interpreting music...[8] Preprocessing graphical objects... Finding the ideal number of pages... Fitting music on 1 page... Drawing systems... Converting to `TogoHT.pdf'... warning: `(gs -q -dNODISPLAY -dNOSAFER -dNOPAUSE -dBATCH -dAutoRotatePages=/None -dPrinted=false /tmp/lilypond-tmp-3950901)' failed (256) /usr/share/lilypond/2.24.2/ly/init.ly:65:2: error: Guile signaled an error for the expression beginning here # (let ((book-handler (if (defined? 'default-toplevel-book-handler) Throw to key `ly-file-failed' with args `()'. LC_ALL=C lilypond --ps Descargas/TogoHT.ly GNU LilyPond 2.24.2 (running Guile 2.2) Processing `Descargas/TogoHT.ly' Parsing... Interpreting music...[8] Preprocessing graphical objects... Finding the ideal number of pages... Fitting music on 1 page... Drawing systems... Copying to `TogoHT.ps'... Success: compilation successfully completed As the fail output have gs I wonder if resents updates to ghostscript introduce this error and search in the internet https://bugs.gentoo.org/920817 looks like we need to update lilypond Ok good news, well sort of. Since I updated my distro on that machine, I have the same issue as you on all my scores. So this is due to one of my updates. The bad news is that there are a lot. I tried downgrading ghostscript without success, so that is linked to something else. With these updates, upgrading to lilypond 2.24.3 fixes the issue for me. I'm pushing it to updates_testing so you can try as well. I have installed 2.24.3 on my system, and it works.
$ inxi -b
System:
Host: linux6core Kernel: 6.6.28-desktop-1.mga9 arch: x86_64 bits: 64
Desktop: KDE Plasma v: 5.27.10 Distro: Mageia 9
Machine:
Type: Desktop Mobo: Micro-Star model: MPG Z490 GAMING EDGE WIFI (MS-7C79)
v: 1.0 serial: <superuser required> UEFI: American Megatrends v: 1.C0
date: 06/10/2022
CPU:
Info: 6-core 11th Gen Intel Core i5-11400 [MT MCP] speed (MHz): avg: 800
min/max: 800/4400CC:
(none) =>
briankimerer Packages in 9/core/updates_testing i586: lilypond-2.24.3-1.mga9.i586.rpm lilypond-doc-2.24.3-1.mga9.noarch.rpm x86_64: lilypond-2.24.3-1.mga9.x86_64.rpm lilypond-doc-2.24.3-1.mga9.noarch.rpm SRPM: lilypond-2.24.3-1.mga9.src.rpm Assignee:
bruno.cornec =>
qa-bugs LC_ALL=C urpmi --auto --auto-update
medium "QA Testing (32-bit)" is up-to-date
medium "QA Testing (64-bit)" is up-to-date
medium "Core Release (distrib1)" is up-to-date
medium "Core Updates (distrib3)" is up-to-date
medium "Nonfree Release (distrib11)" is up-to-date
medium "Nonfree Updates (distrib13)" is up-to-date
medium "Tainted Release (distrib21)" is up-to-date
medium "Tainted Updates (distrib23)" is up-to-date
medium "Core 32bit Release (distrib31)" is up-to-date
medium "Core 32bit Updates (distrib32)" is up-to-date
medium "Nonfree 32bit Release (distrib36)" is up-to-date
medium "Tainted 32bit Release (distrib41)" is up-to-date
medium "Tainted 32bit Updates (distrib42)" is up-to-date
installing lilypond-2.24.3-1.mga9.x86_64.rpm from //home/katnatek/qa-testing/x86_64
Preparing... ##################################################################################################
1/1: lilypond ##################################################################################################
1/1: removing lilypond-2.24.2-2.mga9.x86_64
##################################################################################################
LC_ALL=C lilypond TogoHT.ly
GNU LilyPond 2.24.3 (running Guile 2.2)
Processing `TogoHT.ly'
Parsing...
Interpreting music...[8]
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Converting to `TogoHT.pdf'...
Success: compilation successfully completed
Open the generated pdf without issuesCC:
(none) =>
andrewsfarm
katnatek
2024-06-30 20:52:08 CEST
Keywords:
(none) =>
advisory Validating. Keywords:
(none) =>
validated_update An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2024-0152.html Status:
ASSIGNED =>
RESOLVED Thank you all for solving this bug. |