C:/Ruby23/lib/ruby/2.3.0/net/http.rb:933:in `connect_nonblock': SSL_connect SYSCALL returned=5 errno=0 state=SSLv2/v3 read server hello A (OpenSSL::SSL::SSLError)
from C:/Ruby23/lib/ruby/2.3.0/net/http.rb:933:in `connect'
from C:/Ruby23/lib/ruby/2.3.0/net/http.rb:863:in `do_start'
from C:/Ruby23/lib/ruby/2.3.0/net/http.rb:852:in `start'
from C:/Ruby23/lib/ruby/2.3.0/open-uri.rb:319:in `open_http'
from C:/Ruby23/lib/ruby/2.3.0/open-uri.rb:737:in `buffer_open'
from C:/Ruby23/lib/ruby/2.3.0/open-uri.rb:212:in `block in open_loop'
from C:/Ruby23/lib/ruby/2.3.0/open-uri.rb:210:in `catch'
from C:/Ruby23/lib/ruby/2.3.0/open-uri.rb:210:in `open_loop'
from C:/Ruby23/lib/ruby/2.3.0/open-uri.rb:151:in `open_uri'
from C:/Ruby23/lib/ruby/gems/2.3.0/gems/open_uri_redirections-0.2.1/lib/open-uri/redirections_patch.rb:55:in `open_uri'
from C:/Ruby23/lib/ruby/2.3.0/open-uri.rb:717:in `open'
from C:/Ruby23/lib/ruby/2.3.0/open-uri.rb:35:in `open'
from C:/Ruby23/lib/ruby/gems/2.3.0/gems/narou-3.4.1/lib/downloader.rb:728:in `get_toc_source'
from C:/Ruby23/lib/ruby/gems/2.3.0/gems/narou-3.4.1/lib/downloader.rb:763:in `get_latest_table_of_contents'
from C:/Ruby23/lib/ruby/gems/2.3.0/gems/narou-3.4.1/lib/downloader.rb:349:in `run_download'
from C:/Ruby23/lib/ruby/gems/2.3.0/gems/narou-3.4.1/lib/downloader.rb:332:in `start_download'
from C:/Ruby23/lib/ruby/gems/2.3.0/gems/narou-3.4.1/lib/command/download.rb:142:in `block in execute'
from C:/Ruby23/lib/ruby/gems/2.3.0/gems/narou-3.4.1/lib/command/download.rb:110:in `each'
from C:/Ruby23/lib/ruby/gems/2.3.0/gems/narou-3.4.1/lib/command/download.rb:110:in `with_index'
from C:/Ruby23/lib/ruby/gems/2.3.0/gems/narou-3.4.1/lib/command/download.rb:110:in `execute'
from C:/Ruby23/lib/ruby/gems/2.3.0/gems/narou-3.4.1/lib/commandbase.rb:125:in `execute!'
from C:/Ruby23/lib/ruby/gems/2.3.0/gems/narou-3.4.1/lib/commandbase.rb:134:in `execute!'
from C:/Ruby23/lib/ruby/gems/2.3.0/gems/narou-3.4.1/lib/commandline.rb:29:in `run'
from C:/Ruby23/lib/ruby/gems/2.3.0/gems/narou-3.4.1/lib/commandline.rb:43:in `run!'
from C:/Ruby23/lib/ruby/gems/2.3.0/gems/narou-3.4.1/lib/web/appserver.rb:539:in `block (2 levels) in '
from C:/Ruby23/lib/ruby/gems/2.3.0/gems/narou-3.4.1/lib/web/web_worker.rb:47:in `block (3 levels) in start'
・起動時のコンソール表示は以下です。
[2019-11-24 10:44:05] INFO WEBrick 1.5.0
[2019-11-24 10:44:05] INFO ruby 2.6.5 (2019-10-01) [x64-mingw32]
== Sinatra (v1.4.8) has taken the stage on 58660 for production with backup from WEBrick
[2019-11-24 10:44:05] INFO WEBrick::HTTPServer#start: pid=11620 port=58660
== Sinatra has ended his set (crowd applauds)
[2019-11-24 10:46:24] INFO going to shutdown ...
[2019-11-24 10:46:24] INFO WEBrick::HTTPServer#start done.
・データに問題があるのかと思い、新しくフォルダを初期化したうえで試しましたが、起動しませんでした。
・narou traceでは直前のバックトレースがありませんでした。
・narou web --backtraceで起動しても、同様にバックトレースが出力されませんでした。
正しくは以下です。
[2019-11-24 11:43:12] INFO WEBrick 1.5.0
[2019-11-24 11:43:12] INFO ruby 2.6.5 (2019-10-01) [x64-mingw32]
== Sinatra (v1.4.8) has taken the stage on 58660 for production with backup from WEBrick
[2019-11-24 11:43:12] INFO WEBrick::HTTPServer#start: pid=10324 port=58660
Traceback (most recent call last):
15: from <internal:gem_prelude>:2:in `<internal:gem_prelude>'
14: from <internal:gem_prelude>:2:in `require'
13: from C:/tools/ruby26/lib/ruby/2.6.0/rubygems.rb:1375:in `<top (required)>'
12: from C:/tools/ruby26/lib/ruby/2.6.0/rubygems.rb:1375:in `require'
11: from C:/tools/ruby26/lib/ruby/2.6.0/rubygems/defaults/operating_system.rb:3:in `<top (required)>'
10: from C:/tools/ruby26/lib/ruby/site_ruby/2.6.0/ruby_installer/runtime/singleton.rb:27:in `enable_dll_search_paths'
9: from C:/tools/ruby26/lib/ruby/site_ruby/2.6.0/ruby_installer/runtime/msys2_installation.rb:99:in `enable_dll_search_paths'
8: from C:/tools/ruby26/lib/ruby/site_ruby/2.6.0/ruby_installer/runtime/msys2_installation.rb:89:in `mingw_bin_path'
7: from C:/tools/ruby26/lib/ruby/site_ruby/2.6.0/ruby_installer/runtime/msys2_installation.rb:76:in `msys_path'
6: from C:/tools/ruby26/lib/ruby/site_ruby/2.6.0/ruby_installer/runtime/msys2_installation.rb:48:in `iterate_msys_paths'
5: from C:/tools/ruby26/lib/ruby/2.6.0/win32/registry.rb:542:in `open'
4: from C:/tools/ruby26/lib/ruby/2.6.0/win32/registry.rb:435:in `open'
3: from C:/tools/ruby26/lib/ruby/site_ruby/2.6.0/ruby_installer/runtime/msys2_installation.rb:49:in `block in iterate_msys_paths'
2: from C:/tools/ruby26/lib/ruby/2.6.0/win32/registry.rb:611:in `each_key'
1: from C:/tools/ruby26/lib/ruby/2.6.0/win32/registry.rb:910:in `export_string'
C:/tools/ruby26/lib/ruby/2.6.0/win32/registry.rb:910:in `encode': U+00AE to Windows-31J in conversion from UTF-16LE to UTF-8 to Windows-31J (Encoding::UndefinedConversionError)
narou webのUPDATEで下記ページの読み込みでエラーになりました。
#<Thread:0x00000000065f3650@C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/web/web_worker.rb:46 run> terminated with exception (report_on_exception is true):
Traceback (most recent call last):
17: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/web/web_worker.rb:47:in `block (3 levels) in start'
16: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/web/appserver.rb:575:in `block (2 levels) in <class:AppServer>'
15: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/commandbase.rb:125:in `execute!'
14: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/command/update.rb:157:in `execute'
13: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/command/update.rb:157:in `each_with_index'
12: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/command/update.rb:157:in `each'
11: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/command/update.rb:182:in `block in execute'
10: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/downloader.rb:332:in `start_download'
9: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/downloader.rb:348:in `run_download'
8: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/downloader.rb:341:in `load_toc_file'
7: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/downloader.rb:1270:in `load_novel_data'
6: from C:/Ruby26-x64/lib/ruby/2.6.0/psych.rb:577:in `load_file'
5: from C:/Ruby26-x64/lib/ruby/2.6.0/psych.rb:577:in `open'
4: from C:/Ruby26-x64/lib/ruby/2.6.0/psych.rb:578:in `block in load_file'
3: from C:/Ruby26-x64/lib/ruby/2.6.0/psych.rb:277:in `load'
2: from C:/Ruby26-x64/lib/ruby/2.6.0/psych.rb:390:in `parse'
1: from C:/Ruby26-x64/lib/ruby/2.6.0/psych.rb:456:in `parse_stream'
C:/Ruby26-x64/lib/ruby/2.6.0/psych.rb:456:in `parse': (C:/MyNovel/小説データ/小説家になろう/n5529cy 老後に備えて異世界で8万枚の金貨を貯めます/toc.yaml): control characters are not allowed at line 1 column 1 (Psych::SyntaxError)
[2020-01-19 22:08:38] ERROR Psych::SyntaxError: (C:/MyNovel/小説データ/小説家になろう/n5529cy 老後に備えて異世界で8万枚の金貨を貯めます/toc.yaml): control characters are not allowed at line 1 column 1\n\tC:/Ruby26-x64/lib/ruby/2.6.0/psych.rb:456:in `parse_stream'
C:/Ruby26-x64/lib/ruby/2.6.0/psych.rb:456:in `parse': (C:/Users/hide/.narou/lock.yaml): control characters are not allowed at line 1 column 1 (Psych::SyntaxError)
from C:/Ruby26-x64/lib/ruby/2.6.0/psych.rb:456:in `parse_stream'
from C:/Ruby26-x64/lib/ruby/2.6.0/psych.rb:390:in `parse'
from C:/Ruby26-x64/lib/ruby/2.6.0/psych.rb:277:in `load'
from C:/Ruby26-x64/lib/ruby/2.6.0/psych.rb:578:in `block in load_file'
from C:/Ruby26-x64/lib/ruby/2.6.0/psych.rb:577:in `open'
from C:/Ruby26-x64/lib/ruby/2.6.0/psych.rb:577:in `load_file'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/inventory.rb:53:in `rescue in block in init'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/inventory.rb:46:in `block in init'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/helper.rb:497:in `block in memo'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/helper.rb:490:in `synchronize'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/helper.rb:490:in `memo'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/inventory.rb:45:in `init'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/inventory.rb:23:in `block in load'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/inventory.rb:21:in `tap'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/inventory.rb:21:in `load'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/mixin/locker.rb:21:in `lock'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/command/convert.rb:200:in `block in convert_novels'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/command/convert.rb:199:in `each'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/command/convert.rb:199:in `with_index'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/command/convert.rb:199:in `convert_novels'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/command/convert.rb:159:in `block in main'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/command/convert.rb:152:in `each'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/command/convert.rb:152:in `main'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/command/convert.rb:133:in `execute'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/commandbase.rb:125:in `execute!'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/commandbase.rb:134:in `execute!'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/command/convert.rb:123:in `block in execute!'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/narou.rb:363:in `concurrency_call'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/command/convert.rb:122:in `execute!'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/command/update.rb:212:in `block in execute'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/command/update.rb:157:in `each'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/command/update.rb:157:in `each_with_index'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/command/update.rb:157:in `execute'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/commandbase.rb:125:in `execute!'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/commandbase.rb:134:in `execute!'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/commandline.rb:29:in `run'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/commandline.rb:43:in `run!'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/narou.rb:50:in `block in <top (required)>'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/backtracer.rb:16:in `capture'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/narou.rb:49:in `<top (required)>'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/bin/narou:13:in `require_relative'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/bin/narou:13:in `<top (required)>'
from C:/Ruby26-x64/bin/narou:23:in `load'
from C:/Ruby26-x64/bin/narou:23:in `<main>'
と出ます。
WEB UIサーバを再起動しても直りませんでした。
WEB UIから登録してある小説を更新してみたところコンソールには
Traceback (most recent call last):
32: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/web/web_worker.rb:47:in `block (3 levels) in start'
31: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/web/appserver.rb:575:in `block (2 levels) in <class:AppServer>'
30: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/commandbase.rb:125:in `execute!'
29: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/command/update.rb:157:in `execute'
28: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/command/update.rb:157:in `each_with_index'
27: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/command/update.rb:157:in `each'
26: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/command/update.rb:212:in `block in execute'
25: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/command/convert.rb:122:in `execute!'
24: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/narou.rb:363:in `concurrency_call'
23: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/command/convert.rb:123:in `block in execute!'
22: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/commandbase.rb:134:in `execute!'
21: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/commandbase.rb:125:in `execute!'
20: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/command/convert.rb:133:in `execute'
19: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/command/convert.rb:152:in `main'
18: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/command/convert.rb:152:in `each'
17: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/command/convert.rb:159:in `block in main'
16: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/command/convert.rb:199:in `convert_novels'
15: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/command/convert.rb:199:in `with_index'
14: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/command/convert.rb:199:in `each'
13: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/command/convert.rb:200:in `block in convert_novels'
12: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/mixin/locker.rb:21:in `lock'
11: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/inventory.rb:21:in `load'
10: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/inventory.rb:21:in `tap'
9: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/inventory.rb:23:in `block in load'
8: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/inventory.rb:45:in `init'
7: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/helper.rb:490:in `memo'
6: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/helper.rb:490:in `synchronize'
5: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/helper.rb:497:in `block in memo'
4: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/narou-3.4.8/lib/inventory.rb:47:in `block in init'
3: from C:/Ruby26-x64/lib/ruby/2.6.0/psych.rb:277:in `load'
2: from C:/Ruby26-x64/lib/ruby/2.6.0/psych.rb:390:in `parse'
1: from C:/Ruby26-x64/lib/ruby/2.6.0/psych.rb:456:in `parse_stream'
C:/Ruby26-x64/lib/ruby/2.6.0/psych.rb:456:in `parse': (<unknown>): control characters are not allowed at line 1 column 1 (Psych::SyntaxError)
と出ます。知識がないので長々とすみません
D:\narou_test>narou d n7565bp --backtrace
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.4.8/lib/helper.rb:496: warning: Using the last argument as keyword parameters is deprecated
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.4.8/lib/helper.rb:496: warning: Using the last argument as keyword parameters is deprecated
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.4.8/lib/sitesetting.rb:28:in `glob': nul-separated glob pattern is deprecated (ArgumentError)
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.4.8/lib/sitesetting.rb:28:in `load_settings'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.4.8/lib/sitesetting.rb:48:in `settings'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.4.8/lib/sitesetting.rb:52:in `narou'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.4.8/lib/downloader.rb:185:in `get_toc_url'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.4.8/lib/downloader.rb:70:in `get_sitesetting_by_target'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.4.8/lib/downloader.rb:50:in `initialize'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.4.8/lib/command/download.rb:136:in `new'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.4.8/lib/command/download.rb:136:in `block in execute'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.4.8/lib/command/download.rb:110:in `each'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.4.8/lib/command/download.rb:110:in `with_index'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.4.8/lib/command/download.rb:110:in `execute'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.4.8/lib/commandbase.rb:125:in `execute!'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.4.8/lib/commandbase.rb:134:in `execute!'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.4.8/lib/commandline.rb:29:in `run'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.4.8/lib/commandline.rb:43:in `run!'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.4.8/narou.rb:50:in `block in <top (required)>'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.4.8/lib/backtracer.rb:16:in `capture'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.4.8/narou.rb:49:in `<top (required)>'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.4.8/bin/narou:13:in `require_relative'
from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/narou-3.4.8/bin/narou:13:in `<top (required)>'
from C:/Ruby27-x64/bin/narou:23:in `load'
from C:/Ruby27-x64/bin/narou:23:in `<main>'
再現方法(何をやったら起こったのか詳細に):
3.4.8から3.5.0.1にバージョンアップしたあとに、Narou.rbが再起動して
その後にボタンを押したらなりました。下記のエラーです。
Narou.rb version 3.5.0.1
最新話掲載日を確認しています...
C:/Ruby24/lib/ruby/gems/2.4.0/gems/narou-3.5.0.1/lib/narou/api.rb:57:in `request_api': private method `open' called for URI:Module (NoMethodError)
from C:/Ruby24/lib/ruby/gems/2.4.0/gems/narou-3.5.0.1/lib/narou/api.rb:50:in `block in request'
from C:/Ruby24/lib/ruby/gems/2.4.0/gems/narou-3.5.0.1/lib/narou/api.rb:48:in `each'
from C:/Ruby24/lib/ruby/gems/2.4.0/gems/narou-3.5.0.1/lib/narou/api.rb:48:in `each_slice'
from C:/Ruby24/lib/ruby/gems/2.4.0/gems/narou-3.5.0.1/lib/narou/api.rb:48:in `with_index'
from C:/Ruby24/lib/ruby/gems/2.4.0/gems/narou-3.5.0.1/lib/narou/api.rb:48:in `request'
from C:/Ruby24/lib/ruby/gems/2.4.0/gems/narou-3.5.0.1/lib/command/update/general_lastup_updater.rb:40:in `block in update_narou_novels'
from C:/Ruby24/lib/ruby/gems/2.4.0/gems/narou-3.5.0.1/lib/command/update/general_lastup_updater.rb:38:in `each'
from C:/Ruby24/lib/ruby/gems/2.4.0/gems/narou-3.5.0.1/lib/command/update/general_lastup_updater.rb:38:in `update_narou_novels'
from C:/Ruby24/lib/ruby/gems/2.4.0/gems/narou-3.5.0.1/lib/command/update.rb:239:in `update_general_lastup'
from C:/Ruby24/lib/ruby/gems/2.4.0/gems/narou-3.5.0.1/lib/command/update.rb:76:in `block in initialize'
from C:/Ruby24/lib/ruby/2.4.0/optparse.rb:1552:in `block in parse_in_order'
from C:/Ruby24/lib/ruby/2.4.0/optparse.rb:1538:in `catch'
from C:/Ruby24/lib/ruby/2.4.0/optparse.rb:1538:in `parse_in_order'
from C:/Ruby24/lib/ruby/2.4.0/optparse.rb:1532:in `order!'
from C:/Ruby24/lib/ruby/2.4.0/optparse.rb:1626:in `permute!'
from C:/Ruby24/lib/ruby/2.4.0/optparse.rb:1648:in `parse!'
from C:/Ruby24/lib/ruby/gems/2.4.0/gems/narou-3.5.0.1/lib/commandbase.rb:59:in `execute'
from C:/Ruby24/lib/ruby/gems/2.4.0/gems/narou-3.5.0.1/lib/command/update.rb:140:in `execute'
from C:/Ruby24/lib/ruby/gems/2.4.0/gems/narou-3.5.0.1/lib/commandbase.rb:125:in `execute!'
from C:/Ruby24/lib/ruby/gems/2.4.0/gems/narou-3.5.0.1/lib/commandbase.rb:134:in `execute!'
from C:/Ruby24/lib/ruby/gems/2.4.0/gems/narou-3.5.0.1/lib/commandline.rb:29:in `run'
from C:/Ruby24/lib/ruby/gems/2.4.0/gems/narou-3.5.0.1/lib/commandline.rb:43:in `run!'
from C:/Ruby24/lib/ruby/gems/2.4.0/gems/narou-3.5.0.1/lib/web/appserver.rb:791:in `block (2 levels) in '
from C:/Ruby24/lib/ruby/gems/2.4.0/gems/narou-3.5.0.1/lib/web/web_worker.rb:47:in `block (3 levels) in start'
再現方法(何をやったら起こったのか詳細に):
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>'