Opened 6 years ago

Closed 6 years ago

#56641 closed defect (worksforme)

lilypond: ghostscript error

Reported by: HagenBarz Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version: 2.5.2
Keywords: Cc:
Port: lilypond

Description

for some reason lilypond starts giving me the following error message at the end of a run:

Warnung: »(gs -q -dSAFER -dDEVICEWIDTHPOINTS=595,28 -dDEVICEHEIGHTPOINTS=841,89 -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -r1200 -sDEVICE=pdfwrite -sOutputFile=./test.pdf -c.setpdfwrite -ftest.ps)« gescheitert (256)

schwerer Fehler: gescheiterte Dateien: "test.ly"

I have no idea what went wrong. I've reinstalled the whole macports. Same error…

Change History (6)

comment:1 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to nerdling
Port: lilypond added
Status: newassigned
Summary: lilypond / ghostscript errorlilypond: ghostscript error

I searched Google and found some references to this Ghostscript error 256 when using Lilypond. Some suggested using a newer version of Lilypond would help. The lilypond-devel port has a newer development version. Can you try installing that instead of the lilypond port, and see if the problem persists?

comment:2 Changed 6 years ago by HagenBarz

no, the same error still occurs

here the error message generated by Ghostscript:

GPL Ghostscript 9.23 (2018-03-21) Copyright (C) 2018 Artifex Software, Inc. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. Error: /undefined in -1,020508 Operand stack:

FontBBox --nostringval--

Execution stack:

%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 2015 1 3 %oparray_pop 2014 1 3 %oparray_pop 1998 1 3 %oparray_pop 1884 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval--

Dictionary stack:

--dict:987/1684(ro)(G)-- --dict:0/20(G)-- --dict:79/200(L)-- --dict:4/11(L)--

Current allocation mode is local Current file position is 178620 GPL Ghostscript 9.23: Unrecoverable error, exit code 1

Last edited 6 years ago by HagenBarz (previous) (diff)

comment:3 Changed 6 years ago by HagenBarz

new discovery:

when I start lilypond with the

lilypond -fsvg test.ly

no error message occurs. But the resulting test.ps could not be opened. every app I tried gave me an error message like "File is damaged". GSView6 shows an empty page. Is nobody having the same problem?

comment:4 Changed 6 years ago by jjfPCSI1 (Jean-Julien Joseph Fleck)

I have the same problem (with a différent error message)

Avertissement : échec de « (gs -q -dSAFER -dDEVICEWIDTHPOINTS=595,28 -dDEVICEHEIGHTPOINTS=841,89 -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -r1200 -sDEVICE=pdfwrite -sOutputFile=./JQMJD_alto_hautbois.pdf -c.setpdfwrite -fJQMJD_alto_hautbois.ps) » (256)

The postscript file produced does not seem to be a valid one as I can't open it. ps2pdf is failing on it.

~> ps2pdf JQMJD_alto_hautbois.ps
Error: /undefined in 5,6906
Operand stack:

Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   2015   1   3   %oparray_pop   2014   1   3   %oparray_pop   1998   1   3   %oparray_pop   1884   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--
Dictionary stack:
   --dict:987/1684(ro)(G)--   --dict:0/20(G)--   --dict:109/200(L)--
Current allocation mode is local
Current file position is 380710
GPL Ghostscript 9.23: Unrecoverable error, exit code 1

comment:5 Changed 6 years ago by HagenBarz

after an update today lilypond and ghostscript working properly again. I don't know how to close a ticket.

comment:6 Changed 6 years ago by nerdling (Jeremy Lavergne)

Resolution: worksforme
Status: assignedclosed
Note: See TracTickets for help on using tickets.