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

不具合報告スレ

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

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

OS のバージョン:

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

何が起きたのか:

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

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

38作者★:2018/04/04(水) 13:27:13 ID:???
Rubyを新しいのに入れ直してみて下さい。
SSL証明書が古くなったせいだと思います。

39ユーザー:2018/05/16(水) 10:44:49 ID:bIYfocrI
別スレで書かれた、カクヨム目次の変更の影響もあると思いますが、
バックアップでエラーが出ました。
何かを消せばいい等あれば教えてください。

Win10 64bit
narou.rb Ver 3.1.11

バックアップを作成しています.....C:/Ruby25/lib/ruby/gems/2.5.0/gems/rubyzip-1.2.1/lib/zip/file.rb:396:in `check_entry_exists': add failed. Entry raw/1177354054885566638 侵攻_.html already exists (Zip::EntryExistsError)
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/rubyzip-1.2.1/lib/zip/file.rb:270:in `add'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.1.11/lib/command/backup.rb:54:in `block (2 levels) in create_backup'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.1.11/lib/command/backup.rb:47:in `each'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.1.11/lib/command/backup.rb:47:in `block in create_backup'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/rubyzip-1.2.1/lib/zip/file.rb:101:in `open'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.1.11/lib/command/backup.rb:46:in `create_backup'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.1.11/lib/command/backup.rb:84:in `block (2 levels) in execute'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.1.11/lib/command/backup.rb:83:in `tap'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.1.11/lib/command/backup.rb:83:in `block in execute'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.1.11/lib/command/backup.rb:69:in `each'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.1.11/lib/command/backup.rb:69:in `each_with_index'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.1.11/lib/command/backup.rb:69:in `execute'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.1.11/lib/commandbase.rb:107:in `execute!'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.1.11/lib/commandbase.rb:115:in `execute!'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.1.11/lib/downloader.rb:499:in `block in process_digest'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.1.11/lib/downloader.rb:478:in `loop'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.1.11/lib/downloader.rb:478:in `process_digest'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.1.11/lib/downloader.rb:369:in `run_download'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.1.11/lib/downloader.rb:322:in `start_download'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.1.11/lib/command/update.rb:193:in `block (2 levels) in execute'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.1.11/lib/command/update.rb:168:in `each'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.1.11/lib/command/update.rb:168:in `each_with_index'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.1.11/lib/command/update.rb:168:in `block in execute'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.1.11/lib/narou_logger.rb:81:in `capture'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.1.11/lib/command/update.rb:167:in `execute'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.1.11/lib/commandline.rb:46:in `run'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.1.11/narou.rb:52:in `block in <top (required)>'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.1.11/lib/backtracer.rb:16:in `capture'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.1.11/narou.rb:51:in `<top (required)>'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.1.11/bin/narou:10:in `require_relative'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.1.11/bin/narou:10:in `<top (required)>'
from C:/Ruby25/bin/narou:23:in `load'
from C:/Ruby25/bin/narou:23:in `<main>'

40作者★:2018/05/16(水) 10:58:33 ID:???
エラーの通りですが偶然同じファイル名になってますね
謎ですね
エラーがでた小説のアドレスか作品名をおしえていただければこちらでも試します

41作者★:2018/05/16(水) 11:01:09 ID:???
小説IDがエラー文の中に入ってたのでわかりました。

タイトルをファイル名にするときに、機種依存文字を潰してるので、
侵攻_①
侵攻_②
みたいなのが両方共 侵攻_.html 侵攻_.html となってしまってますね
盲点でした

42作者★:2018/05/16(水) 11:03:37 ID:???
> 何かを消せばいい等あれば教えてください。

おそらく同じファイル名になってしまうのは raw フォルダ内だけだと思うので(他のはIDが振られるので同じ名前にならない)、
raw フォルダをまるごと消すか、同じファイル名になってしまってるファイルを直接消すと解決するものと思われます。(対症療法)
raw フォルダ自体は特にシステムに必要なファイルではないのでサクサク消して良いです。

43ユーザー:2018/05/16(水) 11:15:35 ID:bIYfocrI
本文のフォルダのほうでも同様のエラーになりました。
該当小説はしばらく凍結させようと思います。

44作者★:2018/05/16(水) 16:44:42 ID:???
今後の対応予定にします

45名無しさん:2018/05/16(水) 21:46:11 ID:5zX6MUzU
Narou.rb のバージョン:3.2.0.1

OS のバージョン:Windows10 Pro x64

何が起きたのか・再現方法(何をやったら起こったのか詳細に):
narou updateの実行中にエラーメッセージが表示された。
何が起こっているのかよくわからないため、ログだけ貼り付けさせていただきます。
3.2アップデート前は表示されていなかったです。



C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/downloader.rb:54:in `initialize': 指定のID(176)は存在しません (Downloader::InvalidTarget)
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/command/update.rb:184:in `new'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/command/update.rb:184:in `block (2 levels) in execute'

narou trace実行結果:
--- 2018/05/16 21:37:39 ---
C:/Ruby25/bin/narou update

C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/downloader.rb:54:in `initialize': 指定のID(176)は存在しません (Downloader::InvalidTarget)
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/command/update.rb:184:in `new'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/command/update.rb:184:in `block (2 levels) in execute'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/command/update.rb:168:in `each'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/command/update.rb:168:in `each_with_index'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/command/update.rb:168:in `block in execute'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/narou_logger.rb:81:in `capture'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/command/update.rb:167:in `execute'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/commandline.rb:46:in `run'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/narou.rb:48:in `block in <top (required)>'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/backtracer.rb:16:in `capture'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/narou.rb:47:in `<top (required)>'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/bin/narou:10:in `require_relative'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/bin/narou:10:in `<top (required)>'
from C:/Ruby25/bin/narou:23:in `load'
from C:/Ruby25/bin/narou:23:in `<main>'

46いっちゃん:2018/05/16(水) 21:54:19 ID:???
win10 64bit
narou.rb 3.2.0.1

ノクターンのupdateがうまくいかないことがあるようです。
その場合は、前のバージョン 3.1.11のnovel18.syosetu.com.yaml
で3.2.0.1のnovel18.syosetu.com.yamlを上書きすると動くようです。

4745:2018/05/16(水) 22:10:04 ID:5zX6MUzU
いっちゃん様
ありがとうございます。

3.2.0.1インストール後いじっていないのですが、webnovelディレクトリ内ファイルがいくつか消えてしまっていました。
とりあえず、3.1.11のものをコピーしたところエラーが出なくなりました。
対応サイト6つすべてupdateが正常に行えました。

あとで3.2.0.1を再インストールしようと思います。
なぜ消えていたのかは謎ですが、不具合ではなさそうでした。
お騒がせしました。

48作者★:2018/05/16(水) 22:47:27 ID:???
3.1.11 から 3.2.0.1 にかけて、文字数表示の対応くらいしか新しくいれてないので、そんな変わってないはずなんだけれど、謎

49名無しさん:2018/05/17(木) 22:12:02 ID:as2xqD/s
Narou.rb のバージョン:3.2.0.1 (3.1.11でも同様のエラー発生)

