したらばTOP ■掲示板に戻る■ 全部 1-100 最新50 | メール | |
レス数が900を超えています。1000を超えると投稿できなくなるよ。

不具合報告スレ

1作者★:2017/11/21(火) 15:28:21 ID:???
不具合と思われた挙動をした時はこちらに書き込んでください。

報告用テンプレ
-----------------------------------------
Narou.rb のバージョン:

OS のバージョン:

その他環境情報(任意):

何が起きたのか:

再現方法(何をやったら起こったのか詳細に):

-----------------------------------------
エラーメッセージは再現方法に併記。
その際は --backtrace オプションをつけること。

171名無しさん:2019/03/18(月) 20:02:55 ID:BeeloNAk
>>169 です
僕もMojaveです

(2)の方ですが、該当機能をOFFにしたら、
どの小説も無事に変換してくれました

$ narou s "force.enable_kana_ni_to_kanji_ni = false"

特に設定値は変更していません
でも、初期値もfalseだったのでしょうか……?

僕だけの問題だったかもしれません

ともかく動いてくれたので、
これからもnarou.rbで楽しませていただきます

ありがとうございました!

172名無しさん:2019/03/20(水) 19:33:57 ID:Sv1jL89Q
Narou.rb のバージョン:3.4.2

OS のバージョン:linux mint 19.1

その他環境情報(任意):ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux-gnu]

何が起きたのか:タイトルが変更され長くなりすぎたため、変換処理に失敗する。

再現方法(何をやったら起こったのか詳細に):
タイトル:裏切られたSランク冒険者の俺は、愛する奴隷の彼女らと共に奴隷だけのハーレムギルドを作る(旧題:Sランク冒険者の俺は奴隷の彼女らと共に、奴隷だけのハーレムギルドを作る)
URL:novel18.syosetu.com/n8258et/

を変換しようとすると失敗する。

database.yamlで
タイトルを「裏切られたSランク冒険者の俺は、愛する奴隷の彼女らと共に奴隷だけのハーレムギルドを作る(旧題:Sランク冒険者の俺は奴隷の彼女らと共に、奴隷だけのハーレムギルドを」
に変更することで一応は変換できます。
しかし、フォルダ名を
「n8258et Sランク冒険者の俺は奴隷の彼女らと共に、奴隷だけのハーレムギルド」
と変更しても、変換に失敗することからファイル名が長すぎることが原因と考えられます。

書き込みに失敗するためエラーメッセージは次に記述します。

173名無しさん:2019/03/20(水) 19:35:15 ID:Sv1jL89Q
エラーメッセージ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)

174名無しさん:2019/03/20(水) 19:35:36 ID:Sv1jL89Q
エラーメッセージ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)

175作者★:2019/03/21(木) 00:48:42 ID:???
>>172
そういうときのための設定があるのでそれを使って下さい
https://gyazo.com/ab2a8e79a62698357faea204bf34b7a1
ここらへん

176名無しさん:2019/03/21(木) 08:37:09 ID:???
自分のところはZFSなんでパッチで完全に制限掛けちゃってるから気がつかなかったけど
デフォルトで50文字制限がかかってるはずなのにこのエラーは50文字どころじゃ無いような気がします。

177名無しさん:2019/03/22(金) 08:21:10 ID:r4iCTCGk
>>175
了解です

178名無しさん:2019/03/22(金) 18:32:53 ID:9ptHjPZE
更新の早い作者さんを複数フォローしているため、1週間ごとに更新していたhotentryのmail送信時に容量オーバーでエラーになりました。
環境設定の「defauld」で「default.slice_size」にて600話ごとに分割するように指定しましたが、hotentryは対象になっていないようです?
メール送信は失敗したのでUSBで繋いで「send hotentry送信」しましたが全部送信されるようです。
Versionは 3.4.2 です。

179作者★:2019/03/23(土) 21:43:26 ID:???
>>178
hotentry の分割は今の所未対応です

運用で工夫していただければと

180名無しさん:2019/04/06(土) 08:29:09 ID:0PPG73.g
Narou.rb のバージョン:3.4.2
OS のバージョン:ubuntu 18.04
その他環境情報(任意):多分必要ないと思います
何が起きたのか:「Narou.rbでダウンロード」のブックマークレット使用時、「WEB UI Server: OFFLINE」とエラーが出る
再現方法(何をやったら起こったのか詳細に):http(sなし)でなろう小説を開いてブックマークレットを使うと起きます

