lilypond-user
[Top][All Lists]
Advanced

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

Re: mac os x, lilypondtool, jedit, a puzzle


From: Brett Duncan
Subject: Re: mac os x, lilypondtool, jedit, a puzzle
Date: Sun, 04 May 2008 18:10:53 +1000
User-agent: Thunderbird 2.0.0.14 (Macintosh/20080421)

Stan Sanderson wrote:
In the interest of improving a great tool, I ask...

I'm sure I'm not the only one using jEdit with LilyPondTool on Mac OS 10 (10.4.11, PPC). I've had a dialogue with Bertalan Fodor (author of LilyPondTool) concerning its use on the Mac OS. He doesn't have access to a Mac and consequently finds answering my question difficult.

So, is there anyone using the Mac version of LilyPondTool who has found a way of successfully invoking convert-ly?

The problem appears to be related to differences in how the Mac and Windows versions use Python. From what Bertalan has suggested, LilyPondTool translates "convert-ly" to "<local path to Python>/convert-ly.py --edit <lilypond file name>".

 From the jEdit Activity Log...

9:36:26 AM [notice] AWT-EventQueue-0: '/Users/ssanders/Desktop/test1.ly'
9:36:26 AM [notice] AWT-EventQueue-0: command: convert-ly [Ljava.lang.String;@98ba6f 9:36:26 AM [error] AWT-EventQueue-0: java.io.IOException: /Applications/LilyPond.app/Contents/Resources/bin//python: not found 9:36:26 AM [error] AWT-EventQueue-0: at java.lang.UNIXProcess.forkAndExec(Native Method)

The same results are observed if the .py suuffix is included on the convert-ly command.

I can invoke "lilypond --version" successfully from the jEdit Console so the path to Lilypond appears to be correct. Invoking "convert-ly --version" (or convert-ly.py" produces an error message.

I have not found a way to communicate with the contents of /Applications/LilyPond.app/Contents/Resources/bin/ (other than lilypond itself) when using LilyPondTool.

Any solutions?

Stan

Up until now, I had not tried invoking convert-ly from inside jEdit, but had been happy to update directly with Lilypond.app. But this thread got me curious, so I tried it - and it works fine for me. (I'm running OSX 10.4.11 Intel.)

In jEdit, under Plugin Options: LilyPondTool: Commands, I have the path for convert-ly as "LilyPond.app/Contents/Resources/bin/convert-ly" (without the quotes, of course). I have both the jEdit and Lilypond apps in the same directory (my Applications folder).

Brett




reply via email to

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