OS のバージョン:windows 10 home 64bit

その他環境情報(任意):
javaのバージョン:10
rubyのバージョン:ruby 2.4.4p296

何が起きたのか:
特定の「小説家になろう」の小説がmobiファイルに変換できないです。
ダウンロード、コンバートどっちでも同じ箇所でエラーが発生します。


詳しくは分からないので以下にログを載せます。



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

narou convert 24
ID:24 田中のアトリエ 〜年齢イコール彼女いない歴の錬金術師〜 の変換を開始
小説状態の調査結果を 調査ログ.txt に出力しました(エラー:0件、警告:2件、INFO:4件)
縦書用の変換が終了しました
AozoraEpub3でEPUBに変換しています.......
--------
変換開始 : C:\Users\ryogi\Pictures\MANGA\novel\小説データ\小説家になろう\n2662ca 田中のアトリエ 〜年齢イコール彼女いな い歴の錬金術師〜\[金髪ロリ文庫] 田中のアトリエ 〜年齢イコール彼女いない歴の錬金術師〜.txt
[INFO] 濁点フォント利用 (22011) : あ゛
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(Unknown Source)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
... 8 more
pid 17864 exit 1
[ERROR] JavaがインストールされていないかAozoraEpub3実行時にエラーが発生しました。EPUBを作成出来ませんでした


試してみたこと:
エラーメッセージに「濁点フォント利用」と出ているので、narou webから
環境設定➡default➡default.enable_dakuten_fontの設定を未設定、はい、いいえの順に変更

ダウンロードしたtxtファイルを直接開いて、小説で利用されている濁点フォントをすべて削除してからAozoraEpubで変換


どちらもmobiファイル変換はできませんでした。

試して駄目だった小説はn2662ca,n4764du,n0186bu,n5115cqなどです。

50名無しさん:2018/05/17(木) 22:16:29 ID:AXUmJY5s
Narou.rb のバージョン:3.2.0.1

OS のバージョン:Windows7 Pro x64

何が起きたのか:SSL対応後「narou update --gl」が使えない
もしかしてウチだけなのかだけでも知りたいです。

narou trace の内容
--- 2018/05/17 22:03:47 ---
C:/Prog/Ruby23/bin/narou update --gl

C:/Prog/Ruby23/lib/ruby/2.3.0/net/http.rb:933:in `connect_nonblock': SSL_connect returned=1 errno=0 state=error: certificate verify failed (OpenSSL::SSL::SSLError)
from C:/Prog/Ruby23/lib/ruby/2.3.0/net/http.rb:933:in `connect'
from C:/Prog/Ruby23/lib/ruby/2.3.0/net/http.rb:863:in `do_start'
from C:/Prog/Ruby23/lib/ruby/2.3.0/net/http.rb:852:in `start'
from C:/Prog/Ruby23/lib/ruby/2.3.0/open-uri.rb:319:in `open_http'
from C:/Prog/Ruby23/lib/ruby/2.3.0/open-uri.rb:737:in `buffer_open'
from C:/Prog/Ruby23/lib/ruby/2.3.0/open-uri.rb:212:in `block in open_loop'
from C:/Prog/Ruby23/lib/ruby/2.3.0/open-uri.rb:210:in `catch'
from C:/Prog/Ruby23/lib/ruby/2.3.0/open-uri.rb:210:in `open_loop'
from C:/Prog/Ruby23/lib/ruby/2.3.0/open-uri.rb:151:in `open_uri'
from C:/Prog/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:/Prog/Ruby23/lib/ruby/2.3.0/open-uri.rb:717:in `open'
from C:/Prog/Ruby23/lib/ruby/2.3.0/open-uri.rb:35:in `open'
from C:/Prog/Ruby23/lib/ruby/gems/2.3.0/gems/narou-3.2.0.1/lib/narou/api.rb:58:in `request_api'
from C:/Prog/Ruby23/lib/ruby/gems/2.3.0/gems/narou-3.2.0.1/lib/narou/api.rb:51:in `block in request'
from C:/Prog/Ruby23/lib/ruby/gems/2.3.0/gems/narou-3.2.0.1/lib/narou/api.rb:49:in `each'
from C:/Prog/Ruby23/lib/ruby/gems/2.3.0/gems/narou-3.2.0.1/lib/narou/api.rb:49:in `each_slice'
from C:/Prog/Ruby23/lib/ruby/gems/2.3.0/gems/narou-3.2.0.1/lib/narou/api.rb:49:in `with_index'
from C:/Prog/Ruby23/lib/ruby/gems/2.3.0/gems/narou-3.2.0.1/lib/narou/api.rb:49:in `request'
from C:/Prog/Ruby23/lib/ruby/gems/2.3.0/gems/narou-3.2.0.1/lib/command/update/general_lastup_updater.rb:39:in `block in update_narou_novels'
from C:/Prog/Ruby23/lib/ruby/gems/2.3.0/gems/narou-3.2.0.1/lib/command/update/general_lastup_updater.rb:37:in `each'
from C:/Prog/Ruby23/lib/ruby/gems/2.3.0/gems/narou-3.2.0.1/lib/command/update/general_lastup_updater.rb:37:in `update_narou_novels'
from C:/Prog/Ruby23/lib/ruby/gems/2.3.0/gems/narou-3.2.0.1/lib/command/update.rb:294:in `update_general_lastup'
from C:/Prog/Ruby23/lib/ruby/gems/2.3.0/gems/narou-3.2.0.1/lib/command/update.rb:86:in `block in initialize'
from C:/Prog/Ruby23/lib/ruby/2.3.0/optparse.rb:1547:in `block in parse_in_order'
from C:/Prog/Ruby23/lib/ruby/2.3.0/optparse.rb:1534:in `catch'
from C:/Prog/Ruby23/lib/ruby/2.3.0/optparse.rb:1534:in `parse_in_order'
from C:/Prog/Ruby23/lib/ruby/2.3.0/optparse.rb:1528:in `order!'
from C:/Prog/Ruby23/lib/ruby/2.3.0/optparse.rb:1620:in `permute!'
from C:/Prog/Ruby23/lib/ruby/2.3.0/optparse.rb:1642:in `parse!'
from C:/Prog/Ruby23/lib/ruby/gems/2.3.0/gems/narou-3.2.0.1/lib/commandbase.rb:43:in `execute'
from C:/Prog/Ruby23/lib/ruby/gems/2.3.0/gems/narou-3.2.0.1/lib/command/update.rb:150:in `execute'
from C:/Prog/Ruby23/lib/ruby/gems/2.3.0/gems/narou-3.2.0.1/lib/commandline.rb:46:in `run'
from C:/Prog/Ruby23/lib/ruby/gems/2.3.0/gems/narou-3.2.0.1/narou.rb:48:in `block in <top (required)>'
from C:/Prog/Ruby23/lib/ruby/gems/2.3.0/gems/narou-3.2.0.1/lib/backtracer.rb:16:in `capture'
from C:/Prog/Ruby23/lib/ruby/gems/2.3.0/gems/narou-3.2.0.1/narou.rb:47:in `<top (required)>'
from C:/Prog/Ruby23/lib/ruby/gems/2.3.0/gems/narou-3.2.0.1/bin/narou:10:in `require_relative'
from C:/Prog/Ruby23/lib/ruby/gems/2.3.0/gems/narou-3.2.0.1/bin/narou:10:in `<top (required)>'
from C:/Prog/Ruby23/bin/narou:22:in `load'
from C:/Prog/Ruby23/bin/narou:22:in `<main>'

51名無しさん:2018/05/17(木) 23:37:08 ID:sZV0DX6w
>>50
Windows10 x64
3.2.0.1
私の環境では問題なく動作しました。
Rubyは2.5です。

52名無しさん:2018/05/18(金) 00:30:27 ID:gqUjnM0k
>>51
ありがとうございます、Ruby 2.5.1.1 入れたら動きました。

53名無しさん:2018/05/18(金) 08:27:13 ID:yIi/P0EI
突然WebUIが起動しなくなってしまいました。
他のコマンドもエラーが出て、動作しない状態です

Narou.rb のバージョン:3.2.0.1

OS のバージョン:Windows10 64bit
以下ログ
c:\MyNovel>narou web
C:/Ruby25/lib/ruby/2.5.0/psych.rb:402:in `parse': (c:/MyNovel/.narou/database.yaml): control characters are not allowed at line 1 column 1 (Psych::SyntaxError)
from C:/Ruby25/lib/ruby/2.5.0/psych.rb:402:in `parse_stream'
from C:/Ruby25/lib/ruby/2.5.0/psych.rb:350:in `parse'
from C:/Ruby25/lib/ruby/2.5.0/psych.rb:263:in `load'
from C:/Ruby25/lib/ruby/2.5.0/psych.rb:498:in `block in load_file'
from C:/Ruby25/lib/ruby/2.5.0/psych.rb:497:in `open'
from C:/Ruby25/lib/ruby/2.5.0/psych.rb:497:in `load_file'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/inventory.rb:52:in `rescue in block in init'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/inventory.rb:45:in `block in init'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/helper.rb:476:in `block in memo'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/helper.rb:469:in `synchronize'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/helper.rb:469:in `memo'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/inventory.rb:44:in `init'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/inventory.rb:22:in `block in load'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/inventory.rb:20:in `tap'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/inventory.rb:20:in `load'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/database.rb:28:in `refresh'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/database.rb:24:in `initialize'
from C:/Ruby25/lib/ruby/2.5.0/singleton.rb:141:in `new'
from C:/Ruby25/lib/ruby/2.5.0/singleton.rb:141:in `block in instance'
from C:/Ruby25/lib/ruby/2.5.0/singleton.rb:139:in `synchronize'
from C:/Ruby25/lib/ruby/2.5.0/singleton.rb:139:in `instance'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/downloader.rb:242:in `<class:Downloader>'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/downloader.rb:22:in `<top (required)>'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/command/backup.rb:7:in `require_relative'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/command/backup.rb:7:in `<top (required)>'
from C:/Ruby25/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
from C:/Ruby25/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/command.rb:9:in `block in <top (required)>'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/command.rb:8:in `glob'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/command.rb:8:in `<top (required)>'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/commandline.rb:7:in `require_relative'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/commandline.rb:7:in `<top (required)>'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/narou.rb:45:in `require_relative'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/narou.rb:45:in `<top (required)>'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/bin/narou:10:in `require_relative'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/bin/narou:10:in `<top (required)>'
from C:/Ruby25/bin/narou:23:in `load'
from C:/Ruby25/bin/narou:23:in `<main>'

