[Top][All Lists]

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

Re: Good and bad news about Lilypond 2.9.20 on Windows

From: Mats Bengtsson
Subject: Re: Good and bad news about Lilypond 2.9.20 on Windows
Date: Wed, 04 Oct 2006 12:54:21 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20060911 Red Hat/1.0.5-0.1.el4 SeaMonkey/1.0.5

Han-Wen Nienhuys wrote:
can you tell me what

import sys
print sys.platform


The second problem is new for this release. When I call the program using the native Python package, it doesn't find the lilypond executable, for some strange reason:

I've verified that the lilypond bin directory is at the top of the path and it works to call lilypond from the command line, so the PATH must get lost somewhere along
the way.

does it work if you substitute ly.system() calls with os.system() ?
No. I have verified that os.environ['PATH'] is set correctly, just before the
call to os.system and that I can call lilypond from within python when I run
python (the one supplied with LilyPond) separately, so it's really weird.


        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe

reply via email to

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