小説状態の調査結果を 調査ログ.txt に出力しました(エラー:0件、警告:14件、INFO:1件)
縦書用の変換が終了しました
AozoraEpub3でEPUBに変換しています.....
--------
Detected encoding = UTF-8
変換開始 : F:\Kindle_WhiteLeaf\Narou_Novel\小説データ\ミッドナイトノベルズ\15\n1510gm 骨から始 まる異世界転生〜裸の勇者はスケルトンから成り上がる。\novel18_syosetu_com_n1510gm.txt
java.io.IOException: This archive contains unclosed entries.
at org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream.finish(ZipArchiveOutputStream.java:534)
at org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream.close(ZipArchiveOutputStream.java:1090)
at com.github.hmdev.writer.Epub3Writer.write(Epub3Writer.java:1006)
at AozoraEpub3.convertFile(AozoraEpub3.java:519)
at AozoraEpub3.main(AozoraEpub3.java:438)
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at java.awt.image.DataBufferByte.<init>(Unknown Source)
at java.awt.image.Raster.createInterleavedRaster(Unknown Source)
at java.awt.image.BufferedImage.<init>(Unknown Source)
at com.github.hmdev.image.ImageUtils.writeImage(ImageUtils.java:203)
at com.github.hmdev.writer.Epub3Writer.writeImage(Epub3Writer.java:1070)
at com.github.hmdev.writer.Epub3Writer.write(Epub3Writer.java:947)
at AozoraEpub3.convertFile(AozoraEpub3.java:519)
at AozoraEpub3.main(AozoraEpub3.java:438)
pid 1988 exit 1
[ERROR] JavaがインストールされていないかAozoraEpub3実行時にエラーが発生しました。EPUBを作成出来ませんでした pid 1988 exit 1 [ERROR] JavaがインストールされていないかAozoraEpub3実行時にエラーが発生しました。EPUBを作成出来ませんでした
<internal:C:/tools/ruby31/lib/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- sass-embedded (LoadError)
from <internal:C:/tools/ruby31/lib/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from C:/tools/ruby31/lib/ruby/gems/3.1.0/gems/tilt-2.0.11/lib/tilt/sass.rb:12:in `<class:SassTemplate>'
from C:/tools/ruby31/lib/ruby/gems/3.1.0/gems/tilt-2.0.11/lib/tilt/sass.rb:8:in `<module:Tilt>'
from C:/tools/ruby31/lib/ruby/gems/3.1.0/gems/tilt-2.0.11/lib/tilt/sass.rb:3:in `<top (required)>'
from <internal:C:/tools/ruby31/lib/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from <internal:C:/tools/ruby31/lib/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from C:/tools/ruby31/lib/ruby/gems/3.1.0/gems/narou-3.8.2/lib/web/appserver.rb:17:in `<top (required)>'
from C:/tools/ruby31/lib/ruby/gems/3.1.0/gems/narou-3.8.2/lib/web/all.rb:7:in `require_relative'
from C:/tools/ruby31/lib/ruby/gems/3.1.0/gems/narou-3.8.2/lib/web/all.rb:7:in `<top (required)>'
from C:/tools/ruby31/lib/ruby/gems/3.1.0/gems/narou-3.8.2/lib/command/web.rb:118:in `require_relative'
from C:/tools/ruby31/lib/ruby/gems/3.1.0/gems/narou-3.8.2/lib/command/web.rb:118:in `boot'
from C:/tools/ruby31/lib/ruby/gems/3.1.0/gems/narou-3.8.2/lib/command/web.rb:87:in `execute'
from C:/tools/ruby31/lib/ruby/gems/3.1.0/gems/narou-3.8.2/lib/commandbase.rb:125:in `execute!'
from C:/tools/ruby31/lib/ruby/gems/3.1.0/gems/narou-3.8.2/lib/commandbase.rb:134:in `execute!'
from C:/tools/ruby31/lib/ruby/gems/3.1.0/gems/narou-3.8.2/lib/commandline.rb:29:in `run'
from C:/tools/ruby31/lib/ruby/gems/3.1.0/gems/narou-3.8.2/lib/commandline.rb:43:in `run!'
from C:/tools/ruby31/lib/ruby/gems/3.1.0/gems/narou-3.8.2/narou.rb:50:in `block in <top (required)>'
from C:/tools/ruby31/lib/ruby/gems/3.1.0/gems/narou-3.8.2/lib/backtracer.rb:16:in `capture'
from C:/tools/ruby31/lib/ruby/gems/3.1.0/gems/narou-3.8.2/narou.rb:49:in `<top (required)>'
from C:/tools/ruby31/lib/ruby/gems/3.1.0/gems/narou-3.8.2/bin/narou:13:in `require_relative'
from C:/tools/ruby31/lib/ruby/gems/3.1.0/gems/narou-3.8.2/bin/narou:13:in `<top (required)>'
from C:/tools/ruby31/bin/narou:32:in `load'
from C:/tools/ruby31/bin/narou:32:in `<main>'
Refused to apply style from 'http://192.168.1.27:54223/style.css?_=3.8.2'
because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
[07:30:55:873] C:/Ruby/32/lib/ruby/gems/3.2.0/gems/narou-3.8.2/lib/command/diff.rb:73:in `block in short_number_option_parse': undefined method `=~' for 10:Integer (NoMethodError)
[07:30:55:877] from C:/Ruby/32/lib/ruby/gems/3.2.0/gems/narou-3.8.2/lib/command/diff.rb:72:in `map!'
[07:30:55:879] from C:/Ruby/32/lib/ruby/gems/3.2.0/gems/narou-3.8.2/lib/command/diff.rb:72:in `short_number_option_parse'
[07:30:55:881] from C:/Ruby/32/lib/ruby/gems/3.2.0/gems/narou-3.8.2/lib/command/diff.rb:83:in `execute'
[07:30:55:884] from C:/Ruby/32/lib/ruby/gems/3.2.0/gems/narou-3.8.2/lib/commandbase.rb:125:in `execute!'
[07:30:55:887] from C:/Ruby/32/lib/ruby/gems/3.2.0/gems/narou-3.8.2/lib/commandbase.rb:134:in `execute!'
[07:30:55:891] from C:/Ruby/32/lib/ruby/gems/3.2.0/gems/narou-3.8.2/lib/commandline.rb:29:in `run'
[07:30:55:894] from C:/Ruby/32/lib/ruby/gems/3.2.0/gems/narou-3.8.2/lib/commandline.rb:43:in `run!'
[07:30:55:896] from C:/Ruby/32/lib/ruby/gems/3.2.0/gems/narou-3.8.2/lib/web/appserver.rb:686:in `block (2 levels) in <class:AppServer>'
[07:30:55:899] from C:/Ruby/32/lib/ruby/gems/3.2.0/gems/narou-3.8.2/lib/web/web_worker.rb:47:in `block (3 levels) in start'
/api/update_general_lastup
#<Thread:0x000001f3c69411f8 C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/narou-3.8.2/lib/web/web_worker.rb:46 run> terminated with exception (report_on_exception is true):
C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/narou-3.8.2/lib/command/update/general_lastup_updater.rb:29:in `block in prepare': undefined method `[]' for nil:NilClass (NoMethodError)
if setting["narou_api_url"]
^^^^^^^^^^^^^^^^^
from C:/Ruby31-x64/lib/ruby/3.1.0/forwardable.rb:238:in `each_key'
from C:/Ruby31-x64/lib/ruby/3.1.0/forwardable.rb:238:in `each_key'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/narou-3.8.2/lib/command/update/general_lastup_updater.rb:26:in `prepare'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/narou-3.8.2/lib/command/update/general_lastup_updater.rb:18:in `initialize'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/narou-3.8.2/lib/command/update.rb:238:in `new'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/narou-3.8.2/lib/command/update.rb:238:in `update_general_lastup'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/narou-3.8.2/lib/command/update.rb:76:in `block in initialize'
from C:/Ruby31-x64/lib/ruby/3.1.0/optparse.rb:1576:in `block in parse_in_order'
from C:/Ruby31-x64/lib/ruby/3.1.0/optparse.rb:1559:in `catch'
from C:/Ruby31-x64/lib/ruby/3.1.0/optparse.rb:1559:in `parse_in_order'
from C:/Ruby31-x64/lib/ruby/3.1.0/optparse.rb:1553:in `order!'
from C:/Ruby31-x64/lib/ruby/3.1.0/optparse.rb:1659:in `permute!'
from C:/Ruby31-x64/lib/ruby/3.1.0/optparse.rb:1684:in `parse!'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/narou-3.8.2/lib/commandbase.rb:59:in `execute'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/narou-3.8.2/lib/command/update.rb:140:in `execute'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/narou-3.8.2/lib/commandbase.rb:125:in `execute!'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/narou-3.8.2/lib/commandbase.rb:134:in `execute!'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/narou-3.8.2/lib/commandline.rb:29:in `run'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/narou-3.8.2/lib/commandline.rb:43:in `run!'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/narou-3.8.2/lib/web/appserver.rb:791:in `block (2 levels) in <class:AppServer>'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/narou-3.8.2/lib/web/web_worker.rb:47:in `block (3 levels) in start'
[2023-02-10 23:07:40] ERROR NoMethodError: undefined method `[]' for nil:NilClass\n\n if setting["narou_api_url"]\n ^^^^^^^^^^^^^^^^^\n\tC:/Ruby31-x64/lib/ruby/3.1.0/forwardable.rb:238:in `each_key'
「他」を実行した場合
> /api/update_general_lastup
#<Thread:0x000001f3c64dde68 C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/narou-3.8.2/lib/web/web_worker.rb:46 run> terminated with exception (report_on_exception is true):
C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/narou-3.8.2/lib/command/update/general_lastup_updater.rb:29:in `block in prepare': undefined method `[]' for nil:NilClass (NoMethodError)
if setting["narou_api_url"]
^^^^^^^^^^^^^^^^^
from C:/Ruby31-x64/lib/ruby/3.1.0/forwardable.rb:238:in `each_key'
from C:/Ruby31-x64/lib/ruby/3.1.0/forwardable.rb:238:in `each_key'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/narou-3.8.2/lib/command/update/general_lastup_updater.rb:26:in `prepare'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/narou-3.8.2/lib/command/update/general_lastup_updater.rb:18:in `initialize'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/narou-3.8.2/lib/command/update.rb:238:in `new'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/narou-3.8.2/lib/command/update.rb:238:in `update_general_lastup'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/narou-3.8.2/lib/command/update.rb:76:in `block in initialize'
from C:/Ruby31-x64/lib/ruby/3.1.0/optparse.rb:1576:in `block in parse_in_order'
from C:/Ruby31-x64/lib/ruby/3.1.0/optparse.rb:1559:in `catch'
from C:/Ruby31-x64/lib/ruby/3.1.0/optparse.rb:1559:in `parse_in_order'
from C:/Ruby31-x64/lib/ruby/3.1.0/optparse.rb:1553:in `order!'
from C:/Ruby31-x64/lib/ruby/3.1.0/optparse.rb:1659:in `permute!'
from C:/Ruby31-x64/lib/ruby/3.1.0/optparse.rb:1684:in `parse!'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/narou-3.8.2/lib/commandbase.rb:59:in `execute'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/narou-3.8.2/lib/command/update.rb:140:in `execute'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/narou-3.8.2/lib/commandbase.rb:125:in `execute!'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/narou-3.8.2/lib/commandbase.rb:134:in `execute!'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/narou-3.8.2/lib/commandline.rb:29:in `run'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/narou-3.8.2/lib/commandline.rb:43:in `run!'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/narou-3.8.2/lib/web/appserver.rb:791:in `block (2 levels) in <class:AppServer>'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/narou-3.8.2/lib/web/web_worker.rb:47:in `block (3 levels) in start'
[2023-02-10 23:09:39] ERROR NoMethodError: undefined method `[]' for nil:NilClass\n\n if setting["narou_api_url"]\n ^^^^^^^^^^^^^^^^^\n\tC:/Ruby31-x64/lib/ruby/3.1.0/forwardable.rb:238:in `each_key'
>>555
このエラーはnarou.rbがcopyコマンド叩いたら「More data is available.」って返ってきたやつです。
ERROR_MORE_DATAなんで、単純なコピー作業というより、ディレクトリエントリを読むとかそういうので発生してるのかな?って気はしますが、詳細は分かりませんね。
ググっても色々なパターンあるみたいで分かりません。
エクスプローラー経由でどうなるかとか、悪さをしてるファイルがないかとか、kindleのバックアップとってファイルを消したり移動したりしてみると何か分かるかも知れません。
narou web にはいつも大変お世話になっております。
narou web が、以下のエラーログを吐いて起動しなくなってしまいました。
対処方法ご教示のほどよろしくお願いいたします。
-----------------------------------------
Narou.rb のバージョン:3.5.1
#<Thread:0x000001e3bc6e0ef0 C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/narou-3.8.2/lib/web/web_worker.rb:46 run> terminated with exception (report_on_exception is true):
C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/narou-3.8.2/lib/helper.rb:496:in `read': ASCII incompatible encoding needs binmode (ArgumentError)
data = File.read(fullpath, **options)
^^^^^^^^^^^^^^^^^^^
from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/narou-3.8.2/lib/helper.rb:496:in `block in memo'
from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/narou-3.8.2/lib/helper.rb:490:in `synchronize'
from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/narou-3.8.2/lib/helper.rb:490:in `memo'
from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/narou-3.8.2/lib/narou.rb:159:in `load_global_replace_pattern'
from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/narou-3.8.2/lib/web/appserver.rb:199:in `block (2 levels) in <class:AppServer>'
from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/narou-3.8.2/lib/web/web_worker.rb:47:in `block (3 levels) in start'
[2023-04-30 02:54:51] ERROR ArgumentError: ASCII incompatible encoding needs binmode\n\tC:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/narou-3.8.2/lib/helper.rb:496:in `block in memo'
--- 2023/07/01 01:08:39 ---
C:/Ruby31-x64/bin/narou web --boot
C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1490:in `write': Broken pipe @ io_writev - <STDERR> (Errno::EPIPE)
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1490:in `puts'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1490:in `quit!'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1514:in `ensure in run!'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1514:in `run!'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/narou-3.8.2/lib/command/web.rb:144:in `boot'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/narou-3.8.2/lib/command/web.rb:87:in `execute'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/narou-3.8.2/lib/commandbase.rb:125:in `execute!'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/narou-3.8.2/lib/commandbase.rb:134:in `execute!'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/narou-3.8.2/lib/commandline.rb:29:in `run'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/narou-3.8.2/lib/commandline.rb:43:in `run!'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/narou-3.8.2/narou.rb:50:in `block in <top (required)>'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/narou-3.8.2/lib/backtracer.rb:16:in `capture'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/narou-3.8.2/narou.rb:49:in `<top (required)>'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/narou-3.8.2/bin/narou:13:in `require_relative'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/narou-3.8.2/bin/narou:13:in `<top (required)>'
from C:/Ruby31-x64/bin/narou:32:in `load'
from C:/Ruby31-x64/bin/narou:32:in `<main>'
C:/Users/Owner/.gem/ruby/3.2.0/gems/narou-3.8.2/lib/inventory.rb:45:in `merge!': no implicit conversion of false into Hash (TypeError)
from C:/Users/Owner/.gem/ruby/3.2.0/gems/narou-3.8.2/lib/inventory.rb:45:in `init'
from C:/Users/Owner/.gem/ruby/3.2.0/gems/narou-3.8.2/lib/inventory.rb:23:in `block in load'
from <internal:kernel>:90:in `tap'
from C:/Users/Owner/.gem/ruby/3.2.0/gems/narou-3.8.2/lib/inventory.rb:21:in `load'
from C:/Users/Owner/.gem/ruby/3.2.0/gems/narou-3.8.2/lib/database.rb:29:in `refresh'
from C:/Users/Owner/.gem/ruby/3.2.0/gems/narou-3.8.2/lib/database.rb:25:in `initialize'
from J:/Ruby32-x64/lib/ruby/3.2.0/singleton.rb:127:in `new'
from J:/Ruby32-x64/lib/ruby/3.2.0/singleton.rb:127:in `block in instance'
from J:/Ruby32-x64/lib/ruby/3.2.0/singleton.rb:125:in `synchronize'
from J:/Ruby32-x64/lib/ruby/3.2.0/singleton.rb:125:in `instance'
from C:/Users/Owner/.gem/ruby/3.2.0/gems/narou-3.8.2/lib/downloader.rb:247:in `<class:Downloader>'
from C:/Users/Owner/.gem/ruby/3.2.0/gems/narou-3.8.2/lib/downloader.rb:23:in `<top (required)>'
from C:/Users/Owner/.gem/ruby/3.2.0/gems/narou-3.8.2/lib/command/backup.rb:8:in `require_relative'
from C:/Users/Owner/.gem/ruby/3.2.0/gems/narou-3.8.2/lib/command/backup.rb:8:in `<top (required)>'
from <internal:J:/Ruby32-x64/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from <internal:J:/Ruby32-x64/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from C:/Users/Owner/.gem/ruby/3.2.0/gems/narou-3.8.2/lib/command.rb:9:in `block in <top (required)>'
from <internal:dir>:220:in `glob'
from C:/Users/Owner/.gem/ruby/3.2.0/gems/narou-3.8.2/lib/command.rb:8:in `<top (required)>'
from C:/Users/Owner/.gem/ruby/3.2.0/gems/narou-3.8.2/lib/commandline.rb:8:in `require_relative'
from C:/Users/Owner/.gem/ruby/3.2.0/gems/narou-3.8.2/lib/commandline.rb:8:in `<top (required)>'
from C:/Users/Owner/.gem/ruby/3.2.0/gems/narou-3.8.2/narou.rb:47:in `require_relative'
from C:/Users/Owner/.gem/ruby/3.2.0/gems/narou-3.8.2/narou.rb:47:in `<top (required)>'
from C:/Users/Owner/.gem/ruby/3.2.0/gems/narou-3.8.2/bin/narou:13:in `require_relative'
from C:/Users/Owner/.gem/ruby/3.2.0/gems/narou-3.8.2/bin/narou:13:in `<top (required)>'
from C:/Users/Owner/AppData/Local/Microsoft/WindowsApps/narou:32:in `load'
from C:/Users/Owner/AppData/Local/Microsoft/WindowsApps/narou:32:in `<main>'