Lane configure_setup fails with method_missing error

オープン
#168 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
ruby
領域
release

調査の方向性

bundle exec configure_setup で失敗を再現し、スタックトレースで特定されている configure_apply_action.rb の54行目と configure_setup_action.rb の41行目を調査してください。trigger_action_by_name が nil に対して呼び出される理由を追跡し、この NoMethodError が発生せずに configure_setup が完了することを確認してください。

索引モデルが issue の本文から書いたものです。

説明

I just run bundle exec configure_setup on a new project and it failed with this stack trace

NoMethodError: [!] undefined method `trigger_action_by_name' for nil:NilClass
  /Users/gio/path/to/project/vendor/bundle/ruby/2.7.0/gems/fastlane-2.160.0/fastlane/lib/fastlane/other_action.rb:23:in `method_missing'
  /Users/gio/path/to/project/vendor/bundle/ruby/2.7.0/bundler/gems/release-toolkit-dd4dd1b1af75/lib/fastlane/plugin/wpmreleasetoolkit/actions/configure/configure_apply_action.rb:54:in `prepare_repository'
  /Users/gio/path/to/project/vendor/bundle/ruby/2.7.0/bundler/gems/release-toolkit-dd4dd1b1af75/lib/fastlane/plugin/wpmreleasetoolkit/actions/configure/configure_apply_action.rb:18:in `run'
  /Users/gio/path/to/project/vendor/bundle/ruby/2.7.0/bundler/gems/release-toolkit-dd4dd1b1af75/lib/fastlane/plugin/wpmreleasetoolkit/actions/configure/configure_setup_action.rb:41:in `run'
  /Users/gio/path/to/project/vendor/bundle/ruby/2.7.0/gems/fastlane-2.160.0/fastlane/lib/fastlane/runner.rb:263:in `block (2 levels) in execute_action'
  /Users/gio/path/to/project/vendor/bundle/ruby/2.7.0/gems/fastlane-2.160.0/fastlane/lib/fastlane/actions/actions_helper.rb:50:in `execute_action'

I'm opening this issue because I don't have the time now to follow this up.

主要言語
Ruby
スター
32
フォーク
7
平均マージ
1日 15時間
マージ済み PR(30日)
9

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

wordpress-mobile/release-toolkit のほかの issue

wordpress-mobile/release-toolkit の issue をすべて見る

似ている issue

Ruby の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。