Closed Thanatermesis closed 3 years ago
Hi, thanks for reporting. We noticed the issue and fix it soon. New release will be provided.
Hi, could you please reinstall https://github.com/asciidocfx/AsciidocFX/releases/tag/v1.7.4 and check?
Ok, I just tried and the bug is not fixed, but I wanted also to report a few more things found:
ERROR => Problem occured while moving /tmp/epub13349130918117519979/book.epub to /usr/share/AsciidocFX/conf/Support.epub
java.nio.file.AccessDeniedException: /tmp/epub13349130918117519979/book.epub -> /usr/share/AsciidocFX/conf/Support.epub
at...
this error is not the real cause but I wanted to report it too, so the tarball was installed on the system and by root, these files should not be used in write mode (instead, using user's files or its own cache files) and thus that's why it errors
ERROR => Problem occured while converting to Epub
java.util.NoSuchElementException: No value present
at java.base/java.util.Optional.get(Optional.java:143)
at com.kodedu.service.convert.ebook.EpubConverter.produceEpub3(EpubConverter.java:83)
at com.kodedu.service.convert.ebook.EpubConverter.produceEpub3(EpubConverter.java:76)
at com.kodedu.controller.ApplicationController.lambda$convertEpub$7(ApplicationController.java:466)
at com.kodedu.controller.ApplicationController$$Lambda$2265/0x0000000083248848.run(Unknown Source)
at com.kodedu.service.ThreadService$1.call(ThreadService.java:48)
at javafx.graphics/javafx.concurrent.Task$TaskCallable.call(Task.java:1425)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(ForkJoinTask.java:1414)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:295)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1016)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1665)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1598)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
Tested with other exporters (except Mobi, because of lack of kindlegen executable) and all the others worked
Thank you
Can you run epub generation but some other file than Support.adoc like Cheatsheet.adoc? Config folder may not have permission to create.
I fixed the copy file issue, it was exist only for read only files like Support.adoc.
Hi, could you please reinstall https://github.com/asciidocfx/AsciidocFX/releases/tag/v1.7.4 and check ?
Thanks for the update, the last one CORRECTLY generates the epub files now :)
I did it with Cheatsheet.adoc and it worked, but unfortunately it lacked a few images from the markup in the resulting epub:
other images like the Chart / Statistics worked correctly
That’s great, as I remember we didn’t implement admonitions image for epub. Thank you for rising the issue and helping to verify 👍
I just downgraded to 1.7.3 that the EPUB rendering works correctly, it doesn't works on 1.7.4, tested on Debian stable codename Buster