lilypond-user
[Top][All Lists]
Advanced

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

Re: hoot run convert-ly on OSX 11011


From: Floris van Manen
Subject: Re: hoot run convert-ly on OSX 11011
Date: Thu, 25 Feb 2016 21:40:23 +0100

uname -a
Darwin Kernel Version 15.3.0: Thu Dec 10 18:40:58 PST 2015; 
root:xnu-3248.30.4~1/RELEASE_X86_64 x86_64


i’ve got the latest dev version  2.19.36:

 /Applications/LilyPond.app/Contents/MacOS/python
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
'import site' failed; use -v for traceback
Python 2.6.6 (r266:84374, Aug 31 2010, 11:00:51)
[GCC 4.0.1 (Apple Inc. build 5493)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> ^D


/Applications/LilyPond.app/Contents/Resources/bin/lilypond
GNU LilyPond 2.19.36
Usage: lilypond [OPTION]... FILE…



/Applications/LilyPond.app/Contents/Resources/bin/convert-ly
Traceback (most recent call last):
  File "/Applications/LilyPond.app/Contents/Resources/bin/convert-ly", line 52, 
in <module>
    import lilylib as ly
  File 
"/Applications/LilyPond.app/Contents/Resources/share/lilypond/current/python/lilylib.py",
 line 238
    print log[0]
            ^
SyntaxError: Missing parentheses in call to ‘print’



and i have python 3.5 as default

$ python
Python 3.5.0 |Anaconda 2.4.0 (x86_64)| (default, Oct 20 2015, 14:39:26)
[GCC 4.2.1 (Apple Inc. build 5577)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>




> On 25 Feb 2016, at 20:39, Jacques Menu Muzhic <address@hidden> wrote:
> 
> Hello Floris,
> 
> Looks like you have an installation problem.
> 
> Where did you install LP from?
> 
> JM
> 
> -—
> 
> On my OS X 10.11.3 (much more recent than 10.0.11 of course):
> 
> 
> address@hidden:~ > uname -a
> Darwin macbookprojm 15.3.0 Darwin Kernel Version 15.3.0: Thu Dec 10 18:40:58 
> PST 2015; root:xnu-3248.30.4~1/RELEASE_X86_64 x86_64
> 
> 
> address@hidden >  /Applications/LilyPond.app/Contents/MacOS/python
> Could not find platform independent libraries <prefix>
> Could not find platform dependent libraries <exec_prefix>
> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
> 'import site' failed; use -v for traceback
> Python 2.6.6 (r266:84374, Aug 31 2010, 11:00:51)
> [GCC 4.0.1 (Apple Inc. build 5493)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
>>>> ^D
> 
> 
> /Applications/LilyPond.app/Contents/Resources/bin/address@hidden:~ > 
> /Applications/LilyPond.app/Contents/Resources/bin/lilypond
> GNU LilyPond 2.19.33
> Usage: lilypond [OPTION]... FILE...
> 
> Typeset music and/or produce MIDI from FILE.
> 
> LilyPond produces beautiful music notation.
> For more information, see http://lilypond.org
> 
> Options:
>  -d, --define-default=SYM[=VAL]      set Scheme option SYM to VAL (default: 
> #t).
>                                        Use -dhelp for help.
>  -e, --evaluate=EXPR                 evaluate scheme code
>  -f, --formats=FORMATs               dump FORMAT,...  Also as separate 
> options:
>      --pdf                           generate PDF (default)
>      --png                           generate PNG
>      --ps                            generate PostScript
>  -b, --bigpdfs                       generate big PDF files
>  -h, --help                          show this help and exit
>  -H, --header=FIELD                  dump header field FIELD to file
>                                        named BASENAME.FIELD
>  -I, --include=DIR                   add DIR to search path
>  -i, --init=FILE                     use FILE as init file
>  -j, --jail=USER, GROUP, JAIL, DIR   chroot to JAIL, become USER:GROUP
>                                        and cd into DIR
>  -l, --loglevel=LOGLEVEL             print log messages according to 
> LOGLEVEL.  Possible values are:
>                                        NONE, ERROR, WARNING, BASIC, PROGRESS, 
> INFO (default) and DEBUG.
>  -o, --output=FILE                   write output to FILE (suffix will be 
> added)
>      --relocate                      relocate using directory of lilypond 
> program
>  -s, --silent                        no progress, only error messages 
> (equivalent to loglevel=ERROR)
>  -v, --version                       show version number and exit
>  -V, --verbose                       be verbose (equivalent to loglevel=DEBUG)
>  -w, --warranty                      show warranty and copyright
> 
> Report bugs via 
> http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs
> 
> 
> 
> address@hidden:~ > 
> /Applications/LilyPond.app/Contents/Resources/bin/convert-ly
> Usage: convert-ly [OPTION]... FILE
> 
> Update LilyPond input to newer version.  By default, update from the
> version taken from the \version command, to the current LilyPond version.
> If FILE is `-', read from standard input.
> 
> Examples:
>  $ convert-ly -e old.ly
>  $ convert-ly --from=2.3.28 --to=2.5.21 foobar.ly > foobar-new.ly
> 
> Options:
>       --version        show version number and exit
>   -h, --help           show this help and exit
>   -f, --from=VERSION   start from VERSION [default: \version found in file]
>   -e, --edit           edit in place
>   -l, --loglevel=LOGLEVEL
>                        Print log messages according to LOGLEVEL (NONE, ERROR,
>                        WARNING, PROGRESS (default), DEBUG)
>   -n, --no-version     do not add \version command if missing
>   -c, --current-version
>                        force updating \version number to 2.19.33
>   -d, --diff-version-update
>                        only update \version number if file is modified
>   -s, --show-rules     show rules [default: -f 0, -t 2.19.33]
>   -t, --to=VERSION     convert to VERSION [default: 2.19.33]
>   -b, --backup-numbered
>                        make a numbered backup [default: filename.ext~]
>   -w, --warranty       show warranty and copyright
> 
> Report bugs via 
> http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs
> address@hidden:~ >
> 
> 
> 
>> Le 25 févr. 2016 à 18:56, Floris van Manen <address@hidden> a écrit :
>> 
>>> I don’t know what the significance of 11011 in your subject line is.
>> 
>> typo, should OSX 10.11
>> 
>> 
>>> Anyway, your installation should be able to cope with python2 and
>>> python 3 alongside each other. python2 is still the basis for a lot of
>>> unix infrastructure so that, for example, in Debian python2 is
>>> priority standard (an expected part of any linux system) and python3
>>> is priority optional (pulled in by packages that require it and that
>>> you’ve ask for later in your installation process).
>> 
>> i’m familiar with python and its differences between 2 and 3.
>> 
>> The thing is that
>> /Applications/LilyPond.app/Contents/Resources/bin/lilypond
>> does run.
>> 
>> and
>> /Applications/LilyPond.app/Contents/Resources/bin/convert-ly
>> will NOT run
>> 
>> Is there any activity in upgrading the python code to version 3 as yet?
>> 
>> .F
>> 
>> 
>> _______________________________________________
>> lilypond-user mailing list
>> address@hidden
>> https://lists.gnu.org/mailman/listinfo/lilypond-user
> 

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail


reply via email to

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