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 Thomas,

On Wed, 8 May 2013 13:49:56 +0200
Thomas Schraitle <tom_schr@web.de> wrote:

> Hi Shlomi,
> 
> On Wed, 8 May 2013 14:08:59 +0300
> Shlomi Fish <shlomif@shlomifish.org> wrote:
> 
> > 
> > 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:
> 
> 
> You've used the namespace aware version. Have you tried the
> non-namespaced version? Download the docbook-xsl-snapshot.tar.bz2 and
> try again, please.

Now that I try it, I get the same result:

[SHELL]
shlomif@telaviv1:~$ 
shlomif@telaviv1:~$ 
shlomif@telaviv1:~$ 
shlomif@telaviv1:~$ 
shlomif@telaviv1:~$ 
shlomif@telaviv1:~$ 
shlomif@telaviv1:~$
ruby /home/shlomif/Download/unpack/file/docbook/docbook-xsl-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-snapshot/xhtml-1_1/docbook.xsl"
compilation error:
file /home/shlomif/Download/unpack/file/docbook/docbook-xsl-snapshot/epub/docbook.xsl
line 20 element import
xsl:import : unable to
load /home/shlomif/Download/unpack/file/docbook/docbook-xsl-snapshot/xhtml-1_1/docbook.xsl
warning: failed to load external entity
"/home/shlomif/Download/unpack/file/docbook/docbook-xsl-snapshot/xhtml-1_1/chunk-common.xsl"
compilation error:
file /home/shlomif/Download/unpack/file/docbook/docbook-xsl-snapshot/epub/docbook.xsl
line 21 element import
xsl:import : unable to
load /home/shlomif/Download/unpack/file/docbook/docbook-xsl-snapshot/xhtml-1_1/chunk-common.xsl
warning: failed to load external entity
"/home/shlomif/Download/unpack/file/docbook/docbook-xsl-snapshot/xhtml-1_1/chunk-code.xsl"
compilation error:
file /home/shlomif/Download/unpack/file/docbook/docbook-xsl-snapshot/epub/docbook.xsl
line 22 element include
xsl:include : unable to
load /home/shlomif/Download/unpack/file/docbook/docbook-xsl-snapshot/xhtml-1_1/chunk-code.xsl
/home/shlomif/Download/unpack/file/docbook/docbook-xsl-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/.epubtmp1368019229.582523" && 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-snapshot/epub/docbook.xsl" "/home/shlomif/.collapsed.PROCESSED_The-Enemy-English.db5.xml") (RuntimeError)
        from /home/shlomif/Download/unpack/file/docbook/docbook-xsl-snapshot/epub/bin/lib/docbook.rb:43:in
`render_to_file'
        from /home/shlomif/Download/unpack/file/docbook/docbook-xsl-snapshot/epub/bin/dbtoepub:75:in
`block in <main>'
        from /home/shlomif/Download/unpack/file/docbook/docbook-xsl-snapshot/epub/bin/dbtoepub:64:in
`each'
        from /home/shlomif/Download/unpack/file/docbook/docbook-xsl-snapshot/epub/bin/dbtoepub:64:in
`<main>'
shlomif@telaviv1:~$ 

[/SHELL]

I'm also interested in using the namespace-aware version.

shlomif@telaviv1:~/Download/unpack/file/docbook$ sha256sum
docbook-xsl-snapshot.tar.bz2
9df02e382ee2ca2fff961617befb6e98a3b825d2709fb5db909393c6e9d15582
docbook-xsl-snapshot.tar.bz2 
shlomif@telaviv1:~/Download/unpack/file/docbook$ 

Regards,

	Shlomi Fish

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
"Humanity" - Parody of Modern Life - http://shlom.in/humanity

My Commodore 64 is suffering from slowness and insufficiency of memory, and its
display device is grievously short of pixels.  Can anybody help?
    — Omer Zak

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]