lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[address@hidden: Re: PNG/EPS output doesn't work anymore in 2.23.6?]


From: H. S. Teoh
Subject: [address@hidden: Re: PNG/EPS output doesn't work anymore in 2.23.6?]
Date: Mon, 13 Dec 2021 15:07:26 -0800

On Mon, Dec 13, 2021 at 11:48:41PM +0100, Jean Abou Samra wrote:
[...]
> I don't understand what's going on at all. It all
> happens as if you were calling lilypond with wrong
> quoting as
> 
> lilypond -dbackend="eps myfile.ly"

Haha, in fact, you hit the nail right on the head (without realizing
it). :-)

It turns out to be entirely my fault after all: I have a wrapper shell
script that forwards to a local copy of lilypond (because I'm using a
local copy of guile-1.8 that I didn't want to conflict with the distro's
version), but I used the wrong forwarding for arguments:

        export LD_LIBRARY_PATH=/usr/src/guile-1.8/lib
        /usr/src/lilypond/bin/lilypond "$*"

where in the second line, I should have written "$@" instead.  This bug
went unnoticed because I usually only invoke lilypond with the single
.ly file as argument. But now when I need to pass additional arguments
to it, the "$*" smushes all the arguments into one where lilypond
expected multiple arguments, thus generating the observed mysterious
error message.

Changing it to "$@" fixed the problem.  Thanks a bunch, and sorry for
wasting everyone's time with something that isn't lilypond's fault at
all.


T

-- 
"I'm running Windows '98." "Yes." "My computer isn't working now." "Yes, you 
already said that." -- User-Friendly



reply via email to

[Prev in Thread] Current Thread [Next in Thread]