{"action":"created","issue":{"url":"https://api.github.com/repos/tmm1/ripper-tags/issues/83","repository_url":"https://api.github.com/repos/tmm1/ripper-tags","labels_url":"https://api.github.com/repos/tmm1/ripper-tags/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/tmm1/ripper-tags/issues/83/comments","events_url":"https://api.github.com/repos/tmm1/ripper-tags/issues/83/events","html_url":"https://github.com/tmm1/ripper-tags/issues/83","id":306263752,"number":83,"title":"parser crash","user":{"login":"gurgeous","id":526195,"avatar_url":"https://avatars2.githubusercontent.com/u/526195?v=4","gravatar_id":"","url":"https://api.github.com/users/gurgeous","html_url":"https://github.com/gurgeous","followers_url":"https://api.github.com/users/gurgeous/followers","following_url":"https://api.github.com/users/gurgeous/following{/other_user}","gists_url":"https://api.github.com/users/gurgeous/gists{/gist_id}","starred_url":"https://api.github.com/users/gurgeous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gurgeous/subscriptions","organizations_url":"https://api.github.com/users/gurgeous/orgs","repos_url":"https://api.github.com/users/gurgeous/repos","events_url":"https://api.github.com/users/gurgeous/events{/privacy}","received_events_url":"https://api.github.com/users/gurgeous/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-03-18T17:58:57Z","updated_at":"2018-03-23T15:03:22Z","closed_at":null,"author_association":"NONE","body":"I am the author of a brand new VS code extension called Bust A Gem - https://marketplace.visualstudio.com/items?itemName=gurgeous.bust-a-gem. Bust A Gem uses ripper-tags to create a TAGS file and power Go To Definition. Thanks for creating ripper-tags! I'm excited to see how people use the extension and ripper-tags together.\r\n\r\nI have my first official report of ripper-tags crashing on input. Something in devise 4.4.1, see below. Let me know if you need more help diagnosing. One suggestion - would it be possible for ripper-tags to output a bit more information when it crashes, like the current file/position/line? I think that would be very helpful.\r\n\r\n```\r\nripper-tags -f TAGS -R devise-4.4.1\r\n```\r\n\r\n```\r\nTraceback (most recent call last):\r\n43: from ruby/bin/ripper-tags:23:in `<main>'\r\n42: from ruby/bin/ripper-tags:23:in `load'\r\n41: from ruby/lib/ruby/gems/2.5.0/gems/ripper-tags-0.5.1/bin/ripper-tags:15:in `<top (required)>'\r\n40: from ruby/lib/ruby/gems/2.5.0/gems/ripper-tags-0.5.1/lib/ripper-tags.rb:177:in `process_args'\r\n39: from ruby/lib/ruby/gems/2.5.0/gems/ripper-tags-0.5.1/lib/ripper-tags.rb:80:in `option_parser'\r\n38: from ruby/lib/ruby/gems/2.5.0/gems/ripper-tags-0.5.1/lib/ripper-tags.rb:80:in `new'\r\n37: from ruby/lib/ruby/2.5.0/optparse.rb:1062:in `initialize'\r\n36: from ruby/lib/ruby/gems/2.5.0/gems/ripper-tags-0.5.1/lib/ripper-tags.rb:172:in `block in option_parser'\r\n35: from ruby/lib/ruby/gems/2.5.0/gems/ripper-tags-0.5.1/lib/ripper-tags.rb:190:in `block in process_args'\r\n34: from ruby/lib/ruby/gems/2.5.0/gems/ripper-tags-0.5.1/lib/ripper-tags.rb:190:in `call'\r\n33: from ruby/lib/ruby/gems/2.5.0/gems/ripper-tags-0.5.1/lib/ripper-tags.rb:208:in `run'\r\n32: from ruby/lib/ruby/gems/2.5.0/gems/ripper-tags-0.5.1/lib/ripper-tags/emacs_formatter.rb:28:in `with_output'\r\n31: from ruby/lib/ruby/gems/2.5.0/gems/ripper-tags-0.5.1/lib/ripper-tags/default_formatter.rb:52:in `with_output'\r\n30: from ruby/lib/ruby/gems/2.5.0/gems/ripper-tags-0.5.1/lib/ripper-tags/default_formatter.rb:52:in `open'\r\n29: from ruby/lib/ruby/gems/2.5.0/gems/ripper-tags-0.5.1/lib/ripper-tags/default_formatter.rb:53:in `block in with_output'\r\n28: from ruby/lib/ruby/gems/2.5.0/gems/ripper-tags-0.5.1/lib/ripper-tags/emacs_formatter.rb:30:in `block in with_output'\r\n27: from ruby/lib/ruby/gems/2.5.0/gems/ripper-tags-0.5.1/lib/ripper-tags.rb:209:in `block in run'\r\n26: from ruby/lib/ruby/gems/2.5.0/gems/ripper-tags-0.5.1/lib/ripper-tags/data_reader.rb:133:in `each_tag'\r\n25: from ruby/lib/ruby/gems/2.5.0/gems/ripper-tags-0.5.1/lib/ripper-tags/data_reader.rb:84:in `each_file'\r\n24: from ruby/lib/ruby/gems/2.5.0/gems/ripper-tags-0.5.1/lib/ripper-tags/data_reader.rb:98:in `each_input_file'\r\n23: from ruby/lib/ruby/gems/2.5.0/gems/ripper-tags-0.5.1/lib/ripper-tags/data_reader.rb:98:in `each'\r\n22: from ruby/lib/ruby/gems/2.5.0/gems/ripper-tags-0.5.1/lib/ripper-tags/data_reader.rb:85:in `block in each_file'\r\n21: from ruby/lib/ruby/gems/2.5.0/gems/ripper-tags-0.5.1/lib/ripper-tags/data_reader.rb:59:in `resolve_file'\r\n20: from ruby/lib/ruby/gems/2.5.0/gems/ripper-tags-0.5.1/lib/ripper-tags/data_reader.rb:59:in `each'\r\n19: from ruby/lib/ruby/gems/2.5.0/gems/ripper-tags-0.5.1/lib/ripper-tags/data_reader.rb:63:in `block in resolve_file'\r\n18: from ruby/lib/ruby/gems/2.5.0/gems/ripper-tags-0.5.1/lib/ripper-tags/data_reader.rb:59:in `resolve_file'\r\n17: from ruby/lib/ruby/gems/2.5.0/gems/ripper-tags-0.5.1/lib/ripper-tags/data_reader.rb:59:in `each'\r\n16: from ruby/lib/ruby/gems/2.5.0/gems/ripper-tags-0.5.1/lib/ripper-tags/data_reader.rb:63:in `block in resolve_file'\r\n15: from ruby/lib/ruby/gems/2.5.0/gems/ripper-tags-0.5.1/lib/ripper-tags/data_reader.rb:59:in `resolve_file'\r\n14: from ruby/lib/ruby/gems/2.5.0/gems/ripper-tags-0.5.1/lib/ripper-tags/data_reader.rb:59:in `each'\r\n13: from ruby/lib/ruby/gems/2.5.0/gems/ripper-tags-0.5.1/lib/ripper-tags/data_reader.rb:63:in `block in resolve_file'\r\n12: from ruby/lib/ruby/gems/2.5.0/gems/ripper-tags-0.5.1/lib/ripper-tags/data_reader.rb:59:in `resolve_file'\r\n11: from ruby/lib/ruby/gems/2.5.0/gems/ripper-tags-0.5.1/lib/ripper-tags/data_reader.rb:59:in `each'\r\n10: from ruby/lib/ruby/gems/2.5.0/gems/ripper-tags-0.5.1/lib/ripper-tags/data_reader.rb:63:in `block in resolve_file'\r\n 9: from ruby/lib/ruby/gems/2.5.0/gems/ripper-tags-0.5.1/lib/ripper-tags/data_reader.rb:59:in `resolve_file'\r\n 8: from ruby/lib/ruby/gems/2.5.0/gems/ripper-tags-0.5.1/lib/ripper-tags/data_reader.rb:59:in `each'\r\n 7: from ruby/lib/ruby/gems/2.5.0/gems/ripper-tags-0.5.1/lib/ripper-tags/data_reader.rb:63:in `block in resolve_file'\r\n 6: from ruby/lib/ruby/gems/2.5.0/gems/ripper-tags-0.5.1/lib/ripper-tags/data_reader.rb:69:in `resolve_file'\r\n 5: from ruby/lib/ruby/gems/2.5.0/gems/ripper-tags-0.5.1/lib/ripper-tags/data_reader.rb:136:in `block in each_tag'\r\n 4: from ruby/lib/ruby/gems/2.5.0/gems/ripper-tags-0.5.1/lib/ripper-tags/data_reader.rb:165:in `tag_extractor'\r\n 3: from ruby/lib/ruby/gems/2.5.0/gems/ripper-tags-0.5.1/lib/ripper-tags/data_reader.rb:165:in `new'\r\n 2: from ruby/lib/ruby/gems/2.5.0/gems/ripper-tags-0.5.1/lib/ripper-tags/parser.rb:322:in `initialize'\r\n 1: from ruby/lib/ruby/gems/2.5.0/gems/ripper-tags-0.5.1/lib/ripper-tags/parser.rb:347:in `process'\r\nruby/lib/ruby/gems/2.5.0/gems/ripper-tags-0.5.1/lib/ripper-tags/parser.rb:444:in `on_defs': wrong number of arguments (given 4, expected 3) (ArgumentError)\r\n```"},"comment":{"url":"https://api.github.com/repos/tmm1/ripper-tags/issues/comments/375694389","html_url":"https://github.com/tmm1/ripper-tags/issues/83#issuecomment-375694389","issue_url":"https://api.github.com/repos/tmm1/ripper-tags/issues/83","id":375694389,"user":{"login":"gurgeous","id":526195,"avatar_url":"https://avatars2.githubusercontent.com/u/526195?v=4","gravatar_id":"","url":"https://api.github.com/users/gurgeous","html_url":"https://github.com/gurgeous","followers_url":"https://api.github.com/users/gurgeous/followers","following_url":"https://api.github.com/users/gurgeous/following{/other_user}","gists_url":"https://api.github.com/users/gurgeous/gists{/gist_id}","starred_url":"https://api.github.com/users/gurgeous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gurgeous/subscriptions","organizations_url":"https://api.github.com/users/gurgeous/orgs","repos_url":"https://api.github.com/users/gurgeous/repos","events_url":"https://api.github.com/users/gurgeous/events{/privacy}","received_events_url":"https://api.github.com/users/gurgeous/received_events","type":"User","site_admin":false},"created_at":"2018-03-23T15:03:22Z","updated_at":"2018-03-23T15:03:22Z","author_association":"NONE","body":"I'd be happy to help! I'll take a stab at it when I get a chance. Any pointers you can offer re: error printing would be greatly appreciated. :)"}}
{"actor":{"display_login":"gurgeous"}}