54作者★:2018/05/18(金) 15:56:28 ID:???
>> 49
AozoraEpub3で挿絵回転が起きるとそのエラーが出るらしいので、挿絵を個別設定から無効にするとたぶんエラーはなくなるはず

55作者★:2018/05/18(金) 15:58:48 ID:???
>>53
c:/MyNovel/.narou/database.yaml の中身がぶっ壊れて読み込めてないときのエラーです

.narou フォルダ内に database.yaml.backup が残ってればそれを名前変えて上書きして、それでも
直らないなら自分でバックアップしてある database.yaml から復旧。
バックアップないなら database.yaml を削除(まっさらになる)

56作者★:2018/05/18(金) 16:08:18 ID:???
バックアップもない、まっさらも困る場合用の database.yaml 復旧プログラムはこちら
https://gist.github.com/whiteleaf7/bf279ca91a2aaf1e27f52bd35fe27ebb
IDとかずれるので副作用あり。詳細は上記参照

57名無しさん:2018/05/18(金) 20:22:23 ID:szUiSd/Q
>>49
です。

AozoraEpub3の挿絵を無効にしたら無事変換できました。
回答ありがとうございました。

58名無しさん:2018/05/19(土) 07:42:49 ID:OsCHn2R2
>>55,56
ありがとうございます
無事復旧できました!

59名無しさん:2018/05/19(土) 14:41:59 ID:???
失礼します
自分の環境では問題が発生したので報告させていただきます

Narou.rb のバージョン:3.2.0.1

OS のバージョン:WIndows10 64bit

何が起きたのか:変換・ダウンロードに支障が発生

再現方法(何をやったら起こったのか詳細に):
3.2.0.1へのアップデートに失敗するのでRubyを一度アンインストールしてから、もう一度Narou.rbをダウンロードし直しました
小説をダウンロードしたところ、第XX部分 XXXXXXXXXX(XX/XX)とダウンロードこそされるのですが
それ以降の変換コマンドが表示されず停止してしまいます
>>49氏と違ってXXXXXXXの変換を開始 というコマンドすら出ません
modifiedタグの更新の場合、小説一つが更新されるだけで他の小説は更新されません

60名無しさん:2018/05/19(土) 14:54:14 ID:???
v3.1.11からv3.2.0.1へ gem update narou でアップデートしようとしたけど
Nothing to updateって言われてできなかったな
gem update install でv3.2.0.1に上がったけど
gemの依存関係でなにかあるんだろうか

61名無しさん:2018/05/19(土) 14:57:03 ID:???
訂正
誤) gem update install
正) gem install narou

62名無しさん:2018/05/19(土) 15:20:13 ID:???
>>59
再現方法に書き忘れていたのですが
再インストールする際にnarou initを入力したのですが
AozoraEpub3のフォルダ入力を求められませんでした
関係あるのかわからないけど一応報告しておきます

63作者★:2018/05/19(土) 22:23:51 ID:???
gem が入っている状態で gem install すると動作が怪しいのは昔からですね

> AozoraEpub3のフォルダ入力を求められませんでした
AozoraEpub3のパスは global 設定なので、違う場所に保存されてます

64名無しさん:2018/05/20(日) 02:12:05 ID:???
Narou.rb のバージョン:3.2.0.1

OS のバージョン:Windows7

その他環境情報:Ruby2.5.1-1

何が起きたのか:
Update中、epubファイルに変換するところでエラーが発生します
Rubyが古いせいかと思い2.4.4-1を2.5.1-1にし、Narou.rbも再度インストールとinitをしなおしましたがダメでした

