Run the attached "lilypond-book bookcrash.lytex" in a directory that
does not include a file named "missing.ly".
With lilypond-book (GNU LilyPond) 2.13.51, on ubuntu 10.04 LTS, I get
the correct error message:
lilypond-book: error: file not found: missing.ly
But then I get a python crash:
Traceback (most recent call last):
File "/home/newlily/lilypond/usr/bin/lilypond-book", line 703, in ?
main ()
File "/home/newlily/lilypond/usr/bin/lilypond-book", line 685, in main
chunks = do_file (files[0])
File "/home/newlily/lilypond/usr/bin/lilypond-book", line 569, in do_file
chunks = find_toplevel_snippets (source, global_options.formatter)
File "/home/newlily/lilypond/usr/bin/lilypond-book", line 333, in
find_toplevel_snippets
snip = klass (type, m, formatter, line_number, global_options)
File
"/home/newlily/lilypond/usr/share/lilypond/current/python/book_snippets.py",
line 803, in __init__
self.contents = file (BookBase.find_file (self.substring ('filename'),
global_options.include_path)).read ()
File
"/home/newlily/lilypond/usr/share/lilypond/current/python/book_base.py", line
25, in find_file
exit (1)
TypeError: 'str' object is not callable
I believe this was also true in 2.12, so it isn't a regression.