再現方法(何をやったら起こったのか詳細に):
3.5.0.1 から、3.5.1 へバージョンアップしたと後に、
最新話掲載日を確認するとエラーになります。
---
D:\Win_AP\Narou.rb\MyNovel>narou u --gl narou --backtrace
最新話掲載日を確認しています...
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/lib/command/update/general_lastup_updater.rb:28:in `block in prepare': undefined method `[]' for nil:NilClass (NoMethodError)
from C:/Ruby27-x64/lib/ruby/2.7.0/forwardable.rb:235:in `each_key'
from C:/Ruby27-x64/lib/ruby/2.7.0/forwardable.rb:235:in `each_key'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/lib/command/update/general_lastup_updater.rb:25:in `prepare'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/lib/command/update/general_lastup_updater.rb:17:in `initialize'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/lib/command/update.rb:238:in `new'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/lib/command/update.rb:238:in `update_general_lastup'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/lib/command/update.rb:76:in `block in initialize'
from C:/Ruby27-x64/lib/ruby/2.7.0/optparse.rb:1589:in `block in parse_in_order'
from C:/Ruby27-x64/lib/ruby/2.7.0/optparse.rb:1575:in `catch'
from C:/Ruby27-x64/lib/ruby/2.7.0/optparse.rb:1575:in `parse_in_order'
from C:/Ruby27-x64/lib/ruby/2.7.0/optparse.rb:1569:in `order!'
from C:/Ruby27-x64/lib/ruby/2.7.0/optparse.rb:1666:in `permute!'
from C:/Ruby27-x64/lib/ruby/2.7.0/optparse.rb:1691:in `parse!'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/lib/commandbase.rb:59:in `execute'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/lib/command/update.rb:140:in `execute'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/lib/commandbase.rb:125:in `execute!'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/lib/commandbase.rb:134:in `execute!'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/lib/commandline.rb:29:in `run'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/lib/commandline.rb:43:in `run!'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/narou.rb:50:in `block in <top (required)>'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/lib/backtracer.rb:16:in `capture'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/narou.rb:49:in `<top (required)>'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/bin/narou:13:in `require_relative'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/bin/narou:13:in `<top (required)>'
from C:/Ruby27-x64/bin/narou:23:in `load'
from C:/Ruby27-x64/bin/narou:23:in `<main>'
---
ID:0 転生したらスライムだった件 の変換を開始
小説状態の調査結果を 調査ログ.txt に出力しました(エラー:0件、警告:83件、INFO:2件)
縦書用の変換が終了しました
AozoraEpub3でEPUBに変換しています.....
--------
変換開始 : /Users/%ユーザー名%/book/小説データ/小説家になろう/n6316bn 転生したらスライムだった件/[伏瀬] 転生したらスライムだった件.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:602)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
... 8 more
pid 2076 exit 1
[ERROR] JavaがインストールされていないかAozoraEpub3実行時にエラーが発生しました。EPUBを作成出来ませんでした
小説の保存フォルダを開きますか (y/n)?: n
narou u 1759 --backtrace
C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.5.1/lib/downloader.rb:885:in `>': comparison of String with Time failed (ArgumentError)
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.5.1/lib/downloader.rb:885:in `block in update_body_check'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.5.1/lib/downloader.rb:831:in `select'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.5.1/lib/downloader.rb:831:in `update_body_check'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.5.1/lib/downloader.rb:370:in `run_download'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.5.1/lib/downloader.rb:332:in `start_download'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.5.1/lib/command/update.rb:182:in `block in execute'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.5.1/lib/command/update.rb:157:in `each'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.5.1/lib/command/update.rb:157:in `each_with_index'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.5.1/lib/command/update.rb:157:in `execute'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.5.1/lib/commandbase.rb:125:in `execute!'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.5.1/lib/commandbase.rb:134:in `execute!'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.5.1/lib/commandline.rb:29:in `run'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.5.1/lib/commandline.rb:43:in `run!'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.5.1/narou.rb:50:in `block in <top (required)>'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.5.1/lib/backtracer.rb:16:in `capture'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.5.1/narou.rb:49:in `<top (required)>'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.5.1/bin/narou:13:in `require_relative'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.5.1/bin/narou:13:in `<top (required)>'
from C:/Ruby25/bin/narou:23:in `load'
from C:/Ruby25/bin/narou:23:in `<main>'
C:\MyNovel>narou trace
--- 2020/06/22 09:11:27 ---
C:/Ruby27-x64/bin/narou web --boot
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/lib/web/web-socket-ruby/lib/web_socket.rb:466:in `initialize': Permission denied - bind(2) for "192.168.100.12" port 56083 (Errno::EACCES)
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/lib/web/web-socket-ruby/lib/web_socket.rb:466:in `open'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/lib/web/web-socket-ruby/lib/web_socket.rb:466:in `initialize'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/lib/web/pushserver.rb:34:in `new'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/lib/web/pushserver.rb:34:in `run'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/lib/command/web.rb:130:in `boot'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/lib/command/web.rb:87:in `execute'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/lib/commandbase.rb:125:in `execute!'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/lib/commandbase.rb:134:in `execute!'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/lib/commandline.rb:29:in `run'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/lib/commandline.rb:43:in `run!'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/narou.rb:50:in `block in <top (required)>'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/lib/backtracer.rb:16:in `capture'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/narou.rb:49:in `<top (required)>'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/bin/narou:13:in `require_relative'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/bin/narou:13:in `<top (required)>'
from C:/Ruby27-x64/bin/narou:23:in `load'
from C:/Ruby27-x64/bin/narou:23:in `<main>'
追記です。
コマンドの方を確認したところ、一箇所白い文字でエラーらしき表示が出ていたので書き写しておきます。
C:/Ruby27-x64/lib/ruby/2.7.0/psych.rb:456:in parse':(c:/MyNovel/.narou/lock.yaml):controlcharacters are not allowed at line 1 column 1(Psych::SyntaxError)
narou u -a --backtraceでは以下のエラーメッセージが表示されました。
--gl narouやotherでもほぼ同じエラーメッセージでしたが、otherの場合はエラーが出るまでに更新確認が10%ほどまで進行していました。
C:/Ruby25-x64/lib/ruby/2.5.0/net/protocol.rb:44:in `connect_nonblock': SSL_connect SYSCALL returned=5 errno=0 state=SSLv3/TLS write client hello (OpenSSL::SSL::SSLError)
from C:/Ruby25-x64/lib/ruby/2.5.0/net/protocol.rb:44:in `ssl_socket_connect'
from C:/Ruby25-x64/lib/ruby/2.5.0/net/http.rb:985:in `connect'
from C:/Ruby25-x64/lib/ruby/2.5.0/net/http.rb:920:in `do_start'
from C:/Ruby25-x64/lib/ruby/2.5.0/net/http.rb:909:in `start'
from C:/Ruby25-x64/lib/ruby/2.5.0/open-uri.rb:337:in `open_http'
from C:/Ruby25-x64/lib/ruby/2.5.0/open-uri.rb:755:in `buffer_open'
from C:/Ruby25-x64/lib/ruby/2.5.0/open-uri.rb:226:in `block in open_loop'
from C:/Ruby25-x64/lib/ruby/2.5.0/open-uri.rb:224:in `catch'
from C:/Ruby25-x64/lib/ruby/2.5.0/open-uri.rb:224:in `open_loop'
from C:/Ruby25-x64/lib/ruby/2.5.0/open-uri.rb:165:in `open_uri'
from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/open_uri_redirections-0.2.1/lib/open-uri/redirections_patch.rb:55:in `open_uri'
from C:/Ruby25-x64/lib/ruby/2.5.0/open-uri.rb:735:in `open'
from C:/Ruby25-x64/lib/ruby/2.5.0/open-uri.rb:35:in `open'
from C:/Ruby25-x64/lib/ruby/2.5.0/open-uri.rb:46:in `open'
from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.5.0.1/lib/downloader.rb:728:in `get_toc_source'
from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.5.0.1/lib/downloader.rb:763:in `get_latest_table_of_contents'
from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.5.0.1/lib/downloader.rb:349:in `run_download'
from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.5.0.1/lib/downloader.rb:332:in `start_download'
from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.5.0.1/lib/command/update.rb:182:in `block in execute'
from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.5.0.1/lib/command/update.rb:157:in `each'
from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.5.0.1/lib/command/update.rb:157:in `each_with_index'
from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.5.0.1/lib/command/update.rb:157:in `execute'
from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.5.0.1/lib/commandbase.rb:125:in `execute!'
from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.5.0.1/lib/commandbase.rb:134:in `execute!'
from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.5.0.1/lib/commandline.rb:29:in `run'
from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.5.0.1/lib/commandline.rb:43:in `run!'
from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.5.0.1/narou.rb:50:in `block in <top (required)>'
from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.5.0.1/lib/backtracer.rb:16:in `capture'
from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.5.0.1/narou.rb:49:in `<top (required)>'
from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.5.0.1/bin/narou:13:in `require_relative'
from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.5.0.1/bin/narou:13:in `<top (required)>'
from C:/Ruby25-x64/bin/narou:23:in `load'
from C:/Ruby25-x64/bin/narou:23:in `<main>'
>>328
返信ありがとうございます。
3.5.1にアップデートしてもほとんど結果は変わりませんでした。Rubyを再インストールして、Narou.rbをインストールするところからやり直しましたが、それでもダメでした
ただ、narou u -a --gl otherおよびハーメルンとカクヨムのアップデートは問題なく機能しました。問題点は小説家になろう掲載の小説に限られるようです。
エラーメッセージもバージョンの部分以外は前と同じです。
C:/Ruby27-x64/lib/ruby/2.7.0/fileutils.rb:1413:in `initialize': No such file or directory @ rb_sysopen - D:/MyNovel/小説データ/小説家になろう/n9902bn デスマーチからはじまる異世界狂想曲( web版 )/[愛七ひろ] デスマーチからはじまる異世界狂想曲( web版 ).epub (Errno::ENOENT)
from C:/Ruby27-x64/lib/ruby/2.7.0/fileutils.rb:1413:in `open'
from C:/Ruby27-x64/lib/ruby/2.7.0/fileutils.rb:1413:in `copy_file'
from C:/Ruby27-x64/lib/ruby/2.7.0/fileutils.rb:511:in `copy_file'
from C:/Ruby27-x64/lib/ruby/2.7.0/fileutils.rb:430:in `block in cp'
from C:/Ruby27-x64/lib/ruby/2.7.0/fileutils.rb:1588:in `block in fu_each_src_dest'
from C:/Ruby27-x64/lib/ruby/2.7.0/fileutils.rb:1602:in `fu_each_src_dest0'
from C:/Ruby27-x64/lib/ruby/2.7.0/fileutils.rb:1586:in `fu_each_src_dest'
from C:/Ruby27-x64/lib/ruby/2.7.0/fileutils.rb:429:in `cp'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/lib/command/convert.rb:320:in `copy_to_converted_file'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/lib/command/convert.rb:255:in `block in convert_novel_main'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/lib/command/convert.rb:248:in `each'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/lib/command/convert.rb:248:in `convert_novel_main'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/lib/command/convert.rb:201:in `block (2 levels) in
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/lib/mixin/locker.rb:26:in `lock'convert_novels'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/lib/command/convert.rb:200:in `block in convert_novels'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/lib/command/convert.rb:199:in `each'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/lib/command/convert.rb:199:in `with_index'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/lib/command/convert.rb:199:in `convert_novels'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/lib/command/convert.rb:159:in `block in main'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/lib/command/convert.rb:152:in `each'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/lib/command/convert.rb:152:in `main'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/lib/command/convert.rb:133:in `execute'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/lib/commandbase.rb:125:in `execute!'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/lib/commandbase.rb:134:in `execute!'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/lib/command/convert.rb:123:in `block in execute!'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.5.1/lib/worker.rb:49:in `block (3 levels) in start'
>narou co 69 --backtrace
ID:69 【書籍化予定】『おっぱい揉みたい』って叫んだら、妹の友達と付き合うことになりました。〜未仔ちゃん、ちょっと甘やか しすぎでは?〜 の変換を開始
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.5.1/lib/extension.rb:39:in `rename': Invalid argument @ rb_file_s_rename - (T:/小説まんが/小説データ/小説家になろう/n7863fx 【書籍化予定】『おっぱい揉みたい』って叫んだら、妹の友達と付き合うこ とになりました。/5bd36903bf2cd4df0b32cf537a6476, T:/小説まんが/小説データ/小説家になろう/n7863fx 【書籍化予定】『おっぱ い揉みたい』って叫んだら、妹の友達と付き合うことになりました。/[凪木エコ@F文庫より『おひとり様』発売中] 【書籍化予定】『おっぱい揉みたい』って叫んだら、妹の友達と付き合うことになりました。〜未仔ちゃん、ちょっと甘やかしすぎでは?〜.txt) (Errno::EINVAL)
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.5.1/lib/extension.rb:39:in `write'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.5.1/lib/novelconverter.rb:404:in `block in convert_main'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.5.1/lib/novelconverter.rb:402:in `each'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.5.1/lib/novelconverter.rb:402:in `each_with_index'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.5.1/lib/novelconverter.rb:402:in `convert_main'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.5.1/lib/novelconverter.rb:52:in `convert'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.5.1/lib/command/convert.rb:236:in `convert_novel_main'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.5.1/lib/command/convert.rb:201:in `block (2 levels) in convert_novels'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.5.1/lib/mixin/locker.rb:26:in `lock'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.5.1/lib/command/convert.rb:200:in `block in convert_novels'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.5.1/lib/command/convert.rb:199:in `each'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.5.1/lib/command/convert.rb:199:in `with_index'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.5.1/lib/command/convert.rb:199:in `convert_novels'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.5.1/lib/command/convert.rb:159:in `block in main'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.5.1/lib/command/convert.rb:152:in `each'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.5.1/lib/command/convert.rb:152:in `main'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.5.1/lib/command/convert.rb:133:in `execute'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.5.1/lib/commandbase.rb:125:in `execute!'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.5.1/lib/commandbase.rb:134:in `execute!'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.5.1/lib/command/convert.rb:123:in `block in execute!'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.5.1/lib/narou.rb:363:in `concurrency_call'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.5.1/lib/command/convert.rb:122:in `execute!'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.5.1/lib/commandline.rb:29:in `run'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.5.1/lib/commandline.rb:43:in `run!'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.5.1/narou.rb:50:in `block in <top (required)>'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.5.1/lib/backtracer.rb:16:in `capture'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.5.1/narou.rb:49:in `<top (required)>'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.5.1/bin/narou:13:in `require_relative'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.5.1/bin/narou:13:in `<top (required)>'
from C:/Ruby26-x64/bin/narou:23:in `load'
from C:/Ruby26-x64/bin/narou:23:in `<main>'
だけどnovel.txt.erbのバージョンが上がったのは5年ほど前みたいだから、最近になって初めて出てきたというなら理由はわかりません。
h ttps://github.com/whiteleaf7/narou/commit/da041cb#diff-76ae2d8605226345b0d0d678abbb93cfa848e544537c9e6c2c08a15a4882cea7
一応影響についてはエラー出力してるコードのコメントが参考になると思います。
h ttps://github.com/whiteleaf7/narou/blob/ec1e7233eef8523340771575ba12f5e307578b11/lib/template.rb#L63-L75
> テンプレート内部で使われる変数の変更があった場合に binary_version が上がる
> (変数の追加ではバージョンは上がらない。現在使われている変数の中身が変わった場合は上る)
ttp://(IP) -> /api/list?view_frozen=false&view_nonfrozen=true&_=1610969738748
#<Thread:0x00000000092fd1f0 C:/Ruby/30/lib/ruby/gems/3.0.0/gems/narou-3.6.0/lib/web/web_worker.rb:46 run> terminated with exception (report_on_exception is true):
C:/Ruby/30/lib/ruby/gems/3.0.0/gems/narou-3.6.0/lib/downloader.rb:762:in `get_latest_table_of_contents': wrong number of arguments (given 0, expected 1) (ArgumentError)
from C:/Ruby/30/lib/ruby/gems/3.0.0/gems/narou-3.6.0/lib/command/update/general_lastup_updater.rb:66:in `block in update_other_novels'
from C:/Ruby/30/lib/ruby/gems/3.0.0/gems/narou-3.6.0/lib/command/update/general_lastup_updater.rb:61:in `each'
from C:/Ruby/30/lib/ruby/gems/3.0.0/gems/narou-3.6.0/lib/command/update/general_lastup_updater.rb:61:in `each_with_index'
from C:/Ruby/30/lib/ruby/gems/3.0.0/gems/narou-3.6.0/lib/command/update/general_lastup_updater.rb:61:in `update_other_novels'
from C:/Ruby/30/lib/ruby/gems/3.0.0/gems/narou-3.6.0/lib/command/update.rb:242:in `update_general_lastup'
from C:/Ruby/30/lib/ruby/gems/3.0.0/gems/narou-3.6.0/lib/command/update.rb:76:in `block in initialize'
from C:/Ruby/30/lib/ruby/3.0.0/optparse.rb:1591:in `block in parse_in_order'
from C:/Ruby/30/lib/ruby/3.0.0/optparse.rb:1577:in `catch'
from C:/Ruby/30/lib/ruby/3.0.0/optparse.rb:1577:in `parse_in_order'
from C:/Ruby/30/lib/ruby/3.0.0/optparse.rb:1571:in `order!'
from C:/Ruby/30/lib/ruby/3.0.0/optparse.rb:1668:in `permute!'
from C:/Ruby/30/lib/ruby/3.0.0/optparse.rb:1693:in `parse!'
from C:/Ruby/30/lib/ruby/gems/3.0.0/gems/narou-3.6.0/lib/commandbase.rb:59:in `execute'
from C:/Ruby/30/lib/ruby/gems/3.0.0/gems/narou-3.6.0/lib/command/update.rb:140:in `execute'
from C:/Ruby/30/lib/ruby/gems/3.0.0/gems/narou-3.6.0/lib/commandbase.rb:125:in `execute!'
from C:/Ruby/30/lib/ruby/gems/3.0.0/gems/narou-3.6.0/lib/commandbase.rb:134:in `execute!'
from C:/Ruby/30/lib/ruby/gems/3.0.0/gems/narou-3.6.0/lib/commandline.rb:29:in `run'
from C:/Ruby/30/lib/ruby/gems/3.0.0/gems/narou-3.6.0/lib/commandline.rb:43:in `run!'
from C:/Ruby/30/lib/ruby/gems/3.0.0/gems/narou-3.6.0/lib/web/appserver.rb:791:in `block (2 levels) in <class:AppServer>'
from C:/Ruby/30/lib/ruby/gems/3.0.0/gems/narou-3.6.0/lib/web/web_worker.rb:47:in `block (3 levels) in start'
[2021-01-18 20:35:53] ERROR ArgumentError: wrong number of arguments (given 0, expected 1)\n\tC:/Ruby/30/lib/ruby/gems/3.0.0/gems/narou-3.6.0/lib/command/update/general_lastup_updater.rb:66:in `block in update_other_novels'
(IP) - - [18/Jan/2021:20:36:01 東京 (標準時)] "POST /api/clear_history HTTP/1.1" 200 0
[06:19:57] Narou.rb version 3.7.0
[06:20:22] 最新話掲載日を確認しています...
[06:20:22] C:/Ruby/30/lib/ruby/gems/3.0.0/gems/narou-3.7.0/lib/downloader.rb:762:in `get_latest_table_of_contents': wrong number of arguments (given 0, expected 1) (ArgumentError)
[06:20:22] from C:/Ruby/30/lib/ruby/gems/3.0.0/gems/narou-3.7.0/lib/command/update/general_lastup_updater.rb:66:in `block in update_other_novels'
[06:20:22] from C:/Ruby/30/lib/ruby/gems/3.0.0/gems/narou-3.7.0/lib/command/update/general_lastup_updater.rb:61:in `each'
[06:20:22] from C:/Ruby/30/lib/ruby/gems/3.0.0/gems/narou-3.7.0/lib/command/update/general_lastup_updater.rb:61:in `each_with_index'
[06:20:22] from C:/Ruby/30/lib/ruby/gems/3.0.0/gems/narou-3.7.0/lib/command/update/general_lastup_updater.rb:61:in `update_other_novels'
[06:20:22] from C:/Ruby/30/lib/ruby/gems/3.0.0/gems/narou-3.7.0/lib/command/update.rb:242:in `update_general_lastup'
[06:20:22] from C:/Ruby/30/lib/ruby/gems/3.0.0/gems/narou-3.7.0/lib/command/update.rb:76:in `block in initialize'
[06:20:22] from C:/Ruby/30/lib/ruby/3.0.0/optparse.rb:1591:in `block in parse_in_order'
[06:20:22] from C:/Ruby/30/lib/ruby/3.0.0/optparse.rb:1577:in `catch'
[06:20:23] from C:/Ruby/30/lib/ruby/3.0.0/optparse.rb:1577:in `parse_in_order'
[06:20:23] from C:/Ruby/30/lib/ruby/3.0.0/optparse.rb:1571:in `order!'
[06:20:23] from C:/Ruby/30/lib/ruby/3.0.0/optparse.rb:1668:in `permute!'
[06:20:23] from C:/Ruby/30/lib/ruby/3.0.0/optparse.rb:1693:in `parse!'
[06:20:23] from C:/Ruby/30/lib/ruby/gems/3.0.0/gems/narou-3.7.0/lib/commandbase.rb:59:in `execute'
[06:20:23] from C:/Ruby/30/lib/ruby/gems/3.0.0/gems/narou-3.7.0/lib/command/update.rb:140:in `execute'
[06:20:23] from C:/Ruby/30/lib/ruby/gems/3.0.0/gems/narou-3.7.0/lib/commandbase.rb:125:in `execute!'
[06:20:23] from C:/Ruby/30/lib/ruby/gems/3.0.0/gems/narou-3.7.0/lib/commandbase.rb:134:in `execute!'
[06:20:23] from C:/Ruby/30/lib/ruby/gems/3.0.0/gems/narou-3.7.0/lib/commandline.rb:29:in `run'
[06:20:23] from C:/Ruby/30/lib/ruby/gems/3.0.0/gems/narou-3.7.0/lib/commandline.rb:43:in `run!'
[06:20:23] from C:/Ruby/30/lib/ruby/gems/3.0.0/gems/narou-3.7.0/lib/web/appserver.rb:791:in `block (2 levels) in <class:AppServer>'
[06:20:23] from C:/Ruby/30/lib/ruby/gems/3.0.0/gems/narou-3.7.0/lib/web/web_worker.rb:47:in `block (3 levels) in start'
>Ver.3.7からRuby3系で追加エラー発生
[08:13:07] ID:* * の変換を開始
[08:13:15] Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments.
[08:13:15] {:uplevel=>1}
[08:13:15] Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead.
[08:13:15] {:uplevel=>1}
[08:13:15] 縦書用の変換が終了しました