It's a bug and it has already been fixed in the CVS version.

   /Mats

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?


--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: [EMAIL PROTECTED]
        WWW: http://www.s3.kth.se/~mabe
=============================================


_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to