lilypond-devel
[Top][All Lists]
Advanced

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

Re: dblatex and Error: cannot import name TexModule


From: Federico Bruni
Subject: Re: dblatex and Error: cannot import name TexModule
Date: Sat, 01 Sep 2012 19:44:18 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.5) Gecko/20120624 Icedove/10.0.5

Il 28/08/2012 16:41, John Mandereau ha scritto:
2012/8/27 Federico Bruni<address@hidden>:
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



reply via email to

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