[lilypond 2.13.16, but there weren't related changes in newer versions]
This input file zzz.tex
----------------------------------------------------------------------
\begin{lilypond}
{ c' }
\end{lilypond}
\begin{lilypond}
{ c' }
\end{lilypond}
----------------------------------------------------------------------
called with
lilypond-book --output=out zzz.tex
causes the following error:
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/bin/lilypond-book", line 2215, in <module>
main ()
File "/usr/local/bin/lilypond-book", line 2197, in main
chunks = do_file (files[0])
File "/usr/local/bin/lilypond-book", line 2099, in do_file
do_process_cmd (chunks, input_fullname, global_options)
File "/usr/local/bin/lilypond-book", line 1933, in do_process_cmd
snippet.write_ly()
File "/usr/local/bin/lilypond-book", line 1333, in write_ly
diff_against_existing = filter_pipe (self.full_ly (), 'diff -u %s -' %
filename)
File "/usr/local/bin/lilypond-book", line 1768, in filter_pipe
error (_ ("`%s' failed (%d)") % (cmd, exit_status))
TypeError: 'str' object is not callable
----------------------------------------------------------------------
The error doesn't happen if the two snippets are not identical.
Werner
_______________________________________________
bug-lilypond mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-lilypond