C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/novelconverter.rb:33:in `extensions_of_converted_files': undefined
method `ebook_file_ext' for nil:NilClass (NoMethodError)
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/command/convert.rb:198:in `block in convert_novels'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/command/convert.rb:181:in `each'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/command/convert.rb:181:in `with_index'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/command/convert.rb:181:in `convert_novels'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/command/convert.rb:162:in `block in execute'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/command/convert.rb:155:in `each'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/command/convert.rb:155:in `execute'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/commandbase.rb:107:in `execute!'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/commandbase.rb:115:in `execute!'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/command/update.rb:222:in `block (2 levels) in execute'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/command/update.rb:168:in `each'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/command/update.rb:168:in `each_with_index'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/command/update.rb:168:in `block in execute'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/narou_logger.rb:81:in `capture'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/command/update.rb:167:in `execute'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/commandline.rb:46:in `run'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/narou.rb:48:in `block in <top (required)>'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/lib/backtracer.rb:16:in `capture'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/narou.rb:47:in `<top (required)>'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/bin/narou:10:in `require_relative'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.0.1/bin/narou:10:in `<top (required)>'
from C:/Ruby25/bin/narou:23:in `load'
from C:/Ruby25/bin/narou:23:in `<main>'

65作者★:2018/05/20(日) 12:41:15 ID:???
>>64
https://jbbs.shitaraba.net/bbs/read.cgi/computer/44668/1511247318/37-38

device 設定がされてないとエラーが出る不具合が 3.2.0.1 で発生してます
とりあえず narou s device=epub を実行することで回避出来ると思います

66作者★:2018/05/20(日) 16:50:58 ID:???
>>64
3.2.1 で修正しました

67名無しさん:2018/05/20(日) 18:53:04 ID:???
>>66
お返事が遅くなり申し訳ありません
対応して頂きありがとうございます
無事に変換できました

68名無しさん:2018/05/21(月) 16:42:04 ID:wl/CBscg
Narou.rb のバージョン:3.2.1

OS のバージョン:CentOS 6

その他環境情報(任意):Ruby2.2.2p95

何が起きたのか:
gem install narou
したら文法エラーで動かない

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

[root@localhost MyNovel]# narou version
/opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/narou-3.2.1/lib/novelconverter.rb:33: warning: else without rescue is useless
/opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/narou-3.2.1/lib/command/update.rb:11:in `require_relative': /opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/narou-3.2.1/lib/novelconverter.rb:30: syntax error, unexpected '.' (SyntaxError)
if device&.kobo?
^
/opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/narou-3.2.1/lib/novelconverter.rb:33: syntax error, unexpected '.'
exts.push(".epub", device&.ebook_file_ext)

[root@localhost MyNovel]# narou version
/opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/narou-3.2.1/lib/command/update.rb:11:in `require_relative': /opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/narou-3.2.1/lib/novelconverter.rb:34: syntax error, unexpected '.' (SyntaxError)
exts.push(".epub", device&.ebook_file_ext)


/opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/narou-3.2.1/lib/novelconverter.rb

を以下のように修正

def self.extensions_of_converted_files(device)
exts = [".txt"]
# if device&.kobo?
if device.kobo?
exts.push(device.ebook_file_ext)
else
# exts.push(".epub", device&.ebook_file_ext)
exts.push(".epub", device.ebook_file_ext)
end
exts.compact
end

これでとりあえず動くようになりましたが正しい対処が不明です。

69作者★:2018/05/21(月) 18:49:36 ID:???
>>68
Ruby 2.2 はもう古すぎるので動作環境外です
公式のセキュリティパッチすら提供されなくなっているので早急にアップデートを推奨します

7040:2018/05/25(金) 18:25:05 ID:4esMNxB.
解決済みなので情報として
挿絵について、「挿絵画像がない」と警告が出て挿絵の変換ができない小説が多々ありAozoraEpub3の問題かと思っていたのですが、どうやらWindowsの文字コードの問題のようです(多分AozoraEpub側で対応できそうですが)
で、Ubuntuで変換してみたらあっさり成功しました
電子書籍リーダーは大半がLinuxベースですので、Windowsとの相性は……です
変換も送信もWindows以外でやったほうが不具合なさそうです

サブOSを起動するのはめんどいので、仮想マシンの共有ディレクトリにMyNovelを置こうかな

71名無しさん:2018/05/26(土) 03:50:05 ID:RokbH2kc
narou.rb 3.2.2
Ubuntu 18.04 LTS
Ruby 2.5.1
AozoraEpub3-1.1.0b46

何が起きたのか:特定の小説(ncode.syosetu.com/n0955el/)をconvert時にエラーが出る

備考:Windows10 x64では再現しない。また、AozoraEpub3にtxtをD&D変換した場合、正常に出力される
Javaのバージョン違い(OpenJDK,Oracle7・8)やAozoraEpub3のバージョン違いも試したが変わらず。他の小説は正常に出力される
タイトルの顔文字や矢印が怪しいと思った。変換設定output_filenameを変えてみても改善せず。フォルダ名が悪い?

narou convert (対象の小説)の実行結果(kepub.epub):
>> Kobo用に変換します
/var/lib/gems/2.5.0/gems/narou-3.2.2/lib/novelconverter.rb:360:in `clean_up_temp_files': undefined method `each' for nil:NilClass (NoMethodError)
from /var/lib/gems/2.5.0/gems/narou-3.2.2/lib/command/convert.rb:200:in `block (2 levels) in convert_novels'
from /var/lib/gems/2.5.0/gems/narou-3.2.2/lib/command/convert.rb:198:in `each'
from /var/lib/gems/2.5.0/gems/narou-3.2.2/lib/command/convert.rb:198:in `block in convert_novels'
from /var/lib/gems/2.5.0/gems/narou-3.2.2/lib/command/convert.rb:181:in `each'
from /var/lib/gems/2.5.0/gems/narou-3.2.2/lib/command/convert.rb:181:in `with_index'
from /var/lib/gems/2.5.0/gems/narou-3.2.2/lib/command/convert.rb:181:in `convert_novels'
from /var/lib/gems/2.5.0/gems/narou-3.2.2/lib/command/convert.rb:162:in `block in execute'
from /var/lib/gems/2.5.0/gems/narou-3.2.2/lib/command/convert.rb:155:in `each'
from /var/lib/gems/2.5.0/gems/narou-3.2.2/lib/command/convert.rb:155:in `execute'
from /var/lib/gems/2.5.0/gems/narou-3.2.2/lib/commandline.rb:46:in `run'
from /var/lib/gems/2.5.0/gems/narou-3.2.2/narou.rb:48:in `block in <top (required)>'
from /var/lib/gems/2.5.0/gems/narou-3.2.2/lib/backtracer.rb:16:in `capture'
from /var/lib/gems/2.5.0/gems/narou-3.2.2/narou.rb:47:in `<top (required)>'
from /var/lib/gems/2.5.0/gems/narou-3.2.2/bin/narou:13:in `require_relative'
from /var/lib/gems/2.5.0/gems/narou-3.2.2/bin/narou:13:in `<top (required)>'
from /usr/local/bin/narou:23:in `load'
from /usr/local/bin/narou:23:in `<main>'

7271:2018/05/26(土) 04:06:25 ID:RokbH2kc
WEBUIからフォルダを開くこともできませんでした

73作者★:2018/05/26(土) 14:36:51 ID:???
macOS High Sierra でも開けず、変換できず。
` ←これが悪さしてるので、今後のアップデートで対応しておきます

