wordpress-mobile / wordpress-mobile/release-toolkit
Lane configure_setup fails with method_missing error
Open
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 31
- Forks
- 10
- Avg merge
- 5h 45m
- Merged PRs (30d)
- 2
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with bundle exec configure_setup, then inspect configure_apply_action.rb at line 54 and configure_setup_action.rb at line 41, as identified by the stack trace. Trace why trigger_action_by_name is called on nil and verify that configure_setup completes without this NoMethodError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- release
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100