Re: dblatex and Error: cannot import name TexModule
Il 28/08/2012 16:41, John Mandereau ha scritto: 2012/8/27 Federico Brunifedel...@gmail.com: I've stumbled again on this error while running make doc: http://lilypond-translations.3384276.n2.nabble.com/make-doc-error-cannot-import-name-TexModule-td7467314.html Here's the output: cd ./out-www dblatex suffix-lyxml.xml Build the book set list... Build the listings... XSLT stylesheets DocBook - LaTeX 2e (0.3.4-1) === Build suffix-lyxml.pdf A possible reason for transformation failure is invalid DocBook (as reported by xmllint) Which program or input does the invalid DocBook come from? lilypond-book, I think. I made a new try and the output seems more detailed: cd ./out-www /home/fede/lilypond-git-test/scripts/build/out/run-and-check dblatex suffix-lyxml.xml suffix-lyxml.dblatex.log Please check the logfile suffix-lyxml.dblatex.log for errors make[4]: *** [out-www/suffix-lyxml.pdf] Error 1 make[4]: Leaving directory `/home/fede/lilypond-git-test/input/regression/lilypond-book' The log file is just a copy of the output. Error: cannot import name TexModule make[4]: *** [out-www/suffix-lyxml.pdf] Error 1 make[4]: Leaving directory `/home/fede/lilypond-git/input/regression/lilypond-book' make[3]: *** [WWW-1] Error 2 make[3]: Leaving directory `/home/fede/lilypond-git/input/regression' make[2]: *** [WWW-1] Error 2 make[2]: Leaving directory `/home/fede/lilypond-git/input' make[1]: *** [WWW-1] Error 2 make[1]: Leaving directory `/home/fede/lilypond-git' make: *** [doc-stage-1] Error 2 I have dblatex-0.3-4.fc17 installed on my regular laptop, and 0.3.4-1 (same version as yours) on Grenouille with Debian unstable, and I didn't ever hit such build error. On Grenouille with Debian unstable, dblatex 0.3.4-1 package explicitly requires Python 2.6 or 2.7, are you sure there isn't a mismatch on your system with Python, or a compatibility issue some other xml-related dependency of dblatex? My default python is 2.7.3 libxml2-utils is installed. These are the docbook packages I have installed: $ aptitude search ~idocbook i A docbook-dsssl i A docbook-utils i A docbook-xml i A docbook-xsl i A docbook-xsl-doc-html -- Federico ___ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel
Re: dblatex and Error: cannot import name TexModule
Il 27/08/2012 13:51, Federico Bruni ha scritto: The quick solution was removing dblatex. But it looks like now dblatex is a required dependency. I think that it is required if ./configure finds it installed. I haven't tried to make a clean build (which maybe could solve the problem?), because I don't have a superfast laptop and the hot temperature may force my laptop to suspend. I removed dblatex and made a distclean + clean build. Now it compiles fine. I'll try to remember to never ever install dblatex. ___ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel
Re: dblatex and Error: cannot import name TexModule
2012/8/27 Federico Bruni fedel...@gmail.com: I've stumbled again on this error while running make doc: http://lilypond-translations.3384276.n2.nabble.com/make-doc-error-cannot-import-name-TexModule-td7467314.html Here's the output: cd ./out-www dblatex suffix-lyxml.xml Build the book set list... Build the listings... XSLT stylesheets DocBook - LaTeX 2e (0.3.4-1) === Build suffix-lyxml.pdf A possible reason for transformation failure is invalid DocBook (as reported by xmllint) Which program or input does the invalid DocBook come from? Error: cannot import name TexModule make[4]: *** [out-www/suffix-lyxml.pdf] Error 1 make[4]: Leaving directory `/home/fede/lilypond-git/input/regression/lilypond-book' make[3]: *** [WWW-1] Error 2 make[3]: Leaving directory `/home/fede/lilypond-git/input/regression' make[2]: *** [WWW-1] Error 2 make[2]: Leaving directory `/home/fede/lilypond-git/input' make[1]: *** [WWW-1] Error 2 make[1]: Leaving directory `/home/fede/lilypond-git' make: *** [doc-stage-1] Error 2 I have dblatex-0.3-4.fc17 installed on my regular laptop, and 0.3.4-1 (same version as yours) on Grenouille with Debian unstable, and I didn't ever hit such build error. On Grenouille with Debian unstable, dblatex 0.3.4-1 package explicitly requires Python 2.6 or 2.7, are you sure there isn't a mismatch on your system with Python, or a compatibility issue some other xml-related dependency of dblatex? Best J ___ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel
dblatex and Error: cannot import name TexModule
I've stumbled again on this error while running make doc: http://lilypond-translations.3384276.n2.nabble.com/make-doc-error-cannot-import-name-TexModule-td7467314.html Here's the output: cd ./out-www dblatex suffix-lyxml.xml Build the book set list... Build the listings... XSLT stylesheets DocBook - LaTeX 2e (0.3.4-1) === Build suffix-lyxml.pdf A possible reason for transformation failure is invalid DocBook (as reported by xmllint) Error: cannot import name TexModule make[4]: *** [out-www/suffix-lyxml.pdf] Error 1 make[4]: Leaving directory `/home/fede/lilypond-git/input/regression/lilypond-book' make[3]: *** [WWW-1] Error 2 make[3]: Leaving directory `/home/fede/lilypond-git/input/regression' make[2]: *** [WWW-1] Error 2 make[2]: Leaving directory `/home/fede/lilypond-git/input' make[1]: *** [WWW-1] Error 2 make[1]: Leaving directory `/home/fede/lilypond-git' make: *** [doc-stage-1] Error 2 The quick solution was removing dblatex. But it looks like now dblatex is a required dependency. I haven't tried to make a clean build (which maybe could solve the problem?), because I don't have a superfast laptop and the hot temperature may force my laptop to suspend. I hope you have some suggestions. Thanks -- Federico ___ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel
Re: dblatex and Error: cannot import name TexModule
Il 27/08/2012 13:51, Federico Bruni ha scritto: Error: cannot import name TexModule This error reminds me python errors.. I have no clue of what's happening but I tried to set the PYTHONPATH, as suggested here: http://lilypond.org/doc/v2.15/Documentation/contributor/problems export PYTHONPATH=/home/fede/lilypond-git/python/out As you can see, I'm building in the git root directory and not in build/ ___ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel