I made some test and you're right! Using

C:\Program Files (x86)\LilyPond\usr\bin\python2.4.exe midi2ly.py test.mid


all work correctly.

It would be nice to configure Frescobaldi to reference this executable, so
if someone know how to do it would be great.

Thanks for your help Thomas!
Ciao, g.

On Sun, Apr 3, 2016 at 2:44 PM, Thomas Morley <thomasmorle...@gmail.com>
wrote:

> 2016-04-03 1:03 GMT+02:00 Gianmaria Lari <gianmarial...@gmail.com>:
> > Ciao Thomas,
> >
> > I tried to run directly from the shell but I got same error:
> >
> > C:\Program Files (x86)\LilyPond\usr\bin>midi2ly.py
> > C:\Users\Gianmaria\Dropbox\Music-Study\Violin\Triolet.mid
> > Traceback (most recent call last):
> >   File "C:\Program Files (x86)\LilyPond\usr\bin\midi2ly.py", line 54, in
> > <module>
> >     import midi
> > ImportError: No module named midi
> >
> > I'm using lilypond 2.19.35.
> > g.
>
> It looks like a python problem.
> Thus, I'm not sure I can help here, I've neither windows nor do I know
> python.
>
> Some observations, though:
> On my Linux-machine I've Python 2.7.9, but "2.19.36" ships Python 2.4.5
>
> If I try to invoke midi2ly with system-python I get
> Traceback (most recent call last):
>   File "midi2ly", line 54, in <module>
>     import midi
> ImportError:
> /home/hermann/lilydevel/usr/lib/lilypond/current/python/midi.so:
> undefined symbol: Py_InitModule4
>
> Using lilypond's python all works.
>
> HTH a bit,
>   Harm
>
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to