Just for grins, try the two commands at the $ prompt below. See if your
responses look like mine.
$sudo find /Applications/LilyPond.app/ -name "lilylib.py" -print
/Applications/LilyPond.app//Contents/Resources/share/lilypond/current/
python/lilylib.py
This works, I get your same response.
$grep "lilypond/current"
/Applications/LilyPond.app/Contents/Resources/bin/lilypond-book
datadir = os.path.abspath (bindir + '/../%s/lilypond/current/ python/'
% p)
This doesn't: I don't get any output here...
Is this the problem? Is something wrong with my installation? Should I try
downgrade?
Davide
Fred Leason
On Feb 25, 2007, at 3:37 PM, Davide Benini wrote:
I have had a look at the message, and scanned the mailing list for
similar stuff, but none apply to my case. The code indicated in the
linked page is nowhere in the lilypond folder (I scanned it with a global
textmate search): I tried to add the suggested path tp my path; here my
$PATH:
/bin:/sbin:/usr/bin:/usr/sbin:/usr/texbin:/usr/local/bin:/
Applications/LilyPond.app/Contents/Resources/bin:/Applications/
LilyPond.app/Contents/Resources/share/lilypond/current/python/:/sw:/
sw/bin:/usr/local/bin:/Users/davidebenini/.miktex/tex/latex/
I also tried to add and eliminate the slash after the bin and python
directory, just in in case. Yet I get the very same error:
computer-di-patrizia-benini:~/Documents/Universitas/Dottorato/
thesis/final-latin davidebenini$ lilypond-book --pdf --format=latex
--output=finalOutput joyce.texTraceback (most recent call last):
File "/Applications/LilyPond.app/Contents/Resources/bin/lilypond- book",
line 44, in ?
import lilylib as ly
ImportError: No module named lilylib
Any suggestion?
Thanks in advance,
Davide
From: Mats Bengtsson <[EMAIL PROTECTED]>
See http://article.gmane.org/gmane.comp.gnu.lilypond.general/28264/
match=lilylib
and several similar emails in the mailing list archives.
/Mats
Davide Benini wrote:
Hello folks.
I am using using lilypond-book to embed some music fragments in a latex
document.
So far I had been using lilypond on a powerpc mac, and everything went
smooth.
Now I had to switch to an Intel mac, an things are not working. I am
using lilypond 2.10.19-1
I launch lilypond-book with this command
lilypond-book --pdf --format=latex --output=finalOutput joyce.tex
and I get this log:
Traceback (most recent call last):
File "/Applications/LilyPond.app/Contents/Resources/bin/lilypond-
book", line 44, in ?
import lilylib as ly
ImportError: No module named lilylib
Quite weirdly, I get the same error with lilypond-book without any
argument or option.
I guess this has something ti do with paths, althoughI have already
added /Applications/LilyPond.app/Contents/Resources/bin to my bash
$PATH.
Any suggestion?
Cheers,
Davide
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's
FREE! http://messenger.msn.click-url.com/go/onm00200471ave/ direct/01/
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
--
=============================================
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44 STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
Fax: (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=============================================
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
_________________________________________________________________
Don't just search. Find. Check out the new MSN Search!
http://search.msn.com/
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user