以下、--backtraceを付けた場合のエラー
C:\Users\A\narou>narou u 695 --backtrace
C:/Ruby22/lib/ruby/2.2.0/psych.rb:370:in `parse': (C:/Users/A/narou/小説デー タ/小説家になろう/n1714bn いっぺん死んで人生やり直せ/toc.yaml): control characters are not allowed at line 1 column 1 (Psych::SyntaxError)
from C:/Ruby22/lib/ruby/2.2.0/psych.rb:370:in `parse_stream'
from C:/Ruby22/lib/ruby/2.2.0/psych.rb:318:in `parse'
from C:/Ruby22/lib/ruby/2.2.0/psych.rb:245:in `load'
from C:/Ruby22/lib/ruby/2.2.0/psych.rb:464:in `block in load_file'
from C:/Ruby22/lib/ruby/2.2.0/psych.rb:464:in `open'
from C:/Ruby22/lib/ruby/2.2.0/psych.rb:464:in `load_file'
from C:/Ruby22/lib/ruby/gems/2.2.0/gems/narou-3.1.11/lib/downloader.rb:1239:in `load_novel_data'
from C:/Ruby22/lib/ruby/gems/2.2.0/gems/narou-3.1.11/lib/downloader.rb:331:in `load_toc_file'
from C:/Ruby22/lib/ruby/gems/2.2.0/gems/narou-3.1.11/lib/downloader.rb:338:in `run_download'
from C:/Ruby22/lib/ruby/gems/2.2.0/gems/narou-3.1.11/lib/downloader.rb:322:in `start_download'
from C:/Ruby22/lib/ruby/gems/2.2.0/gems/narou-3.1.11/lib/command/update.rb:193:in `block (2 levels) in execute'
from C:/Ruby22/lib/ruby/gems/2.2.0/gems/narou-3.1.11/lib/command/update.rb:168:in `each'
from C:/Ruby22/lib/ruby/gems/2.2.0/gems/narou-3.1.11/lib/command/update.rb:168:in `each_with_index'
from C:/Ruby22/lib/ruby/gems/2.2.0/gems/narou-3.1.11/lib/command/update.rb:168:in `block in execute'
from C:/Ruby22/lib/ruby/gems/2.2.0/gems/narou-3.1.11/lib/narou_logger.rb:81:in `call'
from C:/Ruby22/lib/ruby/gems/2.2.0/gems/narou-3.1.11/lib/narou_logger.rb:81:in `capture'
from C:/Ruby22/lib/ruby/gems/2.2.0/gems/narou-3.1.11/lib/command/update.rb:167:in `execute'
from C:/Ruby22/lib/ruby/gems/2.2.0/gems/narou-3.1.11/lib/commandline.rb:46:in `run'
from C:/Ruby22/lib/ruby/gems/2.2.0/gems/narou-3.1.11/narou.rb:52:in `block in <top (required)>'
from C:/Ruby22/lib/ruby/gems/2.2.0/gems/narou-3.1.11/lib/backtracer.rb:16:in `capture'
from C:/Ruby22/lib/ruby/gems/2.2.0/gems/narou-3.1.11/narou.rb:51:in `<top (required)>'
from C:/Ruby22/lib/ruby/gems/2.2.0/gems/narou-3.1.11/bin/narou:10:in `require_relative'
from C:/Ruby22/lib/ruby/gems/2.2.0/gems/narou-3.1.11/bin/narou:10:in `<top (required)>'
from C:/Ruby22/bin/narou:22:in `load'
from C:/Ruby22/bin/narou:22:in `<main>'
>>11
C:/Ruby22/lib/ruby/2.2.0/psych.rb:370:in `parse': (C:/Users/A/narou/小説デー タ/小説家になろう/n1714bn いっぺん死んで人生やり直せ/toc.yaml): control characters are not allowed at line 1 column 1 (Psych::SyntaxError)
C:\kindle\down>java -version
java version "1.8.0_151"
Java(TM) SE Runtime Environment (build 1.8.0_151-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.151-b12, mixed mode)
再現方法(何をやったら起こったのか詳細に):
user:MyNovel user$ narou c 137 --verbose
ID:137 お茶目クール系TS美少女を極めてたら告られた件 の変換を開始
小説状態の調査結果を 調査ログ.txt に出力しました(エラー:2件、警告:0件、INFO:2件)
縦書用の変換が終了しました
AozoraEpub3でEPUBに変換しています.........
--------
変換開始 : /Users/user/Documents/MyNovel/小説データ/ハーメルン/136452 お茶目クール系TS美少女を極めてたら告られた件/[ロンドベル] お茶目クール系TS美少女を極めてたら告られた件.txt
java.io.IOException: This archives contains unclosed entries.
at org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream.finish(ZipArchiveOutputStream.java:343)
at org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream.close(ZipArchiveOutputStream.java:550)
at com.github.hmdev.writer.Epub3Writer.write(Epub3Writer.java:968)
at AozoraEpub3.convertFile(AozoraEpub3.java:512)
at AozoraEpub3.main(AozoraEpub3.java:431)
Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/image/codec/jpeg/ImageFormatException
at com.sun.media.jai.codecimpl.JPEGImageDecoder.decodeAsRenderedImage(JPEGImageDecoder.java:46)
at com.sun.media.jai.codec.ImageDecoderImpl.decodeAsRenderedImage(ImageDecoderImpl.java:140)
at com.github.hmdev.image.ImageUtils.readImage(ImageUtils.java:107)
at com.github.hmdev.image.ImageUtils.writeImage(ImageUtils.java:152)
at com.github.hmdev.writer.Epub3Writer.writeImage(Epub3Writer.java:1032)
at com.github.hmdev.writer.Epub3Writer.write(Epub3Writer.java:909)
at AozoraEpub3.convertFile(AozoraEpub3.java:512)
at AozoraEpub3.main(AozoraEpub3.java:431)
Caused by: java.lang.ClassNotFoundException: com.sun.image.codec.jpeg.ImageFormatException
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:185)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:496)
... 8 more
pid 704 exit 1
[ERROR] JavaがインストールされていないかAozoraEpub3実行時にエラーが発生しました。EPUBを作成出来ませんでした