lilypond-user
[Top][All Lists]
Advanced

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

RE: Errors running lilypond-book


From: Daniel Rosen
Subject: RE: Errors running lilypond-book
Date: Tue, 04 Mar 2014 16:53:24 +0000

> -----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.
> 
> --
> David Kastrup

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...
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
--- Begin Message --- Subject: Errors running lilypond-book Date: Thu, 9 Jan 2014 18:39:23 +0000
I'm trying to follow the tutorial at 
http://www.lilypond.org/doc/v2.18/Documentation/usage/an-example-of-a-musicological-document;
 I run Windows 7 x86. When I run the command it tells me to (lilypond-book 
--output=out --pdf lilybook.lytex), here's what I get (I've redacted my 
username from the temp file path):

lilypond-book.py (GNU LilyPond) 2.18.0
Reading lilybook.lytex...
Running `pdflatex' on file `c:\users\...\appdata\local\temp\tmpfvqw3p.tex' to
 detect default page settings.

'TEXINPUTS' is not recognized as an internal or external command,
operable program or batch file.
lilypond-book.py: warning: Unable to auto-detect default settings:

lilypond-book.py: warning: cannot detect textwidth from LaTeX
Dissecting...
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_fil
e
    chunks = find_toplevel_snippets (source, global_options.formatter)
  File "C:\Program Files\LilyPond\usr\bin\lilypond-book.py", line 362, in find_t
oplevel_snippets
    snip = klass (type, m, formatter, line_number, global_options)
  File "out/book_snippets.py", line 815, in __init__
  File "out/book_base.py", line 27, in find_file
TypeError: 'str' object is not callable

How do I get this to work?

DR

--- End Message ---

reply via email to

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