Daniel Rosen <drose...@gmail.com> writes: >> -----Original Message----- >> From: David Kastrup [mailto:d...@gnu.org] >> Sent: Tuesday, February 25, 2014 10:09 AM >> To: Daniel Rosen >> Cc: Phil Holmes; LilyPond User Group >> Subject: Re: Errors running lilypond-book >> >> Since I do not have an idea about the anatomy of a Windows installation, we >> will depend on >> >> a) you figuring out what other copy of book_latex.py you should rather have >> patched >> b) someone else figuring this out >> c) a release of 2.19.3 after which we'll get more definite feedback. > > I've just downloaded 2.19.3 and tried again, and while the error output no > longer mentions TEXINPUTS, most of the text remains the same (I've attached > my original bug report for convenient comparison, and once again redacted my > username from the file path): > > c:\Users\...\Desktop\Downloads>lilypond-book --output=out --pdf lilybook.lytex > lilypond-book.py (GNU LilyPond) 2.19.3 > Reading lilybook.lytex... > Running `pdflatex' on file `c:\users\...\appdata\local\temp\tmpi8u3bh.tex' to > detect default page settings. > > Dissecting...
Good: the page size detection seems to work now. > lilypond-book.py: error: file not found: screech-and-boink.ly > > Traceback (most recent call last): > File "C:\Program Files\LilyPond\usr\bin\lilypond-book.py", line 776, in ? > main () > File "C:\Program Files\LilyPond\usr\bin\lilypond-book.py", line 759, in main > chunks = do_file (files[0]) > File "C:\Program Files\LilyPond\usr\bin\lilypond-book.py", line 611, in > do_file > chunks = find_toplevel_snippets (source, global_options.formatter) > File "C:\Program Files\LilyPond\usr\bin\lilypond-book.py", line 362, in > find_toplevel_snippets > snip = klass (type, m, formatter, line_number, global_options) > File "C:\Program > Files\LilyPond\usr\share\lilypond\current\python\book_snippets.py", line 815, > in __init__ > global_options.include_path, global_options.original_dir)).read () > File "C:\Program > Files\LilyPond\usr\share\lilypond\current\python\book_base.py", line 27, in > find_file > exit (1) > TypeError: 'str' object is not callable What happens if you just call python and type exit(1) at its prompt? At any rate, you are apparently trying to typeset a file screech-and-boink.ly that is not in your search path. Apart from "exit" seemingly going haywire on your system, the problem is the absence of screech-and-boink.ly. What does your lilybook.lytex look like? -- David Kastrup _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user