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

Not possible to run fastlane - dependency aws-sdk-ruby error - aws new version is ready! #16598

Closed
4 tasks done
mortenholmgaard opened this issue Jun 12, 2020 · 3 comments
Closed
4 tasks done

Comments

@mortenholmgaard
Copy link

New Issue Checklist

Issue Description

Just executing fastlane fails. Not on all my projects but one after one they start failing.
It is because of this aws-sdk-ruby error aws/aws-sdk-ruby#2327
(aws/aws-sdk-ruby#2330) with was fixed yesterday. It was introduced in aws-sdk-ruby 1.33.0 but fixed in 1.34.1.
I can't figure out if I could do anything locally that would fix it or it requires a new fastlane release?

Command executed
bundle exec fastlane
Complete output when running fastlane, including the stack trace and command used

$ bundle exec fastlane
[✔] 🚀
Traceback (most recent call last):
19: from C:/tools/ruby26/bin/fastlane:23:in <main>' 18: from C:/tools/ruby26/bin/fastlane:23:in load'
17: from C:/tools/ruby26/lib/ruby/gems/2.6.0/gems/fastlane-2.149.1/bin/fastlane:23:in <top (required)>' 16: from C:/tools/ruby26/lib/ruby/gems/2.6.0/gems/fastlane-2.149.1/fastlane/lib/fastlane/cli_tools_distributor.rb:119:in take_off'
15: from C:/tools/ruby26/lib/ruby/gems/2.6.0/gems/fastlane-2.149.1/fastlane/lib/fastlane/commands_generator.rb:33:in start' 14: from C:/tools/ruby26/lib/ruby/gems/2.6.0/gems/fastlane-2.149.1/fastlane/lib/fastlane.rb:38:in load_actions'
13: from C:/tools/ruby26/lib/ruby/gems/2.6.0/gems/fastlane-2.149.1/fastlane/lib/fastlane/actions/actions_helper.rb:93:in load_default_actions' 12: from C:/tools/ruby26/lib/ruby/gems/2.6.0/gems/fastlane-2.149.1/fastlane/lib/fastlane/actions/actions_helper.rb:93:in each'
11: from C:/tools/ruby26/lib/ruby/gems/2.6.0/gems/fastlane-2.149.1/fastlane/lib/fastlane/actions/actions_helper.rb:94:in block in load_default_actions' 10: from C:/tools/ruby26/lib/ruby/gems/2.6.0/gems/fastlane-2.149.1/fastlane/lib/fastlane/actions/actions_helper.rb:94:in require'
9: from C:/tools/ruby26/lib/ruby/gems/2.6.0/gems/fastlane-2.149.1/fastlane/lib/fastlane/actions/s3.rb:2:in <top (required)>' 8: from C:/tools/ruby26/lib/ruby/gems/2.6.0/gems/fastlane-2.149.1/fastlane/lib/fastlane/actions/s3.rb:2:in require'
7: from C:/tools/ruby26/lib/ruby/gems/2.6.0/gems/fastlane-2.149.1/fastlane/lib/fastlane/helper/s3_client_helper.rb:1:in <top (required)>' 6: from C:/tools/ruby26/lib/ruby/gems/2.6.0/gems/fastlane-2.149.1/fastlane/lib/fastlane/helper/s3_client_helper.rb:1:in require'
5: from C:/tools/ruby26/lib/ruby/gems/2.6.0/gems/aws-sdk-s3-1.67.1/lib/aws-sdk-s3.rb:8:in <top (required)>' 4: from C:/tools/ruby26/lib/ruby/gems/2.6.0/gems/aws-sdk-s3-1.67.1/lib/aws-sdk-s3.rb:8:in require'
3: from C:/tools/ruby26/lib/ruby/gems/2.6.0/gems/aws-sdk-kms-1.34.0/lib/aws-sdk-kms.rb:13:in `<top (required)>'

     2: from C:/tools/ruby26/lib/ruby/gems/2.6.0/gems/aws-sdk-kms-1.34.0/lib/aws-sdk-kms.rb:13:in `require_relative'

     1: from C:/tools/ruby26/lib/ruby/gems/2.6.0/gems/aws-sdk-kms-1.34.0/lib/aws-sdk-kms/client.rb:27:in `<top (required)>'

C:/tools/ruby26/lib/ruby/gems/2.6.0/gems/aws-sdk-kms-1.34.0/lib/aws-sdk-kms/client.rb:27:in `require': cannot load such file -- aws-sdk-core/plugins/http_checksum.rb (LoadError)

Environment

fastlane env fails as well but I have manually include some details

fastlane version: 2.149.1
ruby 2.6.3p62 (2019-04-16 revision 67580)
@fastlane-bot
Copy link

It seems like you have not included the output of fastlane env
To make it easier for us help you resolve this issue, please update the issue to include the output of fastlane env 👍

@mortenholmgaard mortenholmgaard changed the title Run fastlane fails - dependency aws-sdk-ruby error Not possible to run fastlane - dependency aws-sdk-ruby error - aws should have fixed it yesterday! Jun 12, 2020
@mortenholmgaard mortenholmgaard changed the title Not possible to run fastlane - dependency aws-sdk-ruby error - aws should have fixed it yesterday! Not possible to run fastlane - dependency aws-sdk-ruby error - aws new version is ready! Jun 12, 2020
@janpio
Copy link
Member

janpio commented Jun 13, 2020

Ping @joshdholtz

@mortenholmgaard
Copy link
Author

Manually adding gem "aws-sdk-kms", ">= 1.34.1" to Gemfile and bundle update to update the Gemfile.lock file seems to do the trick.

@fastlane fastlane locked and limited conversation to collaborators Aug 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants