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

不具合報告スレ

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

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

OS のバージョン:

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

何が起きたのか:

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

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

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 で試したところ再現できず

271名無しさん:2020/02/28(金) 22:40:15 ID:???
>>269
選択した小説の最新版が既に送信済みと見なされた場合そのような挙動となるようです
該当のファイルを一度Kindle端末から削除すると直るかもしれません

272作者★:2020/02/28(金) 22:48:36 ID:???
そういえばそんな仕様でした
ファイルが既に存在し、かつファイルの更新日時が新しくなければ送信はしません

273名無しさん:2020/02/29(土) 07:29:47 ID:n.0jQh1A
Narou.rb のバージョン:3.5.0.1
OS のバージョン:mac 10.15.3
その他環境情報(任意):Ruby 2.5.1

ncode.syosetu.com/n1247p/

上がダウンロードできますが、epubがどうしても読めません。

274作者★:2020/02/29(土) 11:37:24 ID:???
https://gyazo.com/df7eb7c50e817e0c72c8537f5189cf75
読めるよ

275名無しさん:2020/02/29(土) 14:44:41 ID:CN9aLkvo
ありがとうございます。
年代物のmacなので、ハードが逝っちゃったのかも、、、。
帰ったら確認してみます。

276名無しさん:2020/03/03(火) 03:42:25 ID:aFTy48xU

Narou.rb:3.5.0.1

更新した時に話名(subtitle)が変わってた場合、rawと本文に古いファイルが残ってしまう。

差分扱いじゃないからrawと本文の中身を全削除してtoc.yamlとtoc.yaml.backupを綺麗にしてから強制再取得しないといけない。

277名無しさん:2020/03/03(火) 03:59:32 ID:aFTy48xU

>>276
追記

割り込み投稿や話の削除が有って自動的に強制再取得状態にあった。

278名無しさん:2020/03/04(水) 05:51:29 ID:D8Qicfi6

Narou.rb:3.5.0.1

挿絵タグを有効にしてるのに挿絵が挿入されない。

279名無しさん:2020/03/04(水) 17:48:23 ID:D8Qicfi6

>>278
追記
どうやら作業ファイルの挿絵に関する書式が間違っているようで、挿絵の処理が全て注記未変換になっている。

280名無しさん:2020/03/04(水) 18:18:32 ID:D8Qicfi6

>>279
AozoraEpub3は公式版作者が失踪したので↓を使用

ttps://github.com/kyukyunyorituryo/AozoraEpub3

281名無しさん:2020/03/04(水) 19:23:31 ID:TTBP7P2s
>>276-280
とりあえず、取得サイトがわからないと確認も難しいと思います。

>>276-277
小説家になろう系サイトでは、話名(subtitle)が変わった場合は、
新着扱いで更新しています。

古いファイルを消したい場合は
narou clean
コマンドを使えばよいのではないでしょうか。

282名無しさん:2020/03/04(水) 21:35:34 ID:D8Qicfi6

>>281
>>278-280 で起きてる現象は、サイトに関係なく発生してる。
挿絵フォルダへの挿絵DLには成功してるので…

AozoraEpub3に渡すための作業用txt作成の段階で失敗してて挿絵無しで出力されてる。

283名無しさん:2020/03/04(水) 21:42:23 ID:D8Qicfi6

>>281

簡単に書くとNarou.rbが生成してる作業用TXTの書式不備を理由にAozoraEpub3が挿絵を変換対象から除外してる。

284名無しさん:2020/03/04(水) 22:57:54 ID:???
本家以外のAozoraEpub3を使った場合は動作保証もサポートもしないって作者が前に言ってた
そもそも作者の指定とは異なる部品(改造版)を使っている時点でNarou.rbの不具合ではない

理由があって本家が使えないならその理由を添えてこの改造版にも対応してくれって要望と共に状況を伝えるのが妥当かね
つまりスレ違い

285名無しさん:2020/03/05(木) 00:06:35 ID:o9Yifl02

>>284
本家はEpubの公式規格に適合してない。
あとJavaライセンスの規定変わって不特定多数への無償頒布は出来なくなったから、OpenJDKでリビルドしないといつ消えてもおかしくない。

286作者★:2020/03/05(木) 21:26:37 ID:???
結局本家AozoraEpub3では変換できるの? できないの?
それすら伝わってこないんだけど

287名無しさん:2020/03/06(金) 03:26:19 ID:gT5rZedY

本家でも無理

288名無しさん:2020/03/06(金) 11:31:51 ID:???
一個でもいいからどの作品をやろうとしたのか書いた方がいいと思うんだけどな。
作者や他の人が試せるから原因特定が捗るでしょう。

289作者★:2020/03/09(月) 21:33:49 ID:???
報告テンプレート無視の投稿はただのポエムとして扱います

290名無しさん:2020/03/09(月) 22:21:27 ID:VUv0IJv6
>>285
qiita.com/to-lz1/items/898421e5050cae90ec20
JAVAライセンスで使えないようにはならないと思うけど、なにか対応策とか有るのだろうか。

