Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#65789 - [lilypond] lilypond-book doesn't find python libs
Attached to Project:
Community Packages
Opened by andre (ad7) - Wednesday, 11 March 2020, 16:10 GMT
Last edited by Antonio Rojas (arojas) - Sunday, 15 March 2020, 11:09 GMT
Opened by andre (ad7) - Wednesday, 11 March 2020, 16:10 GMT
Last edited by Antonio Rojas (arojas) - Sunday, 15 March 2020, 11:09 GMT
|
DetailsDescription:
lilypond-book doesn't find correct python libs from python-ly package. Additional info: * package version(s) * config and/or log files etc. * link to upstream bug report, if any Steps to reproduce: pacman -S lilypond python-ly cat << EOF > test.lytex \documentclass[a4paper]{article} \begin{document} \begin{lilypond}[fragment,quote,staffsize=26,verbatim] c'4 f16 \end{lilypond} \end{document} EOF lilypond-book --output=out --pdf test.lytex After copying /usr/share/lilypond/2.20.0/python/* to /usr/local/share/lilypond/2.20.0/python the program lilypond-book command works again. for d in ['/usr/local/share/lilypond/2.20.0', '/usr/local/lib/lilypond/2.20.0']: sys.path.insert (0, os.path.join (d, 'python')) Best regards/liebe Grüße aus dem Seewinkel Andre |
This task depends upon
Closed by Antonio Rojas (arojas)
Sunday, 15 March 2020, 11:09 GMT
Reason for closing: Fixed
Additional comments about closing: lilypond 2.20.0-2
Sunday, 15 March 2020, 11:09 GMT
Reason for closing: Fixed
Additional comments about closing: lilypond 2.20.0-2
I was able to work around it by hacking the `/usr/bin/lilypond-book` script (which is Python 2) with basically this:
sudo sed -i -e 's!/usr/local/!/usr/!g' /usr/bin/lilypond-book