[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Strange error(?) message when invoking lilypond-book
From: |
David Kastrup |
Subject: |
Re: Strange error(?) message when invoking lilypond-book |
Date: |
Sat, 21 Nov 2015 00:25:36 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Speldosa <address@hidden> writes:
> I'm running OS X 10.11 and LilyPond version 2.18.2-1. I'm trying to invoke
> lilypond-book via terminal by typing the following (I've tried getting the
> path option to work, but I've given up after a gazillion tries):
>
> /Applications/LilyPond.app/Contents/Resources/bin/lilypond-book
> Test.lytex
>
> What I'm served with after running this command is the following:
>
> File "/Applications/LilyPond.app/Contents/Resources/bin/lilypond-book",
> line 590
> os.mkdir (global_options.output_dir, 0777)
> ^
> SyntaxError: invalid token
>
> Am I even supposed to see this? Is this a valid error message (in that case,
> it's not making a lot of sense)? I've been able to locate the origin in the
> source code, but that doesn't help me very much.
>
> Anybody got any ideas?
LilyPond does not support Python 3 yet. Python 3 syntax for octal
numbers is 0o777 instead of 0777. I would be surprised if this were the
only problem, though, so you better try to change the scripts to use
some Python 2 interpreter.
--
David Kastrup