些細なことですが、せっかく見つけたので

181作者★:2019/04/06(土) 11:21:23 ID:???
>>180
今強制httpsになってるとおもうので、影響はないものとします

182名無しさん:2019/04/18(木) 13:00:16 ID:???
フォルダは作られてるのに無いと言ってくる

#<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'

183名無しさん:2019/05/06(月) 20:29:06 ID:2MJ9tyRw
Narou.rb のバージョン:3.4.2

OS のバージョン:windows10 64bit

その他環境情報(任意):ruby 2.5.3p105

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>'

症状としては>>182の人と同じなのではないかと思います
folder-lenth-limitを49にしてみると成功するのでフォルダ名の末尾が半角スペースになってしまうと失敗する?

184名無しさん:2019/05/06(月) 21:05:19 ID:2MJ9tyRw
>folder-lenth-limitを49にしてみると成功するのでフォルダ名の末尾が半角スペースになってしまうと失敗する?
folder-length-limit
です 
間違えました

185作者★:2019/05/06(月) 21:21:36 ID:???
>>183-184
はい、現行バージョンではバグってます
開発版では修正済みです(未リリース)
とりあえず folder-length-limit の数字調整で回避推奨

186名無しさん:2019/05/06(月) 23:13:42 ID:2MJ9tyRw
ありがとうございます
修正版をお待ちしてます

187名無しさん:2019/06/01(土) 10:03:36 ID:???
3.4.2ですがfilename-length-limitが効きません。
lib/narou.rbのcreate_novel_filenameでfile_titleを使わずにtitleを処理して使っているのが理由だと思います。
file_titleの処理順がわからなかったのでtruncate_pathを入れてみたところ出力ファイル名が短縮されたので多分これだと思うのですが、確認お願いします。

188名無しさん:2019/07/06(土) 07:52:46 ID:tkHylokM
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'

189tkHylokM:2019/07/06(土) 08:05:22 ID:tkHylokM
logを見直したら3.4.3にアップデートする一個前のから発生してました、
思い出してみましたが多分、凍結済みのを久しぶりに更新した後からの発生だと思います

190作者★:2019/07/06(土) 09:17:20 ID:???
>>188
lock.yaml が壊れてるので削除すればイケルと思います

191tkHylokM:2019/07/06(土) 17:46:12 ID:tkHylokM
>>190
返信ありがとうございます。
lock.yamlの削除だけではなぜか改善しなかったですが、
database.yaml以外を削除したら復帰しました。
Sendを実行したためか更新された作品が送られなかったので
更新されたファイルをConvertし直しになりましたがorz

192作者★:2019/07/18(木) 13:01:16 ID:???
>> 187
> 3.4.2ですがfilename-length-limitが効きません。
> lib/narou.rbのcreate_novel_filenameでfile_titleを使わずにtitleを処理して使っているのが理由だと思います。

仕様です。
説明に「ダウンロード時の各話タイトル」に影響すると書いてあると思います。
出力される mobi などのファイル名を恒常的に短くする手段は今の所存在しませんが、
最近あまりにもクソ長い小説タイトルが散見されて、それで引っかかりやすいのかもしれませんね。
基本的に私がそういう小説はタイトル見ただけで「なし」なので考慮外でした。

対策するとしたら title-length-limit 的なのを新しく作ることを検討します

193作者★:2019/07/18(木) 13:39:14 ID:???
webnovel/ncode.syosetu.com.yaml
ファイルを作って、

name: 小説家になろう
title_strip_pattern: '(?<=^.{20}).*'

と書くと21文字目以降を削除
みたいなことはすでに可能(小説リストのタイトルも短くなっちゃうけど)

194作者★:2019/08/31(土) 14:14:18 ID:???
>>192
3.4.5 で ebook-filename-length-limit を実装

