[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Errors running lilypond-book
From: |
David Kastrup |
Subject: |
Re: Errors running lilypond-book |
Date: |
Tue, 04 Mar 2014 18:35:19 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Daniel Rosen <address@hidden> writes:
>> -----Original Message-----
>> From: David Kastrup [mailto:address@hidden
>> 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