thSoft / elysium

LilyPond IDE for Eclipse
http://elysium.thsoft.hu
14 stars 3 forks source link

Handle if init.ly is not in share/lilypond/current/ly/ #23

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create new LilyPond Project in Eclipse
2. modify newly created score.ly file

What is the expected output? What do you see instead?
I expect nothing to happen yet.
But I get an FileNotFound Exception for init.ly
For complete Stacktrace see Attachment

What version of the product are you using? On what operating system?
I tried to use Eclipse Indigo on Ubuntu Linux with Elysium 0.2.0.201107050444 
installed from Eclipse Marketplace

Original issue reported on code.google.com by dirk.kas...@gmail.com on 6 Jul 2011 at 11:01

Attachments:

GoogleCodeExporter commented 9 years ago
This is because the LilyPond executable path isn't correct. Just made the 
thrown exception reflect this in r8721d344cc64, releasing soon...

Original comment by harmathdenes on 6 Jul 2011 at 11:21

GoogleCodeExporter commented 9 years ago
I'm not sure if this is the point.
The LilyPond executable path is set to /usr/bin/lilypond where the executable 
is.
<ctrl>+<t> does its job and compiles the pdf file.
But the init.ly is in /usr/share/lilypond/2.12.3/ly/init.ly. How could this 
file be found based on the LilyPond executable path?

Original comment by dirk.kas...@gmail.com on 6 Jul 2011 at 12:10

GoogleCodeExporter commented 9 years ago
Ah, I see, the Ubuntu package sets the directory name to '2.12.3' instead of 
'current'. As a workaround, you can manually create a symlink:
$ cd /usr/share/lilypond
$ sudo ln -s 2.12.3 current

Original comment by harmathdenes on 6 Jul 2011 at 12:22

GoogleCodeExporter commented 9 years ago
thx for your help. The workaround works fine.

Original comment by dirk.kas...@gmail.com on 6 Jul 2011 at 12:27

GoogleCodeExporter commented 9 years ago
I'd like to add that Fedora also doesn't have /usr/share/lilypond/current .

Original comment by jvrom...@gmail.com on 30 Jul 2011 at 2:15

GoogleCodeExporter commented 9 years ago
Issue 45 has been merged into this issue.

Original comment by harmathdenes on 27 Feb 2012 at 10:40