[Top][All Lists]

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

Re: lilypond-book in 2.6.0

From: Mats Bengtsson
Subject: Re: lilypond-book in 2.6.0
Date: Tue, 05 Jul 2005 21:07:37 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050319

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


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
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden

reply via email to

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