Lane configure_setup fails with method_missing error

Đang mở
#168 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
ruby
Lĩnh vực
release

Hướng nghiên cứu

Tái hiện lỗi với bundle exec configure_setup, sau đó kiểm tra configure_apply_action.rb ở dòng 54 và configure_setup_action.rb ở dòng 41, như được xác định trong stack trace. Truy tìm lý do trigger_action_by_name được gọi trên nil và xác minh rằng configure_setup hoàn tất mà không có NoMethodError này.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Ruby
Star
32
Fork
7
Merge trung bình
1 ngày 15 giờ
Pull request đã merge (30 ngày)
9

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của wordpress-mobile/release-toolkit

Tất cả issue của wordpress-mobile/release-toolkit

Issue tương tự

Thêm issue về Ruby

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.