Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

review-vol, review-indexがApplicationErrorを捕捉しておらず内部エラーになる #1671

Closed
kmuto opened this issue Feb 19, 2021 · 0 comments
Assignees

Comments

@kmuto
Copy link
Owner

kmuto commented Feb 19, 2021

今は見ている時間がないのでひとまず記録。compileのほうはバックトレースは出ない。

$ review-vol
⨯ ERROR   ch01.re:127: error: argument syntax error: ] in "[fn4][出典 「AIタクシー ―交通運行の最適化をめざしたタクシーの乗車需要予測技術―」https://www..pdf]]" 
    /home/kmuto/review/lib/review/builder.rb:507:in `error'
    /home/kmuto/review/lib/review/index_builder.rb:611:in `error'
    /home/kmuto/review/lib/review/compiler.rb:706:in `error'
    /home/kmuto/review/lib/review/compiler.rb:584:in `parse_args'
    /home/kmuto/review/lib/review/compiler.rb:542:in `read_command'
    /home/kmuto/review/lib/review/compiler.rb:307:in `do_compile'
    /home/kmuto/review/lib/review/compiler.rb:46:in `compile'
    /home/kmuto/review/lib/review/book/book_unit.rb:44:in `execute_indexer'
    /home/kmuto/review/lib/review/book/book_unit.rb:53:in `generate_indexes'
    /home/kmuto/review/lib/review/book/chapter.rb:60:in `generate_indexes'
    /home/kmuto/review/lib/review/book/base.rb:170:in `each'
    /home/kmuto/review/lib/review/book/base.rb:170:in `each_chapter'
    /home/kmuto/review/lib/review/book/base.rb:132:in `generate_indexes'
    /home/kmuto/review/lib/review/builder.rb:55:in `bind'
    /home/kmuto/review/lib/review/volumeprinter.rb:74:in `print_chapter_volume'
    /home/kmuto/review/lib/review/volumeprinter.rb:44:in `block (2 levels) in execute'
    /home/kmuto/review/lib/review/book/part.rb:76:in `each'
    /home/kmuto/review/lib/review/book/part.rb:76:in `each_chapter'
    /home/kmuto/review/lib/review/volumeprinter.rb:43:in `block in execute'
    /home/kmuto/review/lib/review/book/base.rb:153:in `each'
    /home/kmuto/review/lib/review/book/base.rb:153:in `each_part'
    /home/kmuto/review/lib/review/volumeprinter.rb:39:in `execute'
    /home/kmuto/review/lib/review/volumeprinter.rb:20:in `execute'
    /home/kmuto/review/bin/review-vol:17:in `<main>'


$ review-index
⨯ ERROR   ch01.re:127: error: argument syntax error: ] in "[fn4][出典 「AIタクシー ―交通運行の最適化をめざしたタクシーの乗車需要予測技術―」https://www..pdf]]" 
    /home/kmuto/review/lib/review/builder.rb:507:in `error'
    /home/kmuto/review/lib/review/index_builder.rb:611:in `error'
    /home/kmuto/review/lib/review/compiler.rb:706:in `error'
    /home/kmuto/review/lib/review/compiler.rb:584:in `parse_args'
    /home/kmuto/review/lib/review/compiler.rb:542:in `read_command'
    /home/kmuto/review/lib/review/compiler.rb:307:in `do_compile'
    /home/kmuto/review/lib/review/compiler.rb:46:in `compile'
    /home/kmuto/review/lib/review/book/book_unit.rb:44:in `execute_indexer'
    /home/kmuto/review/lib/review/book/book_unit.rb:53:in `generate_indexes'
    /home/kmuto/review/lib/review/book/chapter.rb:60:in `generate_indexes'
    /home/kmuto/review/lib/review/book/base.rb:170:in `each'
    /home/kmuto/review/lib/review/book/base.rb:170:in `each_chapter'
    /home/kmuto/review/lib/review/book/base.rb:132:in `generate_indexes'
    /home/kmuto/review/lib/review/builder.rb:55:in `bind'
    /home/kmuto/review/lib/review/compiler.rb:263:in `do_compile'
    /home/kmuto/review/lib/review/compiler.rb:46:in `compile'
    /home/kmuto/review/lib/review/tocprinter.rb:257:in `build_chap'
    /home/kmuto/review/lib/review/tocprinter.rb:113:in `block (2 levels) in build_result_array'
    /home/kmuto/review/lib/review/tocprinter.rb:111:in `each'
    /home/kmuto/review/lib/review/tocprinter.rb:111:in `block in build_result_array'
    /home/kmuto/review/lib/review/tocprinter.rb:96:in `each'
    /home/kmuto/review/lib/review/tocprinter.rb:96:in `build_result_array'
    /home/kmuto/review/lib/review/tocprinter.rb:90:in `execute'
    /home/kmuto/review/lib/review/tocprinter.rb:55:in `execute'
    /home/kmuto/review/bin/review-index:22:in `<main>'
@kmuto kmuto self-assigned this Feb 19, 2021
@kmuto kmuto closed this as completed in 96550d9 Feb 20, 2021
kmuto added a commit that referenced this issue Feb 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant