bug-lilypond
[Top][All Lists]
Advanced

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

lilypond-book fails on identical snippets


From: Werner LEMBERG
Subject: lilypond-book fails on identical snippets
Date: Sat, 01 May 2010 09:56:55 +0200 (CEST)

[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




reply via email to

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