lilypond-user
[Top][All Lists]
Advanced

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

Re: midi2ly


From: ole
Subject: Re: midi2ly
Date: Thu, 30 Oct 2014 01:07:11 +0100

Am 29.10.2014 um 23:10 schrieb Hans Aberg <address@hidden>:

> 
>> On 29 Oct 2014, at 21:53, ole <address@hidden> wrote:
> 
>> I think I found the right place for your line.
>> And get the following error warning:
>> 
>> /Applications/LilyPond.app/Contents/Resources/bin/midi2ly:54: 
>> RuntimeWarning: Python C API version mismatch for module midi: This Python 
>> has API version 1013, module midi has version 1012.
> 
> The LilyPond midi2ly file has been compiled for the API in Python 2.4, so the 
> line should really be: 
> exec /usr/bin/arch -i386 /usr/bin/python2.4 
> /Applications/LilyPond.app/Contents/Resources/bin/midi2ly "address@hidden
> 
> But this version does not come with the system installation in /usr/bin/ of 
> later OS X.
> 
>> Sorry for the noise! 
>> Just discovered that a .ly file has been made despite of the error warning..
> 
> Strictly speaking, it is a warning as it passes the compile, not an error 
> which would abort. So it is a relevant issue, though it seems to work.
> 
> 
So- as I understand it right- I can install python 2.4 into /opt/local/bin via 
macports

and then change the line to

exec /usr/bin/arch -i386 /opt/local/bin/python2.4 
/Applications/LilyPond.app/Contents/Resources/bin/midi2ly "$@"

Would that work?


reply via email to

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