手動での対応策ですが、
.narou/database.yaml などを直接編集して該当文字を削除でいけます。(database.yaml バックアップ推奨)

database.yaml は以下みたいに
author: すみもりさい
title: "最強勇者はお払い箱→魔王になったらずっと俺の無双ターン"
file_title: n0955el 最強勇者はお払い箱→魔王になったらずっと俺の無双ターン

(´・ω・`) 部分を消しておく

フォルダ名も合わせて(´・ω・`)部分を消しておく。

converter.rb の中の (´・ω・`)も消しておく。(これは消さなくても変換時に警告が出るだけだけど)

7471:2018/05/26(土) 16:57:33 ID:RokbH2kc
>>73
ありがとうございます
教えていただいたように編集したところ、Ubuntu18.04でも正常に変換できました

75名無しさん:2018/05/26(土) 17:44:54 ID:???
lib/novelconverter.rbのコマンド呼び出し文字列の部分を
>- command = %!"#{kindlegen_path}" -locale ja "#{epub_path}"!
>+ command = %!"#{kindlegen_path}" -locale ja '#{epub_path}'!
このようにしたらおきないかもしれません。

自分のところ(FreeBSD-11R)でおきた引数解釈のトラブル用に入れてるパッチで他に干渉しそうな物は無いですし…
一応ダメ文字をエスケープするなりで対処できないか試したんですがデバッグしきれなくて上記のようにしたら普通に通ったのでそれっきりです。

7671:2018/05/26(土) 21:17:37 ID:RokbH2kc
>>75 
>>71 について、ということでしょうか。であれば残念ながら変わらなかったです。

77名無しさん:2018/05/26(土) 22:13:12 ID:???
>>76
うちの環境だと普通に変換できるんだけどなぁ、と思ってよく見たら
もう一箇所有った。というかこっちがメインか。

> command = %!java #{java_encoding} -cp #{aozoraepub3_basename} AozoraEpub3 -enc UTF-8 -of #{device_option} ! +
>- %!#{cover_option} #{dst_option} #{ext_option} #{yokogaki_option} "#{abs_srcpath}"!
>+ %!#{cover_option} #{dst_option} #{ext_option} #{yokogaki_option} '#{abs_srcpath}'!

githubでgit diffをリンクで出すのってどうやるんだろ…

78名無しさん:2018/05/26(土) 22:17:43 ID:???
github でブランチ・commit間の diff を見る
ttps://qiita.com/fantasista_21jp/items/9419ca4ab3bb8e1ee4c5

7971:2018/05/26(土) 23:08:56 ID:RokbH2kc
>>77
ありがとうございます、変換できました!
しかし、sendやWEBUIからのフォルダを開く操作ではエラーが出たので、他にも改修しないといけないぽいです

80作者★:2018/05/27(日) 08:50:53 ID:???
置き換えで対応が楽(´・ω・`)
https://github.com/whiteleaf7/narou/commit/2e01ecf34b886584195e9e4e35b04610a9b45b7d

81名無しさん:2018/05/27(日) 18:40:35 ID:???
やっぱりあったのか
半角ダメ文字を多バイト文字に変換する工程…orz

8271:2018/05/28(月) 19:04:12 ID:???
>>71の問題について、3.2.3にアップデート実施後もエラーが出たので、当該小説を削除し、改めてダウンロードしたところconvert,send,フォルダを開く操作が正常に行えました。
Ruby2.5.1,OracleJRE8,CentOS7,Ubuntu18.04LTSで確認しました
ご報告まで。いつもありがとうございます

83名無しさん:2018/05/30(水) 07:43:55 ID:TKf7FWYk
Narou.rb のバージョン:Narou.rb version 3.2.3

OS のバージョン:Windows 10 Pro

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

何が起きたのか:
  Web UI より「Update」を押下すると、反応がなく
  暫くしてから以下のメッセージが表示されました
[ERROR] 何らかの理由により目次が取得できませんでした(500 Internal Server Error)
[ERROR] URL の目次データが取得出来ませんでした


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

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

84名無しさん:2018/05/30(水) 08:21:46 ID:???
小説家になろうグループ接続障害のお知らせ
ttps://blog.syosetu.com/?itemid=3483

これの影響じゃないかと

85名無しさん:2018/05/30(水) 21:10:15 ID:TKf7FWYk
更新できるようになりました。
誤報、お騒がせ致しました。
Rudyから再インストールしたのですが、意味ないw

86名無しさん:2018/05/31(木) 11:52:48 ID:NT9n7Tjg
Narou.rb のバージョン:Narou.rb version 3.2.3
OS のバージョン:Windows 10 Pro
その他環境情報(任意):ruby 2.5.1p57
何が起きたのか:[蜘蛛ですが、なにか?]の変換に失敗します。
再現方法(何をやったら起こったのか詳細に):
WEB UI上から失敗しましたので、コマンドも試しましたが下記の通りエラーになりました。

narou --backtrace convert n7975cr
ID:2661 蜘蛛ですが、なにか? の変換を開始
C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.3/lib/inspector.rb:183:in `block in countup_return_in_brackets': undefined method `scan' for #<Array:0x03910428> (NoMethodError)
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.3/lib/inspector.rb:182:in `each'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.3/lib/inspector.rb:182:in `countup_return_in_brackets'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.3/lib/novelconverter.rb:723:in `inspect_novel'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.3/lib/novelconverter.rb:394:in `convert_main'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.3/lib/novelconverter.rb:51:in `convert'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.3/lib/command/convert.rb:208:in `block in convert_novels'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.3/lib/command/convert.rb:181:in `each'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.3/lib/command/convert.rb:181:in `with_index'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.3/lib/command/convert.rb:181:in `convert_novels'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.3/lib/command/convert.rb:162:in `block in execute'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.3/lib/command/convert.rb:155:in `each'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.3/lib/command/convert.rb:155:in `execute'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.3/lib/commandline.rb:46:in `run'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.3/narou.rb:48:in `block in <top (required)>'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.3/lib/backtracer.rb:16:in `capture'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.3/narou.rb:47:in `<top (required)>'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.3/bin/narou:13:in `require_relative'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.3/bin/narou:13:in `<top (required)>'
from C:/Ruby25/bin/narou:23:in `load'
from C:/Ruby25/bin/narou:23:in `<main>'

※ Narou.rb version 3.1.11 の環境が別PCに残っていたので試したところ、そちらでは変換に成功しました。

87名無しさん:2018/05/31(木) 16:36:35 ID:???
>>86
Narou.rb-ver,OS,Ruby-ver同じ環境で変換できました
Narou.rbを入れ直せば普通に動きそうですが……
あとうちの環境はJavaとAozoraEpub3は現在ダウンロードできる最新です

