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

濁点フォント使用時にAozoraEpub3がエラーを起こす #369

Open
okaits opened this issue Jun 27, 2020 · 4 comments
Open

濁点フォント使用時にAozoraEpub3がエラーを起こす #369

okaits opened this issue Jun 27, 2020 · 4 comments

Comments

@okaits
Copy link

okaits commented Jun 27, 2020

濁点フォントを使うときにエラーがおきます。
これは log/2020****_convert.txtの一部です:
[17:06:30] [INFO] 濁点フォント利用 (23183) : え゛
[17:06:30] No protocol specified
[17:06:30] java.io.IOException: This archives contains unclosed entries.
[17:06:30] at org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream.finish(ZipArchiveOutputStream.java:343)
[17:06:30] at org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream.close(ZipArchiveOutputStream.java:550)
[17:06:30] at com.github.hmdev.writer.Epub3Writer.write(Epub3Writer.java:970)
[17:06:30] at AozoraEpub3.convertFile(AozoraEpub3.java:512)
[17:06:30] at AozoraEpub3.main(AozoraEpub3.java:431)
[17:06:30] Exception in thread "main" java.awt.AWTError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.
[17:06:30] at java.desktop/sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
[17:06:30] at java.desktop/sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:102)
[17:06:30] at java.base/java.security.AccessController.doPrivileged(Native Method)
[17:06:30] at java.desktop/sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:61)
[17:06:30] at java.base/java.lang.Class.forName0(Native Method)
[17:06:30] at java.base/java.lang.Class.forName(Class.java:315)
[17:06:30] at java.desktop/java.awt.GraphicsEnvironment$LocalGE.createGE(GraphicsEnvironment.java:101)
[17:06:30] at java.desktop/java.awt.GraphicsEnvironment$LocalGE.(GraphicsEnvironment.java:83)
[17:06:30] at java.desktop/java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:129)
[17:06:30] at java.desktop/java.awt.image.BufferedImage.createGraphics(BufferedImage.java:1181)
[17:06:30] at com.github.hmdev.image.ImageUtils.writeImage(ImageUtils.java:218)
[17:06:30] at com.github.hmdev.writer.Epub3Writer.writeImage(Epub3Writer.java:1034)
[17:06:30] at com.github.hmdev.writer.Epub3Writer.write(Epub3Writer.java:911)
[17:06:30] at AozoraEpub3.convertFile(AozoraEpub3.java:512)
[17:06:30] at AozoraEpub3.main(AozoraEpub3.java:431)
[17:06:30] pid 7773 exit 1
[17:06:30] [ERROR] JavaがインストールされていないかAozoraEpub3実行時にエラーが発生しました。EPUBを作成出来ませんでした

@whiteleaf7
Copy link
Owner

参考 #366

@topstone
Copy link
Contributor

説明書の「必須ツール」や「インストール」が旧版を紹介したままなので、新版を紹介する形に更新してはいかがでしょうか。

ついでに「注意」の「RubyGem」表記も、正式名称の「RubyGems」に修正してもらえると幸いです。

@whiteleaf7
Copy link
Owner

whiteleaf7 commented Jul 13, 2020

https://twitter.com/sasalove7/status/1276163281431007235
あまりにも報告が多いのでさすがに検討中

@whiteleaf7
Copy link
Owner

ちなみに docker 版は改造版使ってます

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants