エラーメッセージ1:
$ narou convert --backtrace 158
>> Kindle用に変換します
ID:158 裏切られたSランク冒険者の俺は、愛する奴隷の彼女らと共に奴隷だけのハーレムギルドを作る(旧題:Sランク冒険者の俺は奴隷の彼女らと共に、奴隷だけのハーレムギルドを作る) の変換を開始
#<Thread:0x0000561893e566c0@/var/lib/gems/2.5.0/gems/narou-3.4.2/lib/worker.rb:48 run> terminated with exception (report_on_exception is true):
Traceback (most recent call last):
21: from /var/lib/gems/2.5.0/gems/narou-3.4.2/lib/worker.rb:49:in `block (3 levels) in start'
20: from /var/lib/gems/2.5.0/gems/narou-3.4.2/lib/command/convert.rb:123:in `block in execute!'
19: from /var/lib/gems/2.5.0/gems/narou-3.4.2/lib/commandbase.rb:134:in `execute!'
18: from /var/lib/gems/2.5.0/gems/narou-3.4.2/lib/commandbase.rb:125:in `execute!'
17: from /var/lib/gems/2.5.0/gems/narou-3.4.2/lib/command/convert.rb:133:in `execute'
16: from /var/lib/gems/2.5.0/gems/narou-3.4.2/lib/command/convert.rb:152:in `main'
15: from /var/lib/gems/2.5.0/gems/narou-3.4.2/lib/command/convert.rb:152:in `each'
14: from /var/lib/gems/2.5.0/gems/narou-3.4.2/lib/command/convert.rb:159:in `block in main'
13: from /var/lib/gems/2.5.0/gems/narou-3.4.2/lib/command/convert.rb:199:in `convert_novels'
12: from /var/lib/gems/2.5.0/gems/narou-3.4.2/lib/command/convert.rb:199:in `with_index'
11: from /var/lib/gems/2.5.0/gems/narou-3.4.2/lib/command/convert.rb:199:in `each'
10: from /var/lib/gems/2.5.0/gems/narou-3.4.2/lib/command/convert.rb:200:in `block in convert_novels'
9: from /var/lib/gems/2.5.0/gems/narou-3.4.2/lib/mixin/locker.rb:26:in `lock'
8: from /var/lib/gems/2.5.0/gems/narou-3.4.2/lib/command/convert.rb:201:in `block (2 levels) in convert_novels'
7: from /var/lib/gems/2.5.0/gems/narou-3.4.2/lib/command/convert.rb:236:in `convert_novel_main'
6: from /var/lib/gems/2.5.0/gems/narou-3.4.2/lib/novelconverter.rb:52:in `convert'
5: from /var/lib/gems/2.5.0/gems/narou-3.4.2/lib/novelconverter.rb:402:in `convert_main'
4: from /var/lib/gems/2.5.0/gems/narou-3.4.2/lib/novelconverter.rb:402:in `each_with_index'
3: from /var/lib/gems/2.5.0/gems/narou-3.4.2/lib/novelconverter.rb:402:in `each'
2: from /var/lib/gems/2.5.0/gems/narou-3.4.2/lib/novelconverter.rb:404:in `block in convert_main'
1: from /var/lib/gems/2.5.0/gems/narou-3.4.2/lib/extension.rb:39:in `write'
/var/lib/gems/2.5.0/gems/narou-3.4.2/lib/extension.rb:39:in `rename': File name too long @ rb_file_s_rename - (/home/xxxxxxxxxxxxxxxxx/Novel/小説データ/ノクターンノベルズ/n8258et Sランク冒険者の俺は奴隷の彼女らと共に、奴隷だけのハーレムギルドを作る/2d61a57ad63622875d689ba1d2cf2c, /home/xxxxxxxxxxxxxxxxx/Novel/小説データ/ノクターンノベルズ/n8258et Sランク冒険者の俺は奴隷の彼女らと共に、奴隷だけのハーレムギルドを作る/[柊咲] 裏切られたSランク冒険者の俺は、愛する奴隷の彼女らと共に奴隷だけのハーレムギルドを作る(旧題:Sランク冒険者の俺は奴隷の彼女らと共に、奴隷だけのハーレムギルドを作る).txt) (Errno::ENAMETOOLONG)
エラーメッセージ2:
Traceback (most recent call last):
20: from /var/lib/gems/2.5.0/gems/narou-3.4.2/lib/worker.rb:49:in `block (3 levels) in start'
19: from /var/lib/gems/2.5.0/gems/narou-3.4.2/lib/command/convert.rb:123:in `block in execute!'
18: from /var/lib/gems/2.5.0/gems/narou-3.4.2/lib/commandbase.rb:134:in `execute!'
17: from /var/lib/gems/2.5.0/gems/narou-3.4.2/lib/commandbase.rb:125:in `execute!'
16: from /var/lib/gems/2.5.0/gems/narou-3.4.2/lib/command/convert.rb:133:in `execute'
15: from /var/lib/gems/2.5.0/gems/narou-3.4.2/lib/command/convert.rb:152:in `main'
14: from /var/lib/gems/2.5.0/gems/narou-3.4.2/lib/command/convert.rb:152:in `each'
13: from /var/lib/gems/2.5.0/gems/narou-3.4.2/lib/command/convert.rb:159:in `block in main'
12: from /var/lib/gems/2.5.0/gems/narou-3.4.2/lib/command/convert.rb:199:in `convert_novels'
11: from /var/lib/gems/2.5.0/gems/narou-3.4.2/lib/command/convert.rb:199:in `with_index'
10: from /var/lib/gems/2.5.0/gems/narou-3.4.2/lib/command/convert.rb:199:in `each'
9: from /var/lib/gems/2.5.0/gems/narou-3.4.2/lib/command/convert.rb:200:in `block in convert_novels'
8: from /var/lib/gems/2.5.0/gems/narou-3.4.2/lib/mixin/locker.rb:26:in `lock'
7: from /var/lib/gems/2.5.0/gems/narou-3.4.2/lib/command/convert.rb:201:in `block (2 levels) in convert_novels'
6: from /var/lib/gems/2.5.0/gems/narou-3.4.2/lib/command/convert.rb:236:in `convert_novel_main'
5: from /var/lib/gems/2.5.0/gems/narou-3.4.2/lib/novelconverter.rb:52:in `convert'
4: from /var/lib/gems/2.5.0/gems/narou-3.4.2/lib/novelconverter.rb:402:in `convert_main'
3: from /var/lib/gems/2.5.0/gems/narou-3.4.2/lib/novelconverter.rb:402:in `each_with_index'
2: from /var/lib/gems/2.5.0/gems/narou-3.4.2/lib/novelconverter.rb:402:in `each'
1: from /var/lib/gems/2.5.0/gems/narou-3.4.2/lib/novelconverter.rb:404:in `block in convert_main'
/var/lib/gems/2.5.0/gems/narou-3.4.2/lib/extension.rb:39:in `write': File name too long @ rb_file_s_rename - (/home/xxxxxxxxxxxxxxxxx/Novel/小説データ/ノクターンノベルズ/n8258et Sランク冒険者の俺は奴隷の彼女らと共に、奴隷だけのハーレムギルドを作る/2d61a57ad63622875d689ba1d2cf2c, /home/xxxxxxxxxxxxxxxxx/Novel/小説データ/ノクターンノベルズ/n8258et Sランク冒険者の俺は奴隷の彼女らと共に、奴隷だけのハーレムギルドを作る/[柊咲] 裏切られたSランク冒険者の俺は、愛する奴隷の彼女らと共に奴隷だけのハーレムギルドを作る(旧題:Sランク冒険者の俺は奴隷の彼女らと共に、奴隷だけのハーレムギルドを作る).txt) (Errno::ENAMETOOLONG)
#<Thread:0x00000000127132b8@C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.4.2/l
ib/web/web_worker.rb:46 run> terminated with exception (report_on_exception is t
rue):
Traceback (most recent call last):
17: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.4.2/lib/web/web_
worker.rb:47:in `block (3 levels) in start'
16: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.4.2/lib/web/apps
erver.rb:839:in `block (2 levels) in <class:AppServer>'
15: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.4.2/lib/commandl
ine.rb:43:in `run!'
14: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.4.2/lib/commandl
ine.rb:29:in `run'
13: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.4.2/lib/commandb
ase.rb:134:in `execute!'
12: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.4.2/lib/commandb
ase.rb:125:in `execute!'
11: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.4.2/lib/command/
download.rb:110:in `execute'
10: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.4.2/lib/command/
download.rb:110:in `with_index'
9: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.4.2/lib/command/
download.rb:110:in `each'
8: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.4.2/lib/command/
download.rb:142:in `block in execute'
7: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.4.2/lib/download
er.rb:332:in `start_download'
6: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.4.2/lib/download
er.rb:362:in `run_download'
5: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.4.2/lib/download
er.rb:1292:in `init_novel_dir'
4: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.4.2/lib/download
er.rb:1292:in `each'
3: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.4.2/lib/download
er.rb:1302:in `block in init_novel_dir'
2: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.4.2/lib/template
.rb:33:in `write'
1: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.4.2/lib/extensio
n.rb:35:in `write'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.4.2/lib/extension.rb:35:in `write
': No such file or directory @ rb_sysopen - H:/novel/小説データ/小説家になろう/n
4114fk 華麗なるオルレリアの謙虚なる転身 Histoire Merveilleuse de /79362a6b1a57f2
9aaaf4c86c567fc1 (Errno::ENOENT)
[2019-04-18 12:32:59] ERROR Errno::ENOENT: No such file or directory @ rb_sysope
n - H:/novel/小説データ/小説家になろう/n4114fk 華麗なるオルレリアの謙虚なる転身
Histoire Merveilleuse de /79362a6b1a57f29aaaf4c86c567fc1\n\tC:/Ruby25-x64/lib/ru
by/gems/2.5.0/gems/narou-3.4.2/lib/extension.rb:35:in `write'
D:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.4.2/lib/extension.rb:35:in `write': No such file or directory @ rb_sysopen - D:/novel/小説データ/小説家になろう/n0680fm 銀砂の港の策士たち-tacticians in a harbor fronting /e6f01d3b513be228798c1a5d5eb3a1 (Errno::ENOENT)
from D:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.4.2/lib/extension.rb:35:in `write'
from D:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.4.2/lib/template.rb:33:in `write'
from D:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.4.2/lib/downloader.rb:1302:in `block in init_novel_dir'
from D:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.4.2/lib/downloader.rb:1292:in `each'
from D:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.4.2/lib/downloader.rb:1292:in `init_novel_dir'
from D:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.4.2/lib/downloader.rb:362:in `run_download'
from D:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.4.2/lib/downloader.rb:332:in `start_download'
from D:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.4.2/lib/command/download.rb:142:in `block in execute'
from D:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.4.2/lib/command/download.rb:110:in `each'
from D:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.4.2/lib/command/download.rb:110:in `with_index'
from D:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.4.2/lib/command/download.rb:110:in `execute'
from D:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.4.2/lib/commandbase.rb:125:in `execute!'
from D:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.4.2/lib/commandbase.rb:134:in `execute!'
from D:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.4.2/lib/commandline.rb:29:in `run'
from D:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.4.2/lib/commandline.rb:43:in `run!'
from D:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.4.2/narou.rb:50:in `block in <top (required)>'
from D:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.4.2/lib/backtracer.rb:16:in `capture'
from D:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.4.2/narou.rb:49:in `<top (required)>'
from D:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.4.2/bin/narou:13:in `require_relative'
from D:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/narou-3.4.2/bin/narou:13:in `<top (required)>'
from D:/Ruby25-x64/bin/narou:23:in `load'
from D:/Ruby25-x64/bin/narou:23:in `<main>'
OSはWindow10でNarou.rbのバージョン3.4.3にて
SendをしてもKindlePWにファイルが送られないです。
3.4.2の時は発生しておらずバージョンアップしたら発生するようになりました。
log/**__convert.txtには送られるファイルの数だけ下のエラー文があります
このPsych::SyntaxErrorはRubyが壊れて発生してるんですかね?
[05:39:13] C:/Ruby25/lib/ruby/2.5.0/psych.rb:402:in `parse': (D:/MyNovel/.narou/lock.yaml): control characters are not allowed at line 1 column 1 (Psych::SyntaxError)
[05:39:13] from C:/Ruby25/lib/ruby/2.5.0/psych.rb:402:in `parse_stream'
[05:39:13] from C:/Ruby25/lib/ruby/2.5.0/psych.rb:350:in `parse'
[05:39:13] from C:/Ruby25/lib/ruby/2.5.0/psych.rb:263:in `load'
[05:39:13] from C:/Ruby25/lib/ruby/2.5.0/psych.rb:498:in `block in load_file'
[05:39:13] from C:/Ruby25/lib/ruby/2.5.0/psych.rb:497:in `open'
[05:39:13] from C:/Ruby25/lib/ruby/2.5.0/psych.rb:497:in `load_file'
[05:39:13] from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.4.3/lib/inventory.rb:53:in `rescue in block in init'
[05:39:13] from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.4.3/lib/inventory.rb:46:in `block in init'
[05:39:13] from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.4.3/lib/helper.rb:497:in `block in memo'
[05:39:13] from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.4.3/lib/helper.rb:490:in `synchronize'
[05:39:13] from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.4.3/lib/helper.rb:490:in `memo'
[05:39:13] from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.4.3/lib/inventory.rb:45:in `init'
[05:39:13] from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.4.3/lib/inventory.rb:23:in `block in load'
[05:39:13] from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.4.3/lib/inventory.rb:21:in `tap'
[05:39:13] from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.4.3/lib/inventory.rb:21:in `load'
[05:39:13] from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.4.3/lib/mixin/locker.rb:21:in `lock'
[05:39:13] from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.4.3/lib/command/convert.rb:200:in `block in convert_novels'
[05:39:13] from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.4.3/lib/command/convert.rb:199:in `each'
[05:39:13] from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.4.3/lib/command/convert.rb:199:in `with_index'
[05:39:13] from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.4.3/lib/command/convert.rb:199:in `convert_novels'
[05:39:13] from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.4.3/lib/command/convert.rb:159:in `block in main'
[05:39:13] from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.4.3/lib/command/convert.rb:152:in `each'
[05:39:13] from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.4.3/lib/command/convert.rb:152:in `main'
[05:39:13] from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.4.3/lib/command/convert.rb:133:in `execute'
[05:39:13] from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.4.3/lib/commandbase.rb:125:in `execute!'
[05:39:13] from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.4.3/lib/commandbase.rb:134:in `execute!'
[05:39:13] from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.4.3/lib/command/convert.rb:123:in `block in execute!'
[05:39:13] from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.4.3/lib/worker.rb:49:in `block (3 levels) in start'
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'