88名無しさん:2018/05/31(木) 17:12:22 ID:NT9n7Tjg
>>87
検証ありがとうございます。
ruby と、Narou.rb 入れなおしてみましたが駄目でした。
Java 8 Update 171(64bit)
AozoraEpub3-1.1.0b46
を使用しています。

あ、カレントフォルダが
C:\Win_AP\Narou.rb\MyNovel
と、やや深い階層なので、場所を変えて試してみます。

89作者★:2018/05/31(木) 18:01:11 ID:???
>>86
enable_inspect=true で再現しました
false にすれば変換出来ました

修正します(そのうち)

90名無しさん:2018/05/31(木) 21:05:16 ID:Kpz3Fi1E
作者★様
ご連絡ありがとうございます。
変換できました。

91名無しさん:2018/06/18(月) 12:28:27 ID:vh.s0Gss
Narou.rb のバージョン:Version 3.2.3
OS のバージョン:Windows 10 1803
その他環境情報(任意):ruby 2.4.4p296 (2018-03-28 revision 63013) [i386-mingw32]
何が起きたのか:テキストから変換時、「々」で終わる文字列にルビが付かない
再現方法(何をやったら起こったのか詳細に):
---test.txt----------------------------
タイトル
作者
変換《へんかん》
燦々《さんさん》
---test.txt----------------------

