[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: broken options in lilypond-book
From: |
Erik Sandberg |
Subject: |
Re: broken options in lilypond-book |
Date: |
Fri, 3 Mar 2006 14:29:03 +0100 |
User-agent: |
KMail/1.8.3 |
On Friday 03 March 2006 12.04, Han-Wen Nienhuys wrote:
> Erik Sandberg wrote:
> > Hi,
> >
> > I noticed some bugs in lily-book in recent CVS:
> > - invoking the script with no parameters doesn't work (ly.help doesn't
> > exist) - --warranty does not work (no dest= in the add_option call).
>
> fixe.d
Now, lilypond-book seems to crash on just about anything:
with test.lytex containing:
\documentclass{article}
\begin{document}
foo bar
\end{document}
the commmand
$ lilypond-book test.lytex
gives me:
lilypond-book (GNU LilyPond) 2.7.37
Reading test.lytex...
Running latex...Traceback (most recent call last):
File "/home/erik/lily/lilypond/scripts/out/lilypond-book", line 1759, in ?
main ()
File "/home/erik/lily/lilypond/scripts/out/lilypond-book", line 1713, in
main
chunks = do_file (file)
File "/home/erik/lily/lilypond/scripts/out/lilypond-book", line 1600, in
do_file
set_default_options (source)
File "/home/erik/lily/lilypond/scripts/out/lilypond-book", line 760, in
set_default_options
textwidth = get_latex_textwidth (source)
File "/home/erik/lily/lilypond/scripts/out/lilypond-book", line 1413, in
get_latex_textwidth
ly.system ('latex %s' % tmpfile)
File
"/home/erik/lily/lilypond/out/share/lilypond/current/python/lilylib.py", line
92, in system error_log_file = error_log (name)
File
"/home/erik/lily/lilypond/out/share/lilypond/current/python/lilylib.py", line
69, in error_log
return tempfile.mktemp ('%s.errorlog' % name)
NameError: global name 'tempfile' is not defined
--
Erik