Issue 2355 in lilypond: convert-ly uses out-of-tree convertrules.py

2012-02-26 Thread lilypond

Status: Accepted
Owner: 

New issue 2355 by d...@gnu.org: convert-ly uses out-of-tree convertrules.py
http://code.google.com/p/lilypond/issues/detail?id=2355

I did
make clean  make -j3
and got the error
chmod 755 out/lilysong
/usr/local/tmp/lilypond/scripts/build/out/help2man out/convert-ly   
out/convert-ly.1

chmod 755 out/lilymidi
/usr/local/tmp/lilypond/scripts/build/out/help2man out/lilypond-book   
out/lilypond-book.1

chmod 755 out/musicxml2ly
/usr/local/tmp/lilypond/scripts/build/out/help2man out/abc2ly  out/abc2ly.1
Traceback (most recent call last):
  File out/convert-ly, line 56, in module
import convertrules
  File /usr/local/share/lilypond/2.15.31/python/convertrules.py, line 3323
@rule((2, 15, 31), r\settingsFrom - \context-like
  ^
SyntaxError: EOL while scanning string literal
help2man: can't get `--help' info from out/convert-ly
make[1]: *** [out/convert-ly.1] Error 1
make[1]: *** Waiting for unfinished jobs
langdefs.py: warning: lilypond-doc gettext domain not found.
langdefs.py: warning: lilypond-doc gettext domain not found.
make[1]: Leaving directory `/usr/local/tmp/lilypond/scripts'
make: *** [all] Error 2

Obviously, this is due to me having installed a bad version of convert-ly  
previously, but if I do make clean  make, no out-of-tree parts of  
LilyPond should be referenced.  Clearly,  
/usr/local/share/lilypond/2.15.31/python/convertrules.py should never have  
been read here.



___
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond


Re: Issue 2355 in lilypond: convert-ly uses out-of-tree convertrules.py

2012-02-26 Thread lilypond

Updates:
Labels: Type-Build

Comment #1 on issue 2355 by d...@gnu.org: convert-ly uses out-of-tree  
convertrules.py

http://code.google.com/p/lilypond/issues/detail?id=2355

(No comment was entered for this change.)


___
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond


Re: Issue 2355 in lilypond: convert-ly uses out-of-tree convertrules.py

2012-02-26 Thread lilypond


Comment #2 on issue 2355 by gra...@percival-music.ca: convert-ly uses  
out-of-tree convertrules.py

http://code.google.com/p/lilypond/issues/detail?id=2355

Indeed.  To avoid misunderstandings, the convert-ly script itself can  
handle being called as part of the build dir; that's in the instructions  
for the LSR import.  This is a question of python calling that module from  
its PYTHONPATH.


I'm guessing that llypond python build dir needs to be prepended to  
PYTHONPATH, not appended.




___
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond