lilypond-devel
[Top][All Lists]
Advanced

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

Re: Error tracking through the log files [was: Re: Compilation errorwith


From: Phil Holmes
Subject: Re: Error tracking through the log files [was: Re: Compilation errorwith page-breaking-page-count3.ly]
Date: Fri, 28 Sep 2012 11:24:28 +0100

----- Original Message ----- From: "Marc Hohl" <address@hidden>
To: <address@hidden>
Sent: Friday, September 28, 2012 11:00 AM
Subject: Re: Error tracking through the log files [was: Re: Compilation errorwith page-breaking-page-count3.ly]


Am 28.09.2012 11:38, schrieb David Kastrup:
Marc Hohl <address@hidden> writes:

Well, it seems to be not as simple as that.

I did a 'make test' on my patch. This fails, obviously.
The console says:

Dissecting...
Writing snippets...
Processing...
Processing
/home/marc/git/lilypond/out/lybook-testdb/snippet-names-3552501373601762147.ly
Please see
/home/marc/git/lilypond/out/lybook-testdb/snippet-names-3552501373601762147.log

Ok. So far, so bad. Now I look at the log file.

address@hidden ~/git/lilypond (barlineII)$ more
/home/marc/git/lilypond/out/lybook-testdb/snippet-names-3552501373601762147.log
GNU LilyPond 2.17.4
address@hidden ~/git/lilypond (barlineII)$
That would seem like the bulk of the log went elsewhere.

Ok, this is what James mentioned for the faulty patchy run.

The file snippet-names-3552501373601762147.ly contains

snippet-map-3552501373601762147.ly
b4/lily-1ce78b89.ly
f8/lily-25dab396.ly
37/lily-4583781c.ly
3d/lily-a69e10a7.ly
...
...
...
15/lily-c90f9b1c.ly

Since only the starting message appears, the fault is probably
at the beginning of the list of files, so I look at
snippet-map-3552501373601762147.ly

#(define version-seen #t)
#(define output-empty-score-list #f)
#(ly:add-file-name-alist '(("59/lily-6e61a987.ly"
. "out-test/collated-files.tel
y")
...
...
...
The first file just reestablishes mappings and is not likely supposed to
produce output.  I'd take a look at

b4/lily-1ce78b89.ly

and its log file instead.


address@hidden ~/git/lilypond (barlineII)$ more out/lybook-testdb/b4/lily-1ce78b89.log

Processing `./b4/lily-1ce78b89.ly'
Parsing...
Renaming input to: `utf-8.ly'
Interpreting music...
Preprocessing graphical objects...
Calculating line breaks...
Drawing systems...
Writing header field `texidoc' to `./b4/lily-1ce78b89.texidoc'...
Writing ./b4/lily-1ce78b89-1.signature
Writing ./b4/lily-1ce78b89-2.signature
Layout output to `./b4/lily-1ce78b89.eps'...
Layout output to `./b4/lily-1ce78b89-1.eps'...
Layout output to `./b4/lily-1ce78b89-2.eps'...
Writing ./b4/lily-1ce78b89-systems.texi...
Writing ./b4/lily-1ce78b89-systems.tex...
Writing ./b4/lily-1ce78b89-systems.count...
Writing timing to b4/lily-1ce78b89.profile...Processing b4/lily-1ce78b89


Compiling utf-8.ly with the patch works without problems.


A brute force method is to find the most recent log file ...

--
Phil Holmes



reply via email to

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