[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lilypond-book in 2.6.0
From: |
Erik Sandberg |
Subject: |
Re: lilypond-book in 2.6.0 |
Date: |
Tue, 5 Jul 2005 22:49:48 +0200 |
User-agent: |
KMail/1.8 |
On Tuesday 05 July 2005 15.43, John D Lamb wrote:
> I'm not sure if I should post this as a bug. In any case I wanted to
> check if I'd made any mistake first.
>
> I've recently build 2.6.0 on a standard SuSE 9.3 (32-bit x86) box. The
> same problem also appears in 2.5.32. I use some extra CXXFLAGS
> (-march=pentium4 -O2 -mfpmath=sse -msse -msse2 -malign-double -Wall
> -pipe -Wno-long-long) and built fontforge-20050624 but otherwise used
> packages as shipped and built in /usr/local
>
> I tried the new lilypond-book and got:
> Traceback (most recent call last):
> File "/usr/local/bin/lilypond-book", line 1616, in ?
> main ()
> File "/usr/local/bin/lilypond-book", line 1582, in main
> chunks = do_file (file)
> File "/usr/local/bin/lilypond-book", line 1448, in do_file
> set_default_options (source)
> File "/usr/local/bin/lilypond-book", line 660, in set_default_options
> textwidth = get_latex_textwidth (source)
> File "/usr/local/bin/lilypond-book", line 1280, in get_latex_textwidth
> tempfile.tempdir = ''
> NameError: global name 'tempfile' is not defined
>
> I traced this back a bit (gelukkig ik weet een beetje python) and found no
>
> import tempfile
>
> line in the lilypond-book script. I put one in and it now works perfectly.
>
> Is this a bug?
This is a bug, and it is fixed in CVS (you can wait for 2.6.1 if you like).
Erik