Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No error output with -a ebook-validate #404

Open
tombentley opened this issue Jul 28, 2021 · 5 comments
Open

No error output with -a ebook-validate #404

tombentley opened this issue Jul 28, 2021 · 5 comments

Comments

@tombentley
Copy link

I'm running asciidoctor-epub3 in a container and while an epub output is created, if I try to validate it I'm told validation failed with no further diagnostics about what was wrong.

Command: asciidoctor-epub3 -D output -R src -a ebook-validate --verbose src/master-epub.adoc

Output:

asciidoctor: DEBUG: Wrote EPUB3 to /build/output/master-epub.epub
asciidoctor: DEBUG: Using EPUBCheck from gem: /usr/lib/ruby/gems/2.7.0/gems/epubcheck-ruby-4.2.5.0/exe/epubcheck
asciidoctor: ERROR: EPUB validation failed: /build/output/master-epub.epub
@slonopotamus
Copy link
Contributor

Most likely cause is that you don't have java on PATH.

@tombentley
Copy link
Author

That was indeed the problem, thanks! It's not mentioned that java is a runtime dependency in the docs though: https://docs.asciidoctor.org/epub3-converter/latest/

@slonopotamus
Copy link
Contributor

Reported upstream: takahashim/epubcheck-ruby#18

@slonopotamus
Copy link
Contributor

Docs don't even say that you should install epubcheck-ruby to get epubcheck :) I'll improve the docs and close this issue then.

@tombentley
Copy link
Author

Great, thanks!

meonkeys added a commit to meonkeys/shb that referenced this issue Jan 12, 2024
and remove bsdextrautils. Not sure what that was for, everything still builds just fine without it.

See also:

* <takahashim/epubcheck-ruby#18>
* <asciidoctor/asciidoctor-epub3#404>
meonkeys added a commit to meonkeys/shb that referenced this issue Jan 12, 2024
and remove bsdextrautils. Not sure what that was for, everything still builds just fine without it.

See also:

* <takahashim/epubcheck-ruby#18>
* <asciidoctor/asciidoctor-epub3#404>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants