intuit / intuit/simple_deploy

Clone command should not write to temp file

Open
#208 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Ruby
Stars
63
Forks
20
PR merge metrics
No merged PRs in 30d

Description

Clone threw an error which we believe is related to writing to a temp file during clone. This should be done in memory.

Tommy Bishop: 2013-09-11 14:42:11 -0700 INFO : Creating Cloud Formation stack ssp-pod-1-e2e-1-elb-api-1.
/Users/pandhale/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/json/common.rb:148:in `initialize': A JSON text must at least contain two octets! (JSON::ParserError)
from /Users/pandhale/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/json/common.rb:148:in`new'
from /Users/pandhale/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/json/common.rb:148:in `parse'
from /Users/pandhale/.rvm/gems/ruby-1.9.3-p392/gems/simple_deploy-0.7.5/lib/simple_deploy/stack/stack_creator.rb:33:in`read_parameters_from_template'
from /Users/pandhale/.rvm/gems/ruby-1.9.3-p392/gems/simple_deploy-0.7.5/lib/simple_deploy/stack/stack_creator.rb:40:in `read_parameters_from_entry'
from /Users/pandhale/.rvm/gems/ruby-1.9.3-p392/gems/simple_deploy-0.7.5/lib/simple_deploy/stack/stack_creator.rb:17:in`create'
from /Users/pandhale/.rvm/gems/ruby-1.9.3-p392/gems/simple_deploy-0.7.5/lib/simple_deploy/stack.rb:32:in `create'
from /Users/pandhale/.rvm/gems/ruby-1.9.3-p392/gems/simple_deploy-0.7.5/lib/simple_deploy/cli/clone.rb:53:in`block in clone'
from /Users/pandhale/.rvm/gems/ruby-1.9.3-p392/gems/simple_deploy-0.7.5/lib/simple_deploy/cli/shared.rb:43:in `rescue_exceptions_and_exit'
from /Users/pandhale/.rvm/gems/ruby-1.9.3-p392/gems/simple_deploy-0.7.5/lib/simple_deploy/cli/clone.rb:52:in`clone'
from /Users/pandhale/.rvm/gems/ruby-1.9.3-p392/gems/simple_deploy-0.7.5/lib/simple_deploy/cli.rb:33:in `start'
from /Users/pandhale/.rvm/gems/ruby-1.9.3-p392/gems/simple_deploy-0.7.5/bin/simple_deploy:6:in`'
from /Users/pandhale/.rvm/gems/ruby-1.9.3-p392/bin/simple_deploy:19:in `load'
from /Users/pandhale/.rvm/gems/ruby-1.9.3-p392/bin/simple_deploy:19:in`'
from /Users/pandhale/.rvm/gems/ruby-1.9.3-p392/bin/ruby_noexec_wrapper:14:in `eval'
from /Users/pandhale/.rvm/gems/ruby-1.9.3-p392/bin/ruby_noexec_wrapper:14:in`'

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.