291挿絵の件:2020/03/21(土) 11:40:59 ID:8Nm4S3vI
上で書き込んでいた人とは別人ですが……

挿絵がうまく変換できない問題はWindowsでのみ起こる問題で、LinuxやMacOSでは発生しない問題だと思います。
おそらく、文字コードの問題だと思います。

私はずっと仮想マシン上のDebianでnarou.rbを稼働させていたのですが、今日試しにWindows10で変換してみたら挿絵も問題なく変換できるようになっていました。
現在はなぜか変換できます。

変換できることを確認した環境
narou.rb 3.5.0.1
AozoraEpub3-1.1.0b46
Windows10 1909 18363.720
Java 8 241

292作者★:2020/03/21(土) 14:10:14 ID:???
Windowsは基本的に使ってないので動作確認助かります

293作者★:2020/03/21(土) 14:15:15 ID:???
docker run --rm -it -p 127.0.0.1:33000-33001:33000-33001 -v $(pwd):/novel:cached whiteleaf/narou

改造版AozoraEpub3を使った Docker イメージを作ったけど、問題なく動くのを確認(挿絵も含めて)
docker を使える人で環境構築めんどい人はワンライナーで WEB UI 立ち上げられるので、どうぞ

Narou.rb 最新バージョンへの追随はほぼ同時に行う予定

使い方
https://hub.docker.com/r/whiteleaf/narou

294名無しさん:2020/04/02(木) 10:33:01 ID:bxoPs4dM
Narou.rb のバージョン:3.5.1

OS のバージョン:Windows10 Pro 1903

その他環境情報(任意):
  Ruby は、Cドライブにインストール
  MyNovel は、Dドライブにデータがあります。

何が起きたのか:3.5.1の環境で最新話掲載日を確認するとエラーになる。

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

3.5.1 をアンインストールして、3.5.0.1 に環境を戻したところ
正常に処理されるようになりました。
---
D:\Win_AP\Narou.rb\MyNovel>gem uninstall narou -v 3.5.1
Successfully uninstalled narou-3.5.1

D:\Win_AP\Narou.rb\MyNovel>narou u --gl narou --backtrace
最新話掲載日を確認しています...
確認が完了しました
---

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

295作者★:2020/04/02(木) 10:36:39 ID:???
>>294
とくにそこらへんはいじってないのですが、
webnovel フォルダ作って自分でカスタマイズしたファイルがあったりしませんかね

296名無しさん:2020/04/02(木) 13:05:19 ID:bxoPs4dM
お知らせありがとうございます。

webnovel フォルダに、ノベルアップ+用のyamlファイルを置いていたので、
削除してみましたが解決しなかったので、一度、取り込み済みのノベルアップ+の
小説をすべて削除してみたところ最新話掲載日の確認処理が正常に動作するようになりました。

297名無しさん:2020/05/13(水) 10:51:55 ID:rzmH0.lA
dockerでglobal settingが反映されないようなのですが、設定方法ありますか?
単にover18=trueしたいだけなのですが。

298作者★:2020/05/13(水) 12:24:08 ID:???
>>297
設定保存時にエラー出るっぽいですね
一応初期設定で over18=true にしてはあるはずですが
(.narousetting/global_setting.yaml を手動で変更はいけると思います)

299名無しさん:2020/05/13(水) 19:59:49 ID:rzmH0.lA
~/.narousetting/global_setting.yaml は見てくれないようですが、MyNovelフォルダに.narousetting/global_setting.yaml を手動で書けば、問題ないようです。
解決しました。ありがとうございました。

300作者★:2020/05/13(水) 20:03:06 ID:???
dockerなので ~/ を見る権限がないですからね…
(コンテナなのでボリュームとしてマウントしたところしか見えない)

301名無しさん:2020/05/23(土) 01:21:03 ID:capNHE1M
iBooks に同期が上手く行かないです
重複してとんでもないことになってしまったのですがどうすれば

302名無しさん:2020/05/31(日) 21:28:25 ID:WX2vtKcg
本日1週間ぶりに更新しようとしたら、
急に更新フラグが立った作品すべてが全DLになっているんですが、
何か事件でもありましたか?

Versionは3.5.1をWindowsで動かしています

303名無しさん:2020/06/02(火) 20:27:18 ID:mqEIUvWA
>>302
当方も同じくWindows10で使用していますが、特にそういった問題は起こっていません
たまたま改稿(誤字訂正など)が多いと、びっくりするくらい再ダウンロードされることがあります
今日更新したときもそういう作品があって、サイトに飛んでみたら”(改)”マークがずらりでした

304名無しさん:2020/06/04(木) 18:19:43 ID:9RBm2Tzk
>>303
ありがとうございます。
結局まるっと全DLで20時間くらいかかって更新しました。

今週どうなるか、、、