195名無しさん:2019/10/01(火) 11:33:56 ID:TnijLP4Y
-----------------------------------------
Narou.rb のバージョン:
3.4.5
OS のバージョン:
macOS Mojave 10.14.6
その他環境情報(任意):
WEB UI
何が起きたのか:
特定の小説で下記のエラー
[ERROR] converter.rbは見つかりましたが、`converter'で登録されていないようです。変換処理は converter "n9902bn デスマーチからはじまる異世界狂想曲( web版 )" として登録する必要があります
再現方法(何をやったら起こったのか詳細に):
一度該当小説を削除してもう一度してみた。
日を改めて再度削除してダウンロードしてみた。
EPUBファイルは出来ているし読めるので問題ないですが気になります。
よろしくお願いいたします。
-----------------------------------------

196名無しさん:2019/10/02(水) 08:53:02 ID:HD4PhAGM
195へ追記
windows10でためしたところこちらはエラーになりませんでした。

197作者★:2019/10/02(水) 20:56:16 ID:???
>>195
エラーの通りなのですが、
converter.rb を編集して対象部分を書き換えて下さい
(converter.rb を削除でも良いです)

プリセットとして用意してあったやつがタイトルが変わって読み込めなくなったようなので、
そのうち修正します

198名無しさん:2019/10/04(金) 13:09:55 ID:???
Narou.rb のバージョン:3.4.5
OS のバージョン:win7
何が起きたのか:朝まではupdataできたのですが、先ほどから話数0で読み込めなくなりました。
ダウンロードしたなろうの小説は全部0表示でした。
なろう以外はupdataできます。
なろう側のシステムが変わったのでしょうか?

よろしくお願いいたします。

199作者★:2019/10/04(金) 14:08:55 ID:???
>>198
いつものHTMLの構造変更でしょう
対応するまでお待ち下さい

200作者★:2019/10/04(金) 14:36:42 ID:???
対応したのでアプデお願いします

201名無しさん:2019/10/04(金) 14:52:16 ID:???
更新できました。
すばやい対応ありがとうございました。

202名無しさん:2019/10/04(金) 19:39:32 ID:ro8gM8Nc
>>197

ありがとうございました。治りました。
自分のrubyの入れ方が悪かったのかと思っていました。
これからもよろしくお願いします。

203名無しさん:2019/10/05(土) 14:57:09 ID:???
流石の対応速度!

204名無しさん:2019/10/06(日) 14:51:33 ID:EbW30yDM
 Narou.rb のバージョン:3.4.6.1

 OS のバージョン:linux mint 19.2

 何が起きたのか:
更新処理で新規部分の追加はするが
更新部分が更新できない

 再現方法(何をやったら起こったのか詳細に):
更新日時の取得に失敗している

新規扱いになった部分でみてみると、
<以前>
subtitle: 30.春の遠足は山登り
file_subtitle: 30.春の遠足は山登り
subdate: 2018/11/19 21:32
subupdate: 2019/02/08 02:01

<今回>
subtitle: 30.春の遠足は山登り【挿絵あり】
file_subtitle: 30.春の遠足は山登り【挿絵あり】
subdate: 2018/11/19 21:32<span title="2019/09/30 17:54 改稿">(<u>改</u>)</span>
subupdate: ''

となっています。

このため、更新日時が新しくならないため、
更新していないと判断していると思われます。

205作者★:2019/10/06(日) 16:06:53 ID:???
修正が足りなかったようなので確認します

206作者★:2019/10/06(日) 17:57:05 ID:???
>>204
ver 3.4.7 で修正しました
注意点ですが、そのままでは目次データが壊れているので、復元コマンドを用意したのでそれを実行して下さい

3.4.7 にアップデートした状態で、コマンドライン上で
narou restore346
を実行して下さい
(実行しなくても動作はしますが、subdate のおかしくなった話の再DLが発生します)

207名無しさん:2019/10/06(日) 19:40:03 ID:EbW30yDM
>>206

>>204 は修正されましたが、
narou restore346
を実行すると

subdate: 2019/09/23 23:37
subupdate: 2019/09/30 21:29
download_time: 2019-09-29 14:00:45.450057982 +09:00

のような矛盾が発生します。

また、この場合には update.strong でも該当部分が更新されませんでした。

208作者★:2019/10/06(日) 19:57:22 ID:???
>>207
すみません、そこは認識してましたが、妥協しました
subdate がないことによる大量の再DLを防止するための対策です

209作者★:2019/10/06(日) 20:11:45 ID:???
気になる場合は download_time の調整をお願いします

210名無しさん:2019/10/06(日) 20:33:00 ID:EbW30yDM
>>208

subupdate と download_time を比較して
小さいほうを subupdate に入れればよいのでは?

>>209

subupdate を調整しなければ更新しないのでは?

211名無しさん:2019/10/06(日) 21:04:20 ID:EbW30yDM
>>210 追記

>>207 の該当箇所の本文ファイルでは

subdate: 2019/09/23 23:37
subupdate: 2019/09/28 19:23

のまま、更新されません。

212作者★:2019/10/07(月) 11:11:11 ID:???
>>210
>>211

ver 3.4.7.1 をいれて、
narou restore346 -f
と実行してみて下さい

download_time と subupdate を比較して、download_time のほうが古ければ(まだ未更新っぽければ)
subupdate を強制的に空にするようにしました
(= update で該当話は強制更新)

213名無しさん:2019/10/07(月) 16:48:58 ID:p1hBvhb2
>>212

該当部分も更新できることが確認できました。
対応ありがとうございました。

214名無しさん:2019/10/10(木) 10:19:57 ID:qCX0.JMo
Narou.rb のバージョン:3.4.5

OS のバージョン:Windows7

何が起きたのか:
Updating installed gems
Updating narou
Gems updated: rubyzip
Gems already up-to-date: narou
と出てしまいNarou.rb の更新に失敗してしまいます

215作者★:2019/10/10(木) 12:07:59 ID:???
>>214
あなたの環境に由来する問題で、失敗している可能性が非常に高いです
(同じ環境で試しましたが正常に更新出来ることを確認しました)

gem source -l

で gem の sources を確認してみてはどうでしょう
変な sources が追加されたりしてるのでは?
https://rubygems.org/
以外は非推奨です

216名無しさん:2019/10/10(木) 14:21:33 ID:qCX0.JMo
>>215
助言有難うございます。
が、原因究明が私では出来ず。
なろうは落とせませんがカクヨムは落とせますので、
更新せずに使用させて頂きます。

217作者★:2019/10/10(木) 15:47:47 ID:???
一旦アンインストールして入れ直したらすんなり入るかもしれないですね

218ぽん:2019/10/11(金) 14:31:36 ID:p2A.UNcU
Narou.rb のバージョン:3.4.1

OS のバージョン:Windows 8.1

その他環境情報(任意):

何が起きたのか:

Narou.rb. WEB UIを使用してムーンライトノベル小説をダウンロードしようとしたらエラが出ました。
narou.rbのバージョンを更新しても改善されませんでした。
なろう小説もエラーが出ました。
10/3にダウンロードした際には普通に処理出来ていました。


再現方法(何をやったら起こったのか詳細に):

cmdを立ち上げる
narou webを起動させる
Downloadに小説のurlをコピペして実行

[ERROR] 夜に咲くのは華か月虹か の目次がありません

ダウンロード済のものは、通常通り「(url)はダウンロード済みです」と出てきます。

お手数お掛けしますが御助言宜しくお願いします。

219作者★:2019/10/11(金) 15:16:33 ID:???
>>218
> narou.rbのバージョンを更新しても改善されませんでした。

WEB UI は再起動しましたか?

220ぽん:2019/10/11(金) 16:19:58 ID:p2A.UNcU
バージョン更新後、念のためパソコンを再起動させました。
そこで再度ダウンロードを掛けましたがエラーが出ました。

ちなみに、これは以前からなのですが

cmdを立ち上げる
narou webを起動させる
Downloadに小説のurlをコピペして実行

この、UIを立ち上げてダウンロードを一番最初にする時に、毎回必ず以下の表示が出ます。
コピペした小説はダウンロードされません。
ダウンロード済のものの場合は正常にその表記が出て、次に新規のものをダウンロードにかけると以下の表記が出ます。
2回目にダウンロードを掛けると通常通りに作動します。

今回、再起動後にUIを立ち上げてダウンロードを掛けた際にも最初のものについては以下の表記となりました。
2回目にダウンロードを掛けると、エラーが出ます。

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'

221作者★:2019/10/11(金) 16:59:40 ID:???
>>220
Ruby 2.3 って無茶苦茶古いので新しいRuby入れてみて下さい

222作者★:2019/10/11(金) 17:05:17 ID:???
>>220
https://jbbs.shitaraba.net/bbs/read.cgi/computer/44668/1511247073/l50
不具合ではないので質問スレに移動して下さい

223nonki:2019/10/31(木) 12:26:04 ID:Cn3Pzl72
こんにちは
narou.rbの不具合ではないのですが、macos10.15で32bitアプリの
実行ができなくなったために、kindlegenが動作しなくなりmobi形式への変換ができなく
なりました。ご報告まで。

224作者★:2019/10/31(木) 15:28:10 ID:???
>>223
https://jbbs.shitaraba.net/bbs/read.cgi/computer/44668/1511247073/97
参考にどうぞ

225nonki:2019/11/01(金) 09:13:36 ID:HFI7cncA
>> 224
ありがとうございます。無事変換できるようになりました。

226suouttm:2019/11/23(土) 19:25:16 ID:A8Ksj.ho
こんばんは
更新履歴を見てNarou.rb 本体をアップデートしたのですが、3.4.1が最新の状態と認識されているのか、コマンドを実行しても「Nothing to update」という結果になってしまいます。
最新版に更新する方法を教えてください。

227名無しさん:2019/11/23(土) 20:53:22 ID:???
恐らく環境の問題なので先にRubyを新しくしてみるとか

228suouttm:2019/11/23(土) 21:30:29 ID:A8Ksj.ho
Rubyは細心にしてみたんですが、変わらずでした;

229名無しさん:2019/11/23(土) 22:27:00 ID:???
gem sources は?
h ttps://rubygems.org 以外のやつが入っていたらそれが原因かと
そしてNarou.rbの不具合ではないような気がするのでスレ違いかな……

230suouttm:2019/11/23(土) 22:37:43 ID:A8Ksj.ho
rubyをそちらから入れなおして、Narou.rb再インストールしてアップデートできました。
ご回答くれた方ありがとうございました。
あと、すれ違いだったようで失礼しました。

231名無しさん:2019/11/24(日) 10:55:55 ID:???
narou webが正しく起動しません。
起動後、ブラウザが開いたときにページなしとなります。
うろ覚えですが、3.4.5までは起動していました。
Windows10 1903です。

・起動時のコンソール表示は以下です。
[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で起動しても、同様にバックトレースが出力されませんでした。

232作者★:2019/11/24(日) 11:38:08 ID:???
>>231
> [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 ...

このログがあるということはサーバーが正常終了しています
このログの時間の間に時間があるので、手動でサーバーを落としていますか?

ログには何もエラー出てないのでなんの問題もないです
何も表示されないなら表示側の問題では?
・ポートがブロックされている…etc
表示されないのはだいたいブロックされてます。
ファイアウォール、ポート不正、アンチウィルスソフトによるブロック


バックトレースはエラーを表示する機能なので、バックトレースが出力されていないということは正常に動いています

233作者★:2019/11/24(日) 11:40:26 ID:???
あと報告テンプレートに沿って書き込んでください
あなたの環境はあなたしか知りません

234231:2019/11/24(日) 11:48:47 ID:???
>>232
申し訳ありません、チェックしたところ、手動でサーバを落としたログ混じっていたようです。

正しくは以下です。
[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

一応アンチウィルス(Kaspersky)のアプリケーションルールとファイアウォールをチェックしましたが、制限をかける設定になっていませんでした。

235231:2019/11/24(日) 11:54:34 ID:???
>>233
すいません、テンプレに沿った内容に書き直します。

-----------------------------------------
Narou.rb のバージョン:3.4.7.1

OS のバージョン:Windows10 1903 18362.476

その他環境情報(任意): ruby 2.6.5
microsoft edge

何が起きたのか:narou webが起動しない

再現方法(何をやったら起こったのか詳細に):
Power shellでnarou webを起動しようとしましたが、起動しません。


-----------------------------------------

236231:2019/11/24(日) 11:57:57 ID:???
自己解決しました。
Firefox70.0.1に切り替えたら起動しました。
お騒がせしました。

237作者★:2019/11/24(日) 12:00:56 ID:???
99%、そのPC環境の影響で表示できていないので、例えば別のPCで試して表示できるのを確認したら、
そのPCと動かないPCの設定の差異を調べると、原因がわかるんじゃないかと

アンチウィルスソフト以外にもDefenderやらをみるといいかもしれません
WIndowsは詳しくないですけど

あとポート番号を変えるのも地味に効果があるかもしれません

238作者★:2019/12/27(金) 23:36:34 ID:???
Ruby 2.7 がリリースされてますが、Narou.rb は現在動かないので 2.7 の導入はしばらく見合わせると吉

239名無しさん:2020/01/07(火) 14:54:49 ID:???
Narou.rb のバージョン:3.4.8

OS のバージョン:Windows10 1903 18362.535

その他環境情報(任意):ruby 2.6.5p114 (2019-10-01 revision 67812) [x64-mingw32]

何が起きたのか:narouコマンドが動作しなくなった

再現方法(何をやったら起こったのか詳細に):
cmd.exeでnarou -vを実行した結果が以下です

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)

240meganeflash:2020/01/07(火) 15:27:15 ID:MkAP1fcM
質問スレから移動しました。

Narou.rb のバージョン:Version 3.4.8

OS のバージョン:macOS Mojave

その他環境情報(任意):

何が起きたのか:iBooks用に変換したものの目次が機能しない

再現方法(何をやったら起こったのか詳細に):
なろう電子書籍化ツールというサイトで変換したepubデータが古かったので
サイト閉鎖に伴いNarou.rbを使用して変換したデータを使用してみたところ
iPad上でiBooks左上のメニューの目次の内容は表示されるのですが
タップして移動するのはトップページになります。
ただ、MacのiBooksでは正しく動作しました。

241作者★:2020/01/07(火) 19:41:00 ID:???
>>239
さっぱりわからないけど、
https://www.fileformat.info/info/unicode/char/00ae/index.htm
U+00AE が ◯R らしいので、それが含まれてる小説タイトルがひっかかったとか?

小説保存フォルダ移動して、何も小説DLしてない状態でも起こります?

242作者★:2020/01/07(火) 19:42:35 ID:???
>>240
たしかにMac上のiBooksでしか動作は確認してなかったですね
iPad は持ってるのでそのうち確認してみます

243名無しさん:2020/01/07(火) 20:21:54 ID:???
>>241
gemコマンドやrubyのみで実行しても上記エラーが出てしまうので
narou.rbとは無関係でこちらの環境依存かもしれません
ruby再インストールしても起きるんですよね、何故なんだろうか

244239:2020/01/07(火) 21:56:44 ID:???
原因が判明しました
ttps://github.com/oneclick/rubyinstaller2/issues/86

レジストリに半角カナ文字と@を入れるI〇tel製プログラムの影響でした
関係ありませんでしたが一応報告しておきます

245名無しさん:2020/01/19(日) 22:21:06 ID:3.mHLU4E
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'

246作者★:2020/01/19(日) 23:03:55 ID:???
>>245
該当 toc.yaml が壊れてるので削除してDLし直してください

247名無しさん:2020/02/09(日) 16:02:55 ID:pYiZEodE
Narou.rb のバージョン:3.4.8

OS のバージョン:Windows10 1903 18362.592

その他環境情報(任意):

何が起きたのか:3週間ぶりにWEB UIで小説を更新しようとしたら更新もダウンロードもされない

再現方法(何をやったら起こったのか詳細に):
WEB UIで小説を更新したら
最初の緑文字のDL開始の表示から
     ・
第9部分 東の森と北の森 (9/10)
第10部分 強敵 (10/10)
と最新話までのログがでてそこで終わってしまいます。
今まではその後に
小説状態の調査結果を 調査ログ.txt に出力しました
縦書用の変換が終了しました
AozoraEpub3でEPUBに変換しています........変換しました
と出てましたが出てこずtxtファイルもEPUBファイルも出力されません

すべての小説を更新をやっても最初の一作品目の最新話のログまででて止まります
新規でDLボタンで小説をダウンロードしても最新話までのログだけでてWEBUIに作品が登録されません。

248作者★:2020/02/09(日) 17:28:46 ID:???
>247
コンソールにエラー出てたりしませんか?
コンソールで直接更新した場合も同様の症状が出ますか?
WEB UIサーバを再起動しても同じ症状がでますか?

249247:2020/02/09(日) 20:57:38 ID:pYiZEodE
ID:44 IS/SLASH! のDL開始
第12部分 第十二話〜嘲笑う灰色〜 (1/4)
第115部分  第百十五話〜協力関係〜 (2/4) (新着)
第116部分 第百十六話〜停滞中〜 (3/4) (新着)
第117部分 第百十七話〜肉を取り戻せ〜 (4/4) (新着)
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'

エラーが発生したため終了しました。
詳細なエラーログは narou trace で表示出来ます。もしくは --backtrace オプションを付けて再度実行して下さい。
とでてnarou traceの詳細は
C:/Ruby26-x64/bin/narou update

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'

250247:2020/02/09(日) 20:58:07 ID:pYiZEodE
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>'
と出ます。

251247:2020/02/09(日) 21:00:46 ID:pYiZEodE
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)
と出ます。知識がないので長々とすみません

252作者★:2020/02/09(日) 22:59:18 ID:???
C:/Users/hide/.narou/lock.yaml
を削除してください

253247:2020/02/10(月) 01:04:01 ID:7JEP.ZbY
lock.yamlを削除した後、その後の変換時に止まってしまったので
latest_convert.yamlも削除してみたところ正常に動作するようになりました。
本当にありがとうございました。

254名無しさん:2020/02/11(火) 12:11:45 ID:zcWKRlRE
Narou.rb のバージョン:3.4.8

OS のバージョン:linux mint 19.3

その他環境情報(任意):ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux-gnu]

何が起きたのか:更新処理で変更されたはずの本文ファイルがダウンロードされない。

再現方法(何をやったら起こったのか詳細に):
 小説家になろうの小説に対して更新処理を行っても、
下記のように改稿せず削除後追加した場合には更新なしとなり
本文ファイルをダウンロードせずに、
toc.yaml の該当個所の subdate subupdate のみを更新します。
 とりあえず、toc.yaml の該当箇所(最後部)を全て削除してから
更新することで本文ファイルをダウンロードしています。

本文ファイルヘッダ部分
<変更前>
index: '8'
href: "/n5461fv/8/"
chapter: ''
subchapter: ''
subtitle: 抱
file_subtitle: 抱
subdate: 2019/11/11 22:44
subupdate: 2019/11/13 11:55

<変更後>
index: '8'
href: "/n5461fv/8/"
chapter: ''
subchapter: ''
subtitle: 抱
file_subtitle: 抱
subdate: 2020/02/09 13:09
subupdate: ''

<再変更後>
index: '8'
href: "/n5461fv/8/"
chapter: ''
subchapter: ''
subtitle: 抱
file_subtitle: 抱
subdate: 2020/02/10 14:38
subupdate: ''

以上、よろしくお願いします。

255ダメおやじ:2020/02/13(木) 19:49:48 ID:QLYBQd0o
-----------------------------------------
Narou.rb のバージョン:3.4.8

OS のバージョン:win7

その他環境情報(任意):

何が起きたのか:EPUBとテキストファイルは出来るのですが、mobiが出力されない。

再現方法(何をやったら起こったのか詳細に):コマンドプロンプトが立ち上がって、初期化してくださいと出たので、narou init を行ったところ、違うフォルダーに保存されるように。
もう一度消してインストールしなおしたのですが、何度やってもmobiが出来ません。。

ご教授お願いします。

256ダメおやじ:2020/02/13(木) 20:14:04 ID:QLYBQd0o
このように表示されます。以前はmobiに変換中と出てたと思いますが。

ID:0 世界最強の努力家 〜才能が【努力】だったので効率良く規格外の努力をしてみる
〜 の変換を開始
縦書用の変換が終了しました
AozoraEpub3でEPUBに変換しています.....................変換しました
[蒼乃白兎] 世界最強の努力家 _才能が【努力】だったので効率良く規格外の努力をして
みる_.epub を出力しました
EPUBファイルを出力しました
小説の保存フォルダを開きますか (y/n)?:

257作者★:2020/02/13(木) 23:02:15 ID:???
>>255-256
https://jbbs.shitaraba.net/bbs/read.cgi/computer/44668/1511247073/
質問スレへ移動

258作者★:2020/02/14(金) 10:32:23 ID:???
>>254
完全に想定してなかったので、とりあえず仕様で
(修正は必要でしょうけど、遭遇するケースのレアさを考えると後回し)

259名無しさん:2020/02/14(金) 14:38:52 ID:JOttiuWo
>>258
了解です。

260名無しさん:2020/02/16(日) 09:28:39 ID:???
Narou.rb のバージョン: 3.4.8

OS のバージョン: Windows 10 home 64bit (1909)

その他環境情報(任意):ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x64-mingw32]

rubyのバージョンを2.5から2.7に変えて、新規にnarou.rbをインストールしてみたところ、小説のダウンロードで以下のようなエラーが出るようになりました。
いくつか試してみましたが、他の小説でも同じ結果となるようです。

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>'

261作者★:2020/02/16(日) 11:33:42 ID:???
>>260
Ruby 2.7.0 は開発版のみで対応してます

262名無しさん:2020/02/16(日) 12:57:45 ID:???
>>261
了解しました。
ありがとうございます。

263作者★:2020/02/16(日) 13:02:32 ID:???
>>262
こっそりと開発版を正式版として公開しました
Narou.rb 3.5.0 で Ruby 2.7 対応しましたのでアプデしてください

264名無しさん:2020/02/16(日) 17:16:34 ID:???
>>263
できました!
早速の対応ありがとうございます。
いつもお世話になっていて感謝しきりです。

265meganeflash:2020/02/18(火) 08:47:45 ID:ulPlE932
Narou.rb のバージョン:
3.5.0.1
OS のバージョン:
Windows10
その他環境情報(任意):

何が起きたのか:
WebGUIからNarou.rbをアップデートした後に
最新話掲載日をなろうAPIで確認ボタンを押した際に下記のエラーが出る

再現方法(何をやったら起こったのか詳細に):
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'


お手数ですがよろしくお願い致します。

266作者★:2020/02/18(火) 11:27:00 ID:???
>>265
お使いの Ruby のバージョンが 2.4 のほうです
https://github.com/whiteleaf7/narou/wiki#%E5%BF%85%E9%A0%88%E3%83%84%E3%83%BC%E3%83%AB
説明書に書いてあるように、2.5 以上がサポート環境です

だいぶ前から推奨環境は Ruby 2.5 以上になっていましたが、たまたま、2.4 でも動いていました
しかし、今回の Narou.rb のアップデートで、Ruby 2.5 以上でないと動かないコードになったようです

Ruby のアップデートをお願いします

267作者★:2020/02/18(火) 11:28:23 ID:???
なお、現在の Ruby の最新バージョンは 2.7 です

268meganeflash:2020/02/18(火) 13:44:57 ID:ulPlE932
ありがとうございました。

269名無しさん:2020/02/28(金) 20:17:39 ID:NtiMpdJg
Narou.rb のバージョン:
3.5.0.1
OS のバージョン:
Windows7
その他環境情報(任意):Ruby 2.5

何が起きたのか:
3.4.8から3.5.0.1にバージョンアップ後、KindlePWをUSB接続しWebGUIの"Send"ボタンで「選択した小説を送信」とした場合、送信が起こらなかった。エラーメッセージはなし。
その際、右上のキューに積まれた処理の数は0のまま(または一瞬だけ1になるがすぐ0に戻る)。
小説を選択せずにSend(更新された小説を送信)した場合や、Kindleを接続したまま小説を更新したり"Convert"した場合も、Kindleへの送信は問題なく機能する。

不具合なのか当方の環境の問題なのかはわかりかねますが、どうぞ返答いただけましたら幸いです。

270作者★:2020/02/28(金) 22:32:53 ID:???
>>269
コンソールのほうにエラー出ていませんか?
もしくはコマンドで narou send ID で送信を試してエラーが出ないか教えて下さい

macOS で試したところ再現できず


新着レスの表示


名前: E-mail(省略可)

※書き込む際の注意事項はこちら

※画像アップローダーはこちら

(画像を表示できるのは「画像リンクのサムネイル表示」がオンの掲示板に限ります)

掲示板管理者へ連絡 無料レンタル掲示板