asciidoctorj icon indicating copy to clipboard operation
asciidoctorj copied to clipboard

EPUB3 generation fails on Windows if KF8 format is used.

Open ysb33r opened this issue 7 years ago • 6 comments
trafficstars

it will fail with a ENOENT error even if the command-line such as

C:\\Path\\To\\kindlegen.exe -dont_append_source -c0 -o epub3.mobi C:/Path/To/epub3-kf8.epub

correctly executes on the command-line.

ysb33r avatar Jun 19 '18 16:06 ysb33r

Probably related to this? https://github.com/jruby/jruby/issues/4943

abelsromero avatar Jun 19 '18 16:06 abelsromero

Absolutely. That must be it.

ysb33r avatar Jun 19 '18 16:06 ysb33r

A workaround could be to patch asciidoctorj to optionally execute kindlegen. AsciidoctorJ can set the flag not to execute and then rather run kindlegen itself after the initial conversion. Not puristic, but solves the problem.

ysb33r avatar Jun 19 '18 16:06 ysb33r

This issue has nothing to do with AsciidoctorJ because it is reproducible by running vanilla asciidoctor-epub3 on top of JRuby on Windows. I suggest using asciidoctor/asciidoctor-epub3#154 to track its progress.

slonopotamus avatar Jan 24 '20 15:01 slonopotamus

asciidoctor/asciidoctor-epub3#154 was fixed and ~will be part of soon-to-happen 1.5.0.alpha.11~ released in asciidoctor-epub3 1.5.0.alpha.11.

slonopotamus avatar Jan 25 '20 20:01 slonopotamus

@robertpanzer what do you think about closing this?

slonopotamus avatar Jan 25 '20 20:01 slonopotamus