305名無しさん:2020/06/10(水) 05:27:00 ID:UROWpEdY
Narou.rb のバージョン:3.5.1
Rubyのバージョン:ruby 2.6.6p146 (2020-03-31 revision 67876) [x86_64-darwin19]
AozoraEbub3のバージョン:1.1.0b46 (2016/06/17)
OS のバージョン:macOS Catalina 10.15.5

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

何が起きたのか:
n6316bn 転生したらスライムだった件
なぜだかこの小説が変換できないでエラーになります。
他の小説は変換できます。
よろしくお願いします。

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

narou convert 0

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 convert 1
ID:1 デスマーチからはじまる異世界狂想曲( web版 ) の変換を開始
小説状態の調査結果を 調査ログ.txt に出力しました(エラー:0件、警告:0件、INFO:2件)
縦書用の変換が終了しました
AozoraEpub3でEPUBに変換しています......変換しました
[愛七ひろ] デスマーチからはじまる異世界狂想曲( web版 ).epub を出力しました
EPUBファイルを出力しました
小説の保存フォルダを開きますか (y/n)?: n

306作者★:2020/06/10(水) 12:31:03 ID:???
>>305

挿絵を有効にしているとエラーになるようです(AozoraEpub3ではかなり頻発するエラー)

https://github.com/kyukyunyorituryo/AozoraEpub3/releases
こちらの改造版AozoraEpub3では挿絵を有効にしていてもちゃんと変換できるようです(ビルドに使われているJavaが違うのが理由だと思われる)

307名無しさん:2020/06/10(水) 13:31:01 ID:UROWpEdY
>>306

挿絵を無効にしたら、変換できました。

ありがとうございます。
これからもよろしくお願いいたします。

308名無しさん:2020/06/11(木) 17:55:11 ID:???
------------------------------------------------------------
Narou.rb Version 3.5.1
ruby 2.5.7p206 (2019-10-01 revision 67816) [x64-mingw32]
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/83.0.4103.61 Safari/537.36 Edg/83.0.478.44
------------------------------------------------------------

上記環境にて、Narou.rb WEB UI上にて、カクヨムで新規及び取得(ダウンロード)済みの小説がリスト上に表示されない
(小説家になろう での取得分は正常にリスト表示されています)

ただしダウンロード&EPUB変換自体は正常に終了しており
E:\MyNovel\小説データ\カクヨム 配下にタイトル名フォルダにファイルも正常に生成されています
また新規にID番号も割り当てられているようです

この時、Narou.rb WEB UI上では前述のカクヨムダウンロード分はリスト表示されませんが
画面左下の「Page 1 of 1 (全28件から検索しました)」での件数表示は正しいです。
(全28件:小説データ一人合致していますが、カクヨム分は表示され無いため
IDの連番が歯抜けになっています)

どのタイミングで、カクヨムがリスト表示されなくなったのか覚えていませんが
恐らく最近のことだと思われます。
お手数ですが、対処方法についてお教え願います

309名無しさん:2020/06/11(木) 18:04:12 ID:???
追加情報
E:\MyNovel\.narou\database.yaml 上にはカクヨム分も個々のIDに対応した小説の記述が記載されているようです

310作者★:2020/06/11(木) 18:09:11 ID:???
>>308
フィルターかかってませんか?

311名無しさん:2020/06/11(木) 18:16:34 ID:???
そのものズバリでした!!! www

何気に2時間ほど色々試行錯誤した上で質問させて頂いたのに
このような結果(自分のミス)で本当に申し訳ないです。

全く入力した覚えがなかったので、目に留まる事すらありませんでした。
本当に助かりました。今後とも何卒宜しくお願いします

312作者★:2020/06/11(木) 18:34:32 ID:???
>>311
掲載列のサイト名部分をクリックすると自動で入力されるので、たぶん誤クリックしたんじゃないかなと

313名無しさん:2020/06/11(木) 20:17:29 ID:???
>>312
今確認しました。確かにその通りです。以後気をつけます。

重ねて本当にありがとうございました。

314名無しさん:2020/06/12(金) 00:34:29 ID:.3cGp3J.
>>306
これが原因では。
ttps://github.com/hmdev/AozoraEpub3/pull/12

315名無しさん:2020/06/18(木) 08:32:22 ID:PpCfgnp6
報告用テンプレ
-----------------------------------------
Narou.rb のバージョン:3.5.1

OS のバージョン:Win10 Pro x64 2004
WSL2のUbuntuでも同様の現象が確認されました。

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

何が起きたのか:
Update中にエラーで中断されました。
どこで止まっているのか調べたところ、特定の小説で止まっていることが分かりました。

おそらく、ダウンロード時が短編だったものが、連載に変更された作品だと思います。

旧タイトル「ぼっち学のすゝめ」
現タイトル「俺ガイルでショートショートな世界」
ttps://syosetu.org/novel/213985/

一度削除して、再ダウンロードを行ったところ問題なく完了しました。
短編から連載に変更された場合に同様の現象が起こるかもしれないので、念のため書き込みました。
よろしくお願いします。

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

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

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


新着レスの表示


名前: E-mail(省略可)

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

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

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

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