OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] dbtoepub is broken on latest docbook-xsl-ns-snapshot


Hi all,

On Mon, 6 May 2013 20:23:52 +0300
Shlomi Fish <shlomif@shlomifish.org> wrote:

> Hi all,
> 
> dbtoepub appears to be broken on the latest docbook-xsl-ns-snapshot. How can
> it be fixed? I'm on Mageia Linux 3 Cauldron and the xhtml-1_1 stylesheets
> appear to be missing. I'm attaching the offending DocBook 5/XML file inside
> a .zip file.
> 

This still happens with the latest snapshot:

1.
$ tar -tvf ~/docbook-xsl-ns-snapshot.tar.bz2  | grep xhtml-1 | wc -l
0

2. sha256sum gives me:

f6ab45400273992f0dc2d5bf769abc1f77315a941b73d069562d182075041faf  /home/shlomif/docbook-xsl-ns-snapshot.tar.bz2

3. Dated from 8-May:

4. With the .zip I am getting:

shlomif@telaviv1:~$
ruby /home/shlomif/Download/unpack/file/docbook/docbook-xsl-ns-snapshot/epub/bin/dbtoepub
-o The-Enemy-English.epub PROCESSED_The-Enemy-English.db5.xml warning: failed
to load external entity
"/home/shlomif/Download/unpack/file/docbook/docbook-xsl-ns-snapshot/xhtml-1_1/docbook.xsl"
compilation error:
file /home/shlomif/Download/unpack/file/docbook/docbook-xsl-ns-snapshot/epub/docbook.xsl
line 21 element import xsl:import : unable to
load /home/shlomif/Download/unpack/file/docbook/docbook-xsl-ns-snapshot/xhtml-1_1/docbook.xsl
warning: failed to load external entity
"/home/shlomif/Download/unpack/file/docbook/docbook-xsl-ns-snapshot/xhtml-1_1/chunk-common.xsl"
compilation error:
file /home/shlomif/Download/unpack/file/docbook/docbook-xsl-ns-snapshot/epub/docbook.xsl
line 22 element import xsl:import : unable to
load /home/shlomif/Download/unpack/file/docbook/docbook-xsl-ns-snapshot/xhtml-1_1/chunk-common.xsl
warning: failed to load external entity
"/home/shlomif/Download/unpack/file/docbook/docbook-xsl-ns-snapshot/xhtml-1_1/chunk-code.xsl"
compilation error:
file /home/shlomif/Download/unpack/file/docbook/docbook-xsl-ns-snapshot/epub/docbook.xsl
line 23 element include xsl:include : unable to
load /home/shlomif/Download/unpack/file/docbook/docbook-xsl-ns-snapshot/xhtml-1_1/chunk-code.xsl /home/shlomif/Download/unpack/file/docbook/docbook-xsl-ns-snapshot/epub/bin/lib/docbook.rb:91:in
`render_to_epub': Could not render as .epub to The-Enemy-English.epub (cd
"/home/shlomif/tmp/.epubtmp1368011298.393787" && xsltproc --stringparam
chunk.quietly 1 --stringparam callout.graphics.path images/callouts/
--stringparam callout.graphics.number.limit 15 --stringparam
callout.graphics.extension .png --stringparam base.dir OEBPS/  --stringparam
epub.metainf.dir META-INF/ --stringparam epub.oebps.dir OEBPS/
"/home/shlomif/Download/unpack/file/docbook/docbook-xsl-ns-snapshot/epub/docbook.xsl"
"/home/shlomif/.collapsed.PROCESSED_The-Enemy-English.db5.xml") (RuntimeError)
from /home/shlomif/Download/unpack/file/docbook/docbook-xsl-ns-snapshot/epub/bin/lib/docbook.rb:43:in
`render_to_file'
from /home/shlomif/Download/unpack/file/docbook/docbook-xsl-ns-snapshot/epub/bin/dbtoepub:75:in
`block in <main>'
from /home/shlomif/Download/unpack/file/docbook/docbook-xsl-ns-snapshot/epub/bin/dbtoepub:64:in
`each'
from /home/shlomif/Download/unpack/file/docbook/docbook-xsl-ns-snapshot/epub/bin/dbtoepub:64:in
`<main>' shlomif@telaviv1:~$ 

============

Can anyone help?

Regards,

	Shlomi Fish

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
"Star Trek: We, the Living Dead" - http://shlom.in/st-wtld

Q2: Busy people are unproductive. We are very productive and so we’re never
busy.
    — http://www.shlomifish.org/humour/Star-Trek/We-the-Living-Dead/

Please reply to list if it's a mailing list post - http://shlom.in/reply .


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]