[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: OLL-core and Win10 [was Re: edition-editor usage]
From: |
Urs Liska |
Subject: |
Re: OLL-core and Win10 [was Re: edition-editor usage] |
Date: |
Wed, 27 Dec 2017 00:36:25 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 |
Am 26.12.2017 um 23:15 schrieb Trevor:
Hi Urs
OK, but I'm not at home right now, so it is somewhat hard to digest.
Could you please send the log for a document that contains only
\include "oll-core/package.ily"
?
Sure; it's quite bit shorter, so here it is inline:
Starting lilypond-windows.exe 2.19.80 [Untitled]...
Processing
`C:/Users/tdani/AppData/Local/Temp/frescobaldi-u9vnw1qc/tmp4_jxjpvb/document.ly'
Parsing...
C:/Users/tdani/openlilylib/oll-core/package.ily:57:2: error: GUILE
signaled an error for the expression beginning here
#
(if (not (defined? 'openlilylib-root))
Value out of range 0 to 4294967295: -1
fatal error: failed files:
"C:\\Users\\tdani\\AppData\\Local\\Temp\\frescobaldi-u9vnw1qc\\tmp4_jxjpvb\\document.ly"
Exited with return code 1.
Trevor
OK, at least now I know where (in the code) the problem is and recall
that I fixed that once. Just to be sure: are you sure you you use the
latest state of oll-core? OTOH, from the type of issue it may well be a
Windows question.
I can't look into it right now (and don't know if I can for the next few
days).
For debugging could you please locate the file
oll-core/internal/os-path.ily and insert a ly:message after line 193 so
that the "this-parent" function looks like this:
% Return the parent of (this-dir)
#(define-public (this-parent)
(let ((file (this-file)))
(ly:message "this file: ~a" file)
(list-head file (- (length file) 2))))
The problem is in the list-head command. The thing is that "file" seems
to be a list of length 1 (instead of anything above 2), which leads to
the value-out-of-range error.
Additionally insert a message in line 184 so "this-file" looks like
% Return the normalized absolute path and file name of "this" file
#(define-public (this-file)
(ly:message "location: ~a" (*location*))
(ly:message "initial path: ~a" (car (ly:input-file-line-char-column
(*location*))))
(location->normalized-path (*location*)))
And send me the log output.
Best
Urs
PS: One thing Jan-Peter has assumed correctly: The problem is in
oll-core, before edition-engraver is even loaded.
- Re[2]: edition-editor usage, Trevor, 2017/12/26
- OLL-core and Win10 [was Re: edition-editor usage], Jan-Peter Voigt, 2017/12/26
- Re: OLL-core and Win10 [was Re: edition-editor usage], Urs Liska, 2017/12/26
- Re[2]: OLL-core and Win10 [was Re: edition-editor usage], Trevor, 2017/12/26
- Re: Re[2]: OLL-core and Win10 [was Re: edition-editor usage], Urs Liska, 2017/12/26
- Re[4]: OLL-core and Win10 [was Re: edition-editor usage], Trevor, 2017/12/26
- Re: OLL-core and Win10 [was Re: edition-editor usage],
Urs Liska <=
- Re[2]: OLL-core and Win10 [was Re: edition-editor usage], Trevor, 2017/12/27
- Re: Re[2]: OLL-core and Win10 [was Re: edition-editor usage], Urs Liska, 2017/12/27