Mats Bengtsson schreef:

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'

can you tell me what

import sys
print sys.platform

says?

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:

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.

does it work if you substitute ly.system() calls with os.system() ?

--

Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com



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

Reply via email to