narou c test.txtを実行した場合「燦々」にルビが付きません
実際の出力
 |変換《へんかん》
 燦々※[#始め二重山括弧]さんさん※[#終わり二重山括弧]

求める出力
 |変換《へんかん》
 |燦々《さんさん》

92作者★:2018/06/18(月) 17:14:32 ID:???
>>91
仕様です
なろうでもルビにならないと思います
|燦々《さんさん》 として下さい

93名無しさん:2018/06/18(月) 20:03:10 ID:???
>>92
そうでしたか
レスありがとうございました

94名無しさん:2018/06/25(月) 15:46:02 ID:???
お世話になっております

n3746ce 王国へ続く道
n1774de 次元の裂け目に落ちた転移の先で

この二作品において紹介文にそれぞれ

ttps://twitter.com/yumizu_kai
ttps://ncode.syosetu.com/n4000ep/

とurlがあるのですが指定話数設定にした場合にこの部分が分割が進むごとに肥大化していき処理が止まってしまうことが有りました
お時間のあるときにでも確認していただけたらと思います

95名無しさん:2018/06/25(月) 19:36:51 ID:???
追記

n4908bv サモナーさんが行く

url部分だけでなく上記作品紹介文の
※2018年2月25日、サモナーさんが行くⅤ発売予定です。
って部分も分割が進むごとに肥大化していくようです

96作者★:2018/06/25(月) 23:32:00 ID:???
あとで調査しておきます!

97名無しさん:2018/07/08(日) 23:53:19 ID:dBp0iFvo
-----------------------------------------
Narou.rb のバージョン:3.2.3

OS のバージョン:Win10

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

何が起きたのか:ヴァージョンアップしたらアップロードその他諸々出来なくなりました。
以下エラー内容です。
C:/Ruby22/lib/ruby/gems/2.2.0/gems/narou-3.2.3/narou.rb:45:in `require_relative': C:/Ruby22/lib/ruby/gems/2.2.0/gems/narou-3.2.3/lib/commandline.rb:18: syntax error, unexpected '.' (SyntaxError)
arg&.encode(Encoding::UTF_8)
^
from C:/Ruby22/lib/ruby/gems/2.2.0/gems/narou-3.2.3/narou.rb:45:in `<top (required)>'
from C:/Ruby22/lib/ruby/gems/2.2.0/gems/narou-3.2.3/bin/narou:13:in `require_relative'
from C:/Ruby22/lib/ruby/gems/2.2.0/gems/narou-3.2.3/bin/narou:13:in `<top (required)>'
from C:/Ruby22/bin/narou:23:in `load'
from C:/Ruby22/bin/narou:23:in `<main>'

98名無しさん:2018/07/09(月) 01:03:48 ID:15/HL4C2
>>97
まあ>>69ですかね

99作者★:2018/07/11(水) 22:00:38 ID:???
>>94
あらすじのURL増殖バグ確認。
修正に入ります。

しかし、分割したファイルの2つめ以降にあらすじは必要なのだろうか。
消してしまってもいい気もしてきた

100名無しさん:2018/07/12(木) 01:15:55 ID:???
確認ありがとうございます
人によるでしょうが確かに無くてもいいかもですね

101名無しさん:2018/07/13(金) 22:08:07 ID:l3MlwwnM
Narou.rb のバージョン:3.2.3

OS のバージョン:Win7

何が起きたのか:
数日前からカクヨム作品のあらすじが正しく反映されず、どの作品であっても以下のような内容になっています。

あらすじ:
(? .+?)(? :※[#縦線]


102作者★:2018/07/14(土) 00:58:55 ID:???
構造が変わって正常に取得できないっぽいですね修正します

103作者★:2018/07/14(土) 13:55:34 ID:???
>>86
>>94
>>101

ver 3.2.4 で修正

10494:2018/07/15(日) 01:42:53 ID:???
3.2.4確認しました
対応ありがとうございました

105名無しさん:2018/07/16(月) 22:48:39 ID:snug3Lsg
Narou.rb のバージョン:3.2.4

OS のバージョン:Win 10

その他環境情報(任意):
narou.rb設定
download.choices-of-digest-options=4,1
download.interval=2.0
download.wait-steps=5

何が起きたのか:
ここしばらくnarou updateのコマンドで小説のアップデート時に中断されます。
中断されるのは特定の小説など固定ではなく、一度中断されても再度アップデートを実施すると成功する場合もあります。

再現方法(何をやったら起こったのか詳細に):
rubyをver25にあげてから出るようになったように思うがこれが原因かは不明


C:/Ruby25/lib/ruby/2.5.0/net/http.rb:939:in `rescue in block in connect': Failed to open TCP connection to ncode.syosetu.com:443 (A connectio
n attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connec
ted host has failed to respond. - connect(2) for "ncode.syosetu.com" port 443) (Errno::ETIMEDOUT)
from C:/Ruby25/lib/ruby/2.5.0/net/http.rb:936:in `block in connect'
from C:/Ruby25/lib/ruby/2.5.0/timeout.rb:93:in `block in timeout'
from C:/Ruby25/lib/ruby/2.5.0/timeout.rb:103:in `timeout'
from C:/Ruby25/lib/ruby/2.5.0/net/http.rb:935:in `connect'
from C:/Ruby25/lib/ruby/2.5.0/net/http.rb:920:in `do_start'
from C:/Ruby25/lib/ruby/2.5.0/net/http.rb:909:in `start'
from C:/Ruby25/lib/ruby/2.5.0/open-uri.rb:337:in `open_http'
from C:/Ruby25/lib/ruby/2.5.0/open-uri.rb:755:in `buffer_open'
from C:/Ruby25/lib/ruby/2.5.0/open-uri.rb:226:in `block in open_loop'
from C:/Ruby25/lib/ruby/2.5.0/open-uri.rb:224:in `catch'
from C:/Ruby25/lib/ruby/2.5.0/open-uri.rb:224:in `open_loop'
from C:/Ruby25/lib/ruby/2.5.0/open-uri.rb:165:in `open_uri'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/open_uri_redirections-0.2.1/lib/open-uri/redirections_patch.rb:55:in `open_uri'
from C:/Ruby25/lib/ruby/2.5.0/open-uri.rb:735:in `open'
from C:/Ruby25/lib/ruby/2.5.0/open-uri.rb:35:in `open'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.4/lib/downloader.rb:711:in `get_toc_source'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.4/lib/downloader.rb:746:in `get_latest_table_of_contents'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.4/lib/downloader.rb:339:in `run_download'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.4/lib/downloader.rb:322:in `start_download'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.4/lib/command/update.rb:193:in `block (2 levels) in execute'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.4/lib/command/update.rb:168:in `each'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.4/lib/command/update.rb:168:in `each_with_index'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.4/lib/command/update.rb:168:in `block in execute'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.4/lib/narou_logger.rb:81:in `capture'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.4/lib/command/update.rb:167:in `execute'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.4/lib/commandline.rb:46:in `run'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.4/narou.rb:48:in `block in <top (required)>'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.4/lib/backtracer.rb:16:in `capture'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.4/narou.rb:47:in `<top (required)>'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.4/bin/narou:13:in `require_relative'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.4/bin/narou:13:in `<top (required)>'
from C:/Ruby25/bin/narou:23:in `load'
from C:/Ruby25/bin/narou:23:in `<main>'

106作者★:2018/07/16(月) 23:15:27 ID:???
タイムアウトしてるということはなろうからの反応が悪い時間帯とかでエラーがでているのかも
こればっかりはどうしようもないかも?

時間帯を変えてみるとかお試しください

107名無しさん:2018/07/16(月) 23:56:05 ID:snug3Lsg
なるほど、ありがとうございます。

108名無しさん:2018/08/24(金) 13:11:56 ID:???
たぶんこっちの環境が原因だと思うのだけれでも一応報告。
起動後数時間で250MBくらいの消費が数日したら6GBに膨れ上がってたので再起動して経過観察中です。
freebsd11で3.2.4をrvmの2.5.1です。

109作者★:2018/08/24(金) 16:16:04 ID:???
キャッシュが開放されてないのがあるかも

出力系は内部で全部キャッシュしてるので(表からは見えないけど)
大量のログがあればメモリは食うかも。それでも6GBは行かないと思うからおかしいけど

110作者★:2018/08/24(金) 16:20:02 ID:???
> 数日したら6GBに膨れ上がってたので

1日何作品くらいをアップデートして、とかの情報があればお願いします

macOS環境で24時間サーバー起動しっぱなしでめったに再起動しないけど、メモリで気になったことは一度もないかも

111名無しさん:2018/08/30(木) 10:06:33 ID:pOymjClI
Narou.rb のバージョン:3.2.5.1

OS のバージョン:linux mint 19

何が起きたのか:
「行末が読点で終わっている部分を出来るだけ連結する」処理が
一部で行われていません。
おそらく2行目行頭の影響だと思いますが、対応をお願いします。

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

例>
作品:異世界召喚は二度目です 
部分番号:第57部分:56 俺と遊べよ
行数:160-161

作品:紅と蒼は意図せず交わる(旧 僕にはできすぎた妹でした)
部分番号:第15部分:鬼
行数:154-156

※行数はTXTダウンロードしたファイルのものです。

112作者★:2018/08/30(木) 12:06:46 ID:???
>>111
https://github.com/whiteleaf7/narou/blob/master/ChangeLog.md#%E4%BF%AE%E6%AD%A3%E5%86%85%E5%AE%B9-1
一応意図的な変更なので仕様ですが、誤判定でもありますね
変更の意図としては、

=====
 条件は次のようなものである、
一、〜〜〜〜〜
二、〜〜〜〜〜
=====

的表現があった場合に、連結されると見苦しいからです

「【出来るだけ】連結する」という前提なので、とりあえずこのままで

113Fuu:2018/09/14(金) 09:33:02 ID:???
narou mailでエラーになります
Narou.rb のバージョン:3.2.5.1

OS のバージョン:Windows10

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

何が起きたのか:narou mailを使用するとエラーになった

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

C:/Ruby25/lib/ruby/2.5.0/psych.rb:402:in `parse': (I:/webssdl/mail_setting.yaml): did not find expected key while parsing a block mapping at line 27 column 1 (Psych::SyntaxError)
from C:/Ruby25/lib/ruby/2.5.0/psych.rb:402:in `parse_stream'
from C:/Ruby25/lib/ruby/2.5.0/psych.rb:350:in `parse'
from C:/Ruby25/lib/ruby/2.5.0/psych.rb:263:in `load'
from C:/Ruby25/lib/ruby/2.5.0/psych.rb:498:in `block in load_file'
from C:/Ruby25/lib/ruby/2.5.0/psych.rb:497:in `open'
from C:/Ruby25/lib/ruby/2.5.0/psych.rb:497:in `load_file'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.5.1/lib/mailer.rb:25:in `create'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.5.1/lib/command/mail.rb:48:in `execute'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.5.1/lib/commandline.rb:46:in `run'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.5.1/narou.rb:48:in `block in <top (required)>'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.5.1/lib/backtracer.rb:16:in `capture'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.5.1/narou.rb:47:in `<top (required)>'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.5.1/bin/narou:13:in `require_relative'
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.2.5.1/bin/narou:13:in `<top (required)>'
from C:/Ruby25/bin/narou:23:in `load'
from C:/Ruby25/bin/narou:23:in `<main>

114作者★:2018/09/14(金) 14:18:21 ID:???
>>113
mail_setting.yaml の書き方がまずくてエラーが出ている感じのエラーです
もう一度見直して下さい
(27行目です)

わからなければ内容を(個人情報を隠す感じに編集して)貼り付けて

115Fuu:2018/09/14(金) 14:31:46 ID:???
有り難うございます

解決しました

116K's:2018/09/14(金) 22:42:45 ID:BcWRDhEc
-----------------------------------------
内容:
挿絵が変換されない

Narou.rb のバージョン:
3.2.5.1

OS のバージョン:
Mac OS X 10.13.6

その他環境情報(任意):
ruby 2.4.3p205、AozoraEpub3-1.1.0b46

何が起きたのか:
例えば、<n5361em>のものをDLし、変換しても挿絵が変換されていない。
対象端末はkindle pw

再現方法(何をやったら起こったのか詳細に):
CLIで以下のように実行
$ narou setting device=kindle
$ narou c N5361EM

mobiファイルがkindleに送信されているのを確認し、内容を確認するが挿絵部分は変換されていない。
(登場人物紹介(第一章終了時点))などに挿絵がある

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

117作者★:2018/09/15(土) 16:39:27 ID:???
>>116
https://gyazo.com/352b5fb38efd0ea4bf1409c29c519e6b
https://gyazo.com/86bf76888bb74f9e85ec59cf88f9ca70
ちゃんと挿絵表示されてるっぽい?

挿絵を無効にしてるのを忘れているとか

試した環境
ruby 2.5.1p57
macOS 10.13.6
kindlegen 2.9
AozoraEpub3 b46

118k's:2018/09/16(日) 17:29:45 ID:IL3Yp.Xw
作者様

スクリーンショットの取得までしていただきありがとうございます。
挿絵表示のオプションは以下のパラメータだと認識していますが、
違いますでしょうか。

default.enable_illust
force.enable_illust

両方共設定値はfalseでした。また、該当小説のsetting.iniの
enable_illustもfalseになっていることを確認しています。

119k's:2018/09/16(日) 17:43:54 ID:IL3Yp.Xw
作者様

> default.enable_illust
> force.enable_illust
>
> 両方共設定値はfalseでした。また、該当小説のsetting.iniの
> enable_illustもfalseになっていることを確認しています。

失礼しました。
falseではなく、未設定でした。

120k's:2018/09/16(日) 21:55:36 ID:IL3Yp.Xw
作者様

お世話になっております。
こちら、自己解決しました。

default.enable_alphabet_force_zenkakuがfalse
でかつ
default.disable_alphabet_word_to_zenkakuがtrue
だと、挿絵のコードが正しく処理できていないようです。

本来であれば、[#挿絵(挿絵/i303045,24263.jpg)入る]
と処理されるべきが、
[#挿絵=0]
となっていました。

121名無しさん:2018/09/17(月) 01:29:58 ID:i8JJt9/o
Narou.rb のバージョン:3.2.5.1
OS のバージョン:archlinux x86_64 kernel version 4.18.6-arch1-1

その他環境情報(任意):ruby 2.5.1p57 (2018-03-29 revision 63029)
全登録小説数:285
1度の更新数:30小説前後

何が起きたのか:4GBのメモリの88.3%を喰い潰し、動作が異常に遅くなる。
narou.rbを起動後、123時間後に確認
$ ps axv
結果-> 16631 tty1 Sl+ 123:09 3092832 2 10240485 3567684 88.3 /usr/bin/ruby /usr/bin/narou web -n --boot

narou.rb終了後はメモリ正常に戻る。
$ free
total used free shared buff/cache available
Mem: 4038516 70892 3843300 28 124324 3785972
Swap: 16777208 84728 16692480

再起動時は、0.8%(全4GB)
452189 34828 0.8 /usr/bin/ruby /usr/bin/narou web -n --boot

29小説更新後は、20%(全4GB)に増加。
1766677 808724 20.0 /usr/bin/ruby /usr/bin/narou web -n --boot

WEB UIから再起動後、1%に減少。
925413 43764 1.0 /usr/bin/ruby /usr/bin/narou web -n --boot --no-browser --reboot

再現方法(何をやったら起こったのか詳細に):起動後、手動更新のため3回目あたりで再発。

自動再起動か動作完了後のキャッシュクリアがあると助かります。

122作者★:2018/09/17(月) 12:48:20 ID:???
>>120
なるほど、バグっぽい挙動ですね、確認したあと修正します

>>121
一応開発版ではずっと貯めてる出力バッファをクリアする手段を用意したので
それで解決する…かも?(実際になんのキャッシュがメモリくってるかまだ判明してないからアレだけど)

123作者★:2018/09/17(月) 12:54:25 ID:???
cron で /reboot に POST 投げて定期的に再起動するという手段も

124作者★:2018/09/20(木) 12:05:32 ID:???
メモリ関連の修正は 3.3.0 に間に合わないので、それ以降調査で

125作者★:2018/09/23(日) 17:55:31 ID:???
キャッシュ分でじわじわ増えていくけど、メモリを食いつぶすほど消費する挙動はいまのところみられない(macOS)
環境依存か?
同じ環境を用意するのが厳しいな

126名無しさん:2018/09/29(土) 11:18:49 ID:???
Narou.rb のバージョン:3.3.0
OS のバージョン:Win7
何が起きたのか:小説の管理フォルダのパスに全角が含まれている場合、
 C:/Ruby25/lib/ruby/gems/2.5.0/gems/narou-3.3.0/lib/ini.rb:30:in `read':
 Invalidargument @ rb_sysopen - C:/Users/(ユーザー名)/Desktop/????/???????/setting.ini (Errno::EINVAL)
の表示が出て小説をダウンロードできない。(?の箇所は全角文字)
フォルダ名を全て半角に変更した場合問題なくDLできた。また3.2.5.1では全角を含んでいても問題なくDLできる。

127作者★:2018/09/29(土) 15:29:51 ID:???
>>126
「ユーザー名が全角」の場合に再現しますね
修正しておきます

128作者★:2018/09/29(土) 15:30:54 ID:???
ユーザー名が全角の場合、ユーザー名と関係ない場所で作業すればとりあえず問題はないはず

129作者★:2018/09/29(土) 15:37:07 ID:???
>>126
今回はこちらで再現したのでいいですが、
エラーが発生した際はバックトレースは省略せずにすべて貼り付けてください

130作者★:2018/09/29(土) 16:04:55 ID:???
Ruby本体のバグを踏んだっぽいな

131名無しさん:2018/11/09(金) 19:38:11 ID:gsVFtIdg
Narou.rb のバージョン:3.3.2

OS のバージョン:windows10 home 18272.1000

その他環境情報(任意):narou rbのフォルダはNAS上で運用

何が起きたのか:web uiが立ち上がらなくなった。

再現方法(何をやったら起こったのか詳細に):
[2018-11-09 19:25:42] INFO WEBrick 1.4.2
[2018-11-09 19:25:42] INFO ruby 2.5.3 (2018-10-18) [x64-mingw32]
== Sinatra (v1.4.8) has taken the stage on 53302 for production with backup from WEBrick
[2018-11-09 19:25:42] INFO WEBrick::HTTPServer#start: pid=6952 port=53302
指定されたプログラムは実行できません。
以降何も進まなくなりました。
NASにフォルダを置いて、なにも問題なく使っていましたが、突然こうなりました。
rubyとnarou rbを入れ直したが変わりませんでした。
コマンドプロプトでの小説アップデートなどは出来、kindleへの送信も出来ました。
心当たりはOSビルドが上がったことくらいなので、ロールバックがまだできるなら、やってきます

132作者★:2018/11/09(金) 22:01:48 ID:???
>>131
サーバは立ち上がってるが、リクエストを受け付けた形跡がないっぽいですね
セキュリティ系のなにかに弾かれてる可能性はありそうです
こちらでも試してみます

133作者★:2018/11/09(金) 22:58:23 ID:???
Insider Preview 版か…

134名無しさん:2018/11/09(金) 23:11:06 ID:gsVFtIdg
>>132
windowsセキュリティを全てOFFっても改善せず、ロールバックもできずにいたら、ビルド18277.1000が降ってきたので入れ替えたら、再度動作するようになりました。
新ビルドではwindowsセキュリティを有効にしていても問題ありませんでした。
ひとまず、今回の不具合はビルド更新で解消しました

135名無しさん:2018/11/09(金) 23:16:53 ID:gsVFtIdg
windowsログには何も残ってませんでした
アプデする前に見ておくべきでした・・・
お手数おかけしました


新着レスの表示


名前: E-mail(省略可)

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

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

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

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