lilypond-user
[Top][All Lists]
Advanced

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

Re: Python scripts on WindowsXP, was: abc2ly on Windows XP


From: Mats Bengtsson
Subject: Re: Python scripts on WindowsXP, was: abc2ly on Windows XP
Date: Tue, 04 Jul 2006 23:37:58 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050927 Debian/1.7.8-1sarge3

Dewdman42 wrote:

Trent,

When I first installed 2.9.9 I had this problem a lot too.  I found that if
I ran the script as follows from the windows command line:

  python C:\my_full_path\musicxml2ly.py [options]

That it worked fine.  The trick was using the full path name of the python
script.  Don't ask me why.  I'm sure this must be an environment issue and
I'm willing to bet that setting something in the ENV will fix this issue,
perhaps an addition to PATH or some python related env variable.  I honestly
don't know.
I haven't tried any 2.9.x version on Windows yet, but it seems
very strange that this trick should solve any problems, since
the LilyPond installer puts the LilyPond bin\ directory first in the
PATH environment variable, which would imply that your command
runs the python.exe version that's included in the LilyPond
package, just as would be done if you ran the musicxml2ly
commend directly. (However, I know that the hackers have
been fiddling around with how a script knows where it's
located, so there may very well be a difference between
versions 2.8 and 2.9 and between different 2.9.x versions).

But using the full path of the py script seemed to solve that
issue.  I also had to run it from the lilypond dir...I didn?t try anywhere
else yet.
Then, why do you say you "had to"? Sorry to sound sarcastic,
but this sound like complete nonsense to me!

I really think that trying all the different versions of lilypond
is not the answer for you.  It?s a windows env thing.  Unfortunately, it
seems the windows version of Lilypond is really just a minimal port..the
software seems to work, but some installation issues and env issues such as
this are, I believe, fixable under windows, but will require some sleuthing. It would definitely be nice if the windows lilyond installer took care of it
already.
I know that the main hackers would be more than happy if
anybody with Windows competence could assist them with
these issues.

/Mats




reply via email to

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