[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: run error Lilypond-book on Windows 10
From: |
Archer Endrich |
Subject: |
Re: run error Lilypond-book on Windows 10 |
Date: |
Fri, 6 Aug 2021 16:46:49 +0100 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 |
Thank you Knute and David! I have downloaded and installed MiKTeX and
rerun my batch file (without the .py added to lilypond-book).
It appears to have called lilypond-book successfully and also pdflatex.
However, it still reports an error in lilypond-book.ly which is
preventing compilation.
Here is the output:
C:\P3L\lpbk>ALMdurasnumber.bat
C:\P3L\lpbk>lilypond-book --output=out --pdf ALMdurasnumber.lytex
File "C:\Lilypond2221\usr\bin\lilypond-book.py", line 376
except subprocess.CalledProcessError as e:
^
SyntaxError: invalid syntax
C:\P3L\lpbk>cd out
C:\P3L\lpbk\out>pdflatex ALMdurasnumber.tex
This is pdfTeX, Version 3.141592653-2.6-1.40.22 (MiKTeX 21.6)
entering extended mode
! I can't find file `ALMdurasnumber.tex'.
<*> ALMdurasnumber.tex
Please type another input file name:
So it all seems to be working except for the reported error.
Regarding paths, I had renamed my lilypond directory with a version
number, and updated my Windows path accordingly, Lilypond itself has
been running fine, so, as far as I can tell, the paths are OK (and it
was happy without the .py extension in the batch file).
Perhaps someone could check out line 376 for me. Thanks again.
Archer
Re: run error Lilypond-book on Windows 10, Archer Endrich, 2021/08/06