Speldosa <l4rs...@gmail.com> 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

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to