< Back to IRCAM Forum

Omlily

Hello Omusers, hello Karim,

I would like to try the omlily-lib but failed loading in getting the following error messages:

“Argument nil is not of type…” (see screenshot),

Is there something I have to change to have a proper argument conveyed?

Thanks in advance
Kindly
Peter

PS: OM 6.14, MacOs 10.13.6 High Sierra

Screen-Shot-2019-02-12-at-18.01.58.png

Dear PRe,

I will look into that. And will be back to you ASAP.
I Assume you are running the latest om 6.14 ?

best
K

Hello Karim,

that was quick, thanks for your prompt reply. Yes OM 6.14 and MacOs High Sierra.

looking forward hearing from you

best
Peter

Ok,
Sorry now i remember,
You didn’t properly install lilypond. I.e you should install a script as mentionned on lilypond’s site here:
http://lilypond.org/website/macos-x.html
under “Running on the command-line”
Just follow the instruction.
The error comes because when you load omlily, it tries to initialize some settings, and one of them is the script which should be on mac as mentioned on this page.
I know it is my bad, should work out to do some warning instead of an error.

Best
K

Hello again

I tried this already but my expertise in shell commands seems to have been too poor.
I will focus a bit on that and try again…

Thank you for your support.

Best,
Peter

Dear Peter,

If you wait until tomorrow, i will fix you a special code that by passes this issue. But then, the lib object will just generate a .ly file that you should manually open and compile with your lilypond.app

Will release this here ASAP

Best
K

Hello Peter, just an unrelated note about your screenshot: what is expected for you to specify in the “Libraries location” part of the preference window is a folder which contains your additional libraries, not the libraries themselves.
There is one default search location in [home]/OM/Libraries/ (even if you don’t specify any folder)
So I don’t think you need to specify any of these folders.

Dear Karim,

that would be great. Meantime I succeeded in creating the script-files, also in loading the library. Only on saving after evaluating om->lily I got an error … (see screenshot).
So, if you find the time for that fix, that’ll be nice; otherwise I will revisit the whole context more deeply…

Thanks and all the best
Peter

Screen-Shot-2019-02-12-at-21.45.56.png

Dear Peter,

This error is related to the previous one. So i hacked the code. Just test it: replace this lib with the former one.
It is supposed to work. Not 100% sure because :
I dev on linux. and the only mac i’ve got has an old OS (10.6) which prevents me to use the latest om.
However in principle, it should work without all these annoyances. You will have just a .ly code as output.
If it bugs again, please feel free to report to me. I will fix it ASAP i have my hands on a new Mac with a new OS.

Best
K

omlily-2.3.7b.zip (103 KB)

Hello Jean,

thanks for your support. I think I was struggling with the High Sierra restrictions in accessing the Applications-folder, so I helped me out with this… Anyway, I now see the redundancy…

@omsheet: also thanks for your reply: I will be able to deal with this. Nonetheless a great tool… As the whole suite you guys did!!!

Best
Peter

Dear Karim

I will download an try. And I’ll report you tomorrow.

Again: much appreciated!!

Best
Peter

Dear Karim

So far so great! Everything works fine. As you said, I just have to copy the code from the file to a new lilypond-file…
Now looking forward to going deeper in all these writing issues…

Again thanks for your support!

All the best
Peter

Dear Peter,

You don’t even have to copy the code. If you name your output file xxx.ly and save it somewhere (unless you don’t have an output file ???), you can doubleclick on it and will supposedly open automagically with lilypond.app

Best
Have fun

K