lilypond-user
[Top][All Lists]
Advanced

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

Re: "In procedure list-tail in expression (list-tail input-file (- # 2))


From: Urs Liska
Subject: Re: "In procedure list-tail in expression (list-tail input-file (- # 2)): value out of range"
Date: Tue, 21 Mar 2017 17:51:55 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.6.0


Am 21.03.2017 um 17:33 schrieb Jeffery Shivers:
> Hi,
>
> I am working compiling a document located at:
>   /Users/Jeffery/work/scholarly/doc/source/examples/annotate/min.ly
>
> I can cd all the way into `examples`, and run lily fine (and get all
> the correct outputs) with:
>   lilypond -I "/Users/Jeffery/work" -dclip-systems annotate/min.ly
>
> But if I go one directory deeper into `annotate`, and run:
>   lilypond -I "/Users/Jeffery/work" -dclip-systems min.ly
>
> It stops with the following error:
>   GNU LilyPond 2.19.56
>   Processing `min.ly`
>   Parsing...
>   Package scholarly @0.5.0 registered successfully.
>   /Users/Jeffery/work/scholarly/annotate/module.ily:77:12: In
> procedure list-tail in expression (list-tail input-file (- # 2)):
>   /Users/Jeffery/work/scholarly/annotate/module.ily:77:12: Value out
> of range 0 to 4294967295: -1
>
> The line about "Package scholarly ..." is just a confirmation one of
> the included files prints when its invoked in the document.
>
> I wonder if the problem is something to do with the compiled doc and
> that `annotate/module.ily` being in similarly named directories?
>
> Best,
> Jeffery

Just to clarify before anyone is getting confused: This is most surely
not a general issue with LilyPond but with the module loading code in
the "scholarly" package. "input-file" here is a list split from the
(*location*) string.
Then the last two elements of that list are retrieved, and for some
reason the location list here doesn't have enough elements.

Please insert the line
(dummy (ly:message "\n\n\ninput-file: ~a\n\n\n" input-file))

between the lines starting with "(input-file" and "(ctx" in module.ily
(around line 77) and tell me what the output is (presumably immediately
before the crash). Maybe give the output of a failing and a crashing
compilation.

Urs

-- 
address@hidden
https://openlilylib.org
http://lilypondblog.org




reply via email to

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