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

AWS SDK crashes on publish #38

Open
thebarndog opened this issue May 15, 2017 · 2 comments
Open

AWS SDK crashes on publish #38

thebarndog opened this issue May 15, 2017 · 2 comments

Comments

@thebarndog
Copy link

When I run carthage_cache publish, I get the following output:

error: . Use --trace to view backtrace
/Library/Ruby/Gems/2.0.0/gems/aws-sdk-resources-2.9.17/lib/aws-sdk-resources/resource.rb:134:in `rescue in exists?': Aws::S3::Errors::Http301Error
	from /Library/Ruby/Gems/2.0.0/gems/aws-sdk-resources-2.9.17/lib/aws-sdk-resources/resource.rb:131:in `exists?'
	from /Library/Ruby/Gems/2.0.0/gems/carthage_cache-0.8.3/lib/carthage_cache/repository.rb:16:in `archive_exist?'
	from /Library/Ruby/Gems/2.0.0/gems/carthage_cache-0.8.3/lib/carthage_cache/application.rb:25:in `archive_exist?'
	from /Library/Ruby/Gems/2.0.0/gems/carthage_cache-0.8.3/lib/carthage_cache/application.rb:43:in `create_archive'
	from /Library/Ruby/Gems/2.0.0/gems/carthage_cache-0.8.3/exe/carthage_cache:73:in `block (2 levels) in <top (required)>'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.4.3/lib/commander/command.rb:178:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.4.3/lib/commander/command.rb:178:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.4.3/lib/commander/command.rb:153:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.4.3/lib/commander/runner.rb:446:in `run_active_command'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.4.3/lib/commander/runner.rb:68:in `run!'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.4.3/lib/commander/delegates.rb:15:in `run!'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.4.3/lib/commander/import.rb:5:in `block in <top (required)>'

Interestingly, when I change the bucket name to one that doesn't match what I have on S3, carthage_cache archives everything but fails to find the bucket.

@samuelbeek
Copy link

Do you have some AWS environment variables set in your bash_profile? Do you use AWS for other projects as well. That's what's causing the issue on my computer.

@guidomb
Copy link

guidomb commented Aug 10, 2017

Have you run carthage_cache config to generate .carthage_cache.yml with the proper amazon configuration?. https://github.com/guidomb/carthage_cache#setup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants