Re: midi2ly dll error

2016-04-05 Thread Gianmaria Lari
Ciao Martin,

- Which Lilypond version did you installed?
- If you installed Frescobaldi could you test if the "import midi" feature
works? To test it:  File/Import/Import midi and then specify a simple midi
file. In my tests it should not work IF you have Lilypond version 2.19.39
and 2.19.36 (didn't test with other version) AND you have Python 2.7 in the
path.


if you can, could you please check the folder
>>
>> \Program Files (x86)\LilyPond\usr\bin
>>
>> to see if you have python.exe inside it? I'm curious to know if the
>> lilypond installer installed the bundled python even if you unchecked it.
>>
>
>
> That's strange indeed: it's there, but (as far as I know) it isn't used.
> On the commandline "python --version" gives me 2.7
>
> To be sure I could delete or rename the file and reinstall LilyPond, to be
> sure it isn't left there during an old installation in the past when I did
> check the bundled-python option.


Maybe it's a bug of the Lilypond installer? In my case (I carefully tested
it twice) Lilypond installer installed bundled python compiler even if I
unchecked it.

Ciao, g.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: midi2ly dll error

2016-04-05 Thread Martin Tarenskeen



On Mon, 4 Apr 2016, Gianmaria Lari wrote:


Ciao Martin,

if you can, could you please check the folder

\Program Files (x86)\LilyPond\usr\bin

to see if you have python.exe inside it? I'm curious to know if the
lilypond installer installed the bundled python even if you unchecked it.



That's strange indeed: it's there, but (as far as I know) it isn't used. 
On the commandline "python --version" gives me 2.7


To be sure I could delete or rename the file and reinstall LilyPond, to be 
sure it isn't left there during an old installation in the past when I did 
check the bundled-python option.


--

MT

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


Re: midi2ly dll error

2016-04-04 Thread Anders Eriksson


On 2016-04-04 11:03, Gianmaria Lari wrote:

Ciao Federico,

regarding [configure Frescobaldi to reference a specific phyton 
compiler] you wrote:



You must add it to the path in system preferences, as explained here:
http://lilypond.org/windows.html


Yes, I can change the system path but this is something I wanted to 
avoid. I have other software that refer to "c:\Python27" and changing 
the system path will make them stop to working. I thought it was 
possible to specify the python compiler to use only for Frescobaldi.




Do you have PYTHONPATH environment variable defined?
If you do, remove it (you may want to save the value).

Do Lilypond work?
Do the other python27 programs work?

It works for me!

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


Re: midi2ly dll error

2016-04-04 Thread Gianmaria Lari
Ciao Federico,

regarding [configure Frescobaldi to reference a specific phyton compiler]
you wrote:


You must add it to the path in system preferences, as explained here:
> http://lilypond.org/windows.html


Yes, I can change the system path but this is something I wanted to avoid.
I have other software that refer to "c:\Python27" and changing the system
path will make them stop to working. I thought it was possible to specify
the python compiler to use only for Frescobaldi.

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


Re: midi2ly dll error

2016-04-04 Thread Federico Bruni
Il giorno lun 4 apr 2016 alle 8:19, Gianmaria Lari 
 ha scritto:
> You set it on the Frecobaldi Preferences page 
(Edit/Preferences/Helper

> Applications).

In the Frescobaldi Preferences page (Edit/Preferences/Helper 
Applications) I can set the path for the following applications: Pdf, 
Midi, SVG, Image, Browser, email, FileManager, Shell, Git. I don't 
see anything related to phyton compiler.


You must add it to the path in system preferences, as explained here:
http://lilypond.org/windows.html




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


Re: midi2ly dll error

2016-04-04 Thread Gianmaria Lari
Ciao Carl,

[configure Frescobaldi to reference a specific phyton compiler]

> You set it on the Frecobaldi Preferences page (Edit/Preferences/Helper
> Applications).

In the Frescobaldi Preferences page (Edit/Preferences/Helper Applications)
I can set the path for the following applications: Pdf, Midi, SVG, Image,
Browser, email, FileManager, Shell, Git. I don't see anything related to
phyton compiler.

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


Re: midi2ly dll error

2016-04-03 Thread Carl Sorensen
On 4/3/16 3:30 PM, "Gianmaria Lari"  wrote:

>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.


You set it on the Frecobaldi Preferences page (Edit/Preferences/Helper
Applications).

http://frescobaldi.org/uguide.html#help_preferences_helpers


HTH,

Carl


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


Re: midi2ly dll error

2016-04-03 Thread Gianmaria Lari
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 
wrote:

> 2016-04-03 1:03 GMT+02:00 Gianmaria Lari :
> > 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
> > 
> > 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 
> 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


Re: midi2ly dll error

2016-04-03 Thread Thomas Morley
2016-04-03 1:03 GMT+02:00 Gianmaria Lari :
> 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
> 
> 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 
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


Re: midi2ly dll error

2016-04-02 Thread Gianmaria Lari
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

import midi
ImportError: No module named midi

I'm using lilypond 2.19.35.
g.


On Sat, Apr 2, 2016 at 4:13 PM, Thomas Morley 
wrote:

> 2016-04-02 11:52 GMT+02:00 Gianmaria Lari :
> > Hello,
> >
> > When I try to convert from Midi to Lilypond using Frescobaldi I get the
> > following error:
> >
> > The file couldn't be converted Error message:
> > Traceback (Most recent call last):
> > File "C:\Program Files (x86)\LilyPond\usr\bin\midi2ly.py", line 54, in ?
> > import midi
> > ImportError: DLL load failed: The specified module could not be found.
> >
> >
> > Any suggestion to fix it?
> >
> > Thank you, g.
>
>
> Please try without frescobaldi in terminal
> midi2ly file-name.midi
> in order to eliminate any frescobaldi related problems.
>
> Cheers,
>   Harm
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: midi2ly dll error

2016-04-02 Thread Thomas Morley
2016-04-02 11:52 GMT+02:00 Gianmaria Lari :
> Hello,
>
> When I try to convert from Midi to Lilypond using Frescobaldi I get the
> following error:
>
> The file couldn't be converted Error message:
> Traceback (Most recent call last):
> File "C:\Program Files (x86)\LilyPond\usr\bin\midi2ly.py", line 54, in ?
> import midi
> ImportError: DLL load failed: The specified module could not be found.
>
>
> Any suggestion to fix it?
>
> Thank you, g.


Please try without frescobaldi in terminal
midi2ly file-name.midi
in order to eliminate any frescobaldi related problems.

Cheers,
  Harm

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


midi2ly dll error

2016-04-02 Thread Gianmaria Lari
Hello,

When I try to convert from Midi to Lilypond using Frescobaldi I get the
following error:

The file couldn't be converted Error message:
Traceback (Most recent call last):
File "C:\Program Files (x86)\LilyPond\usr\bin\midi2ly.py", line 54, in ?
import midi
ImportError: DLL load failed: The specified module could not be found.


Any suggestion to fix it?

Thank you, g.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user