bug-lilypond
[Top][All Lists]
Advanced

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

Good and bad news about Lilypond 2.9.20 on Windows


From: Mats Bengtsson
Subject: Good and bad news about Lilypond 2.9.20 on Windows
Date: Wed, 04 Oct 2006 11:26:13 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060911 Red Hat/1.0.5-0.1.el4 SeaMonkey/1.0.5

Hi,

The good news is that when you run lilypond from the command line, it
behaves like a command line program (i.e. echoing output to stdout/stderr).
This seems to work every second release or so.

The bad news is that lilypond-book fails. The first problem is the old usual
Python problem:
C:\Documents and Settings\mabe\My Documents\lily>lilypond-book --pdf -o out a.lytex
lilypond-book.py (GNU LilyPond) 2.9.20
Reading a.lytex...
Running latex...Traceback (most recent call last):
 File "C:\Program Files\LilyPond\usr\bin\lilypond-book.py", line 1780, in ?
   main ()
File "C:\Program Files\LilyPond\usr\bin\lilypond-book.py", line 1734, in main
   chunks = do_file (file)
File "C:\Program Files\LilyPond\usr\bin\lilypond-book.py", line 1612, in do_file
   set_default_options (source)
File "C:\Program Files\LilyPond\usr\bin\lilypond-book.py", line 746, in set_default_options
   textwidth = get_latex_textwidth (source)
File "C:\Program Files\LilyPond\usr\bin\lilypond-book.py", line 1421, in get_latex_textwidth
   ly.system ('latex %s' % tmpfile, be_verbose=global_options.verbose)
 File "out/lilylib.py", line 99, in system
 File "/usr/lib/python2.4/subprocess.py", line 542, in __init__
 File "/usr/lib/python2.4/subprocess.py", line 899, in _execute_child
AttributeError: 'module' object has no attribute 'pipe'


The second problem is new for this release. When I call the program using the native Python package, it doesn't find the lilypond executable, for some strange reason:

C:\Documents and Settings\mabe\My Documents\lily>"C:\Program Files\Python2.4\python.exe" "C:\Program Files\LilyPond\usr\bin\lilypond-book.py" -o out --pdf a.lytex
lilypond-book.py (GNU LilyPond) 2.9.20
Reading a.lytex...
Running latex...This is e-TeX, Version 3.141592-2.1 (MiKTeX 2.4)
entering extended mode
(c:/docume~1/mabe/locals~1/temp/tmpg80p88.tex
LaTeX2e <2001/06/01>
Babel <v3.7m> and hyphenation patterns for english, french, german, ngerman, sw
edish, dumylang, nohyphenation, loaded.

(C:\program files\texmf\tex\latex\base\article.cls
Document Class: article 2001/04/21 v1.4e Standard LaTeX document class
(C:\program files\texmf\tex\latex\base\size10.clo))
No file tmpg80p88.aux.
textwidth=345.0pt
columnsep=10.0pt
(tmpg80p88.aux) )
No pages of output.
Transcript written on tmpg80p88.log.
Dissecting...
Writing snippets...
Processing...
Running lilypond...'lilypond' is not recognized as an internal or external command,
operable program or batch file.
command failed: lilypond -b eps -I "C:\\Documents and Settings\\mabe\\My Documents\\lily" --formats=eps --pdf -dinclude-eps-font -dgs-load-font -dread-file-list -dpad-eps-boxes snippet-names
Child returned 1


I've verified that the lilypond bin directory is at the top of the path and it works to call lilypond from the command line, so the PATH must get lost somewhere along
the way.

  /Mats

--
=============================================
        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: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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