バックアップを作成しています.....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>'
おそらく同じファイル名になってしまうのは raw フォルダ内だけだと思うので(他のはIDが振られるので同じ名前にならない)、
raw フォルダをまるごと消すか、同じファイル名になってしまってるファイルを直接消すと解決するものと思われます。(対症療法)
raw フォルダ自体は特にシステムに必要なファイルではないのでサクサク消して良いです。
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'
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>'
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を作成出来ませんでした
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>'
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>'
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>'
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
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>'
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に残っていたので試したところ、そちらでは変換に成功しました。
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>'
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>
再現方法(何をやったら起こったのか詳細に):
[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ビルドが上がったことくらいなので、ロールバックがまだできるなら、やってきます