On May 4, 2008, at 12:32 PM, James E. Bailey wrote:
Am 04.05.2008 um 18:58 schrieb Stan Sanderson:
On May 4, 2008, at 3:10 AM, Brett Duncan wrote:
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
Thanks to all who responded. As I explained to Bertalan Fodor, the
lack of ability to use convert-ly from within jEdit is a minor
inconvenience, since the command is easily invoked outside of it.
Brett- the path you suggest is one (of many possibilities) which I
had previously tried (and just tried again) on PPC OS 10.4.11. It
does not work for me.
I am using the latest jEdit v4.3pre14 and LilyPondTool v2.10.5.
Regards,
Stan
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
May I ask where convert-ly is located on your computer? It should
be there.
locate convert-ly
/Applications/LilyPond.app/Contents/Resources/bin/convert-ly
Stan
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user