lilypond-user
[Top][All Lists]
Advanced

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

2.8.7: runtime errors


From: Ebrahim Mayat
Subject: 2.8.7: runtime errors
Date: Thu, 12 Oct 2006 14:04:35 +0200

Hello again

Now that compilation ran successfully, a few questions for running the lilypond binary and scripts:

I first tried to generate a lilypond source file from a MIDI file:

bash-3.00$ midi2ly example.mid
Traceback (most recent call last):
  File "/usr/local/bin/midi2ly", line 60, in ?
    import lilylib as ly
ImportError: No module named lilylib

But the lilylib modules are properly installed: 

bash-3.00$ ls /usr/local/share/lilypond/2.8.7/python/lilylib*
/usr/local/share/lilypond/2.8.7/python/lilylib.pyc
/usr/local/share/lilypond/2.8.7/python/lilylib.py

So, I generated the lilypond source file using rosegarden and then tried to produce the corresponding notation:
 
bash-3.00$ lilypond example.ly
GNU LilyPond 2.8.7
ERROR: In procedure primitive-load-path:
ERROR: Unable to find file "lily.scm" in load path

Again, the "lily.scm" file is properly installed.

bash-3.00$ find /usr/local/share -name 'lily.scm'
/usr/local/share/lilypond/2.8.7/scm/lily.scm

Tried setting the LOAD_PATH environment variable:

export LOAD_PATH=/usr/local/share/lilypond/2.8.7/scm

but I still get the same error. 

From the INSTALL file, I gather that a source path also needs to be set. 

Q: Which environment variables need to be set to run the lilypond executable and scripts correctly?

Thanks in advance.
E

reply via email to

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