lilypond-devel
[Top][All Lists]
Advanced

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

Re: Make doc is broken


From: Phil Holmes
Subject: Re: Make doc is broken
Date: Tue, 23 Aug 2011 15:42:52 +0100

----- Original Message ----- From: "Reinhold Kainhofer" <address@hidden>
To: "Colin Campbell" <address@hidden>
Cc: "Phil Holmes" <address@hidden>; <address@hidden>
Sent: Tuesday, August 23, 2011 2:59 PM
Subject: Re: Make doc is broken


Am Dienstag, 23. August 2011, 05:37:48 schrieb Colin Campbell:
HTH, and let me know, too, about any tracing I can do; I'm on 64-bit
Ubuntu Natty

It looks like python in your installations doesn't try to load packages from the input/regression/musicxml/ directory (here on my 32 bit Ubuntu natty it does). Can you (Phil and Colin) plase add the following debug statements in
scripts/lilypond-book.py in line 609. The for loop should look like:
   for i in global_options.custom_packages:
       nr += 1
       print "  Loading package %s"  % i
       print "  sys.path: %s"  % sys.path
print " PYTHONPATH: %s" % os.environ.get ("PYTHONPATH", "(UNSET)")
       sys.path.append (os.getcwd ())
       print "  sys.path: %s"  % sys.path
       print imp.load_source ("book_custom_package%s" % nr, i)

This also includes a possible fix (the sys.path.append, where I append the
input/regression/musicxml/ dir to the standard search path).

Then please run:
-) "make" (no need to clean before; you also don't have to wait until the C++
is compiled, but can kill the make as soon as all python file have been
processed at the very beginning)
-) "cd input/regression/musicxml"
-) "make doc"; also no need to clean before, you can kill the command as soon
as lilypond-book has started



Following the instructions to the letter, I find that lilypond-book doesn't run at all. Even if I touch one of the source .tely files it doesn't run. I'm loathe to experiment since it's your baby - please let me know what else I should try.

--
Phil Holmes





reply via email to

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