This isn't a bug, so I wanted to post it here first -- see what other
people think.

If I compile a PDF with LilyPond and open it with Adobe Reader, then run
LilyPond again, I get this error:

----------------

Converting to `./pictures-at-an-exhibition-all.pdf'...

warning: `(gs -q -dNOSAFER -dDEVICEWIDTHPOINTS=595.28
-dDEVICEHEIGHTPOINTS=841.89 -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH
-r1200 -sDEVICE=pdfwrite -sOutputFile=./pictures-at-an-exhibition-all.pdf
-c.setpdfwrite -fpictures-at-an-exhibition-all.ps)' failed (1)

fatal error: failed files:
"C:/Users/Knute/Documents/GitHub/The-Mutopia-Project/ftp/MussorgskyM/pictures-at-an-exhibition/pictures-at-an-exhibition-lys/
pictures-at-an-exhibition-all.ly"

Exited with return code 1.

------------------------------


Now I'm a programmer, and I can figure out that this that this is
GhostScript failing to convert the PS file to PDF, because I have it open
and it needs to close it and recreate it.


But it took me a while.  For those non-programmer LilyPoders, I would think
a better error message is in order.  Maybe LilyPond can check if the PDF
exists and try to close or delete it.


Any other thoughts?

Knute Snortum
(via Gmail)
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to