engineyard/engineyard — Issue #130: encoding error in json response
Author: roccoblues
Created: 2011-11-11 11:02:56+00:00
State: open

» ey status -e production
/Users/dennis/projects/loftville/loftville/vendor/bundle/gems/json_pure-1.6.1/lib/json/common.rb:148:in `encode': "\xC3" on US-ASCII (Encoding::InvalidByteSequenceError)
from /Users/dennis/projects/loftville/loftville/vendor/bundle/gems/json_pure-1.6.1/lib/json/common.rb:148:in `initialize'
from /Users/dennis/projects/loftville/loftville/vendor/bundle/gems/json_pure-1.6.1/lib/json/common.rb:148:in `new'
from /Users/dennis/projects/loftville/loftville/vendor/bundle/gems/json_pure-1.6.1/lib/json/common.rb:148:in `parse'
from /Users/dennis/projects/loftville/loftville/vendor/bundle/gems/engineyard-1.4.6/lib/engineyard/api.rb:90:in `request'
from /Users/dennis/projects/loftville/loftville/vendor/bundle/gems/engineyard-1.4.6/lib/engineyard/api.rb:24:in `request'
from /Users/dennis/projects/loftville/loftville/vendor/bundle/gems/engineyard-1.4.6/lib/engineyard/cli/api.rb:14:in `request'
from /Users/dennis/projects/loftville/loftville/vendor/bundle/gems/engineyard-1.4.6/lib/engineyard/model/deployment.rb:15:in `get'
from /Users/dennis/projects/loftville/loftville/vendor/bundle/gems/engineyard-1.4.6/lib/engineyard/model/deployment.rb:11:in `last'
from /Users/dennis/projects/loftville/loftville/vendor/bundle/gems/engineyard-1.4.6/lib/engineyard/model/app.rb:27:in `last_deployment_on'
from /Users/dennis/projects/loftville/loftville/vendor/bundle/gems/engineyard-1.4.6/lib/engineyard/cli.rb:99:in `status'
from /Users/dennis/projects/loftville/loftville/vendor/bundle/gems/thor-0.14.6/lib/thor/task.rb:22:in `run'
from /Users/dennis/projects/loftville/loftville/vendor/bundle/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_task'
from /Users/dennis/projects/loftville/loftville/vendor/bundle/gems/thor-0.14.6/lib/thor.rb:263:in `dispatch'
from /Users/dennis/projects/loftville/loftville/vendor/bundle/gems/thor-0.14.6/lib/thor/base.rb:389:in `start'
from /Users/dennis/projects/loftville/loftville/vendor/bundle/gems/engineyard-1.4.6/lib/engineyard/cli.rb:17:in `start'
from /Users/dennis/projects/loftville/loftville/vendor/bundle/gems/engineyard-1.4.6/bin/ey:6:in `'
from /Users/dennis/projects/loftville/loftville/vendor/bundle/bin/ey:19:in `load'
from /Users/dennis/projects/loftville/loftville/vendor/bundle/bin/ey:19:in `

'

I think that's because of the german umlaut in my name. With my brute force fix: [a6e05959366cef9ffb816c33d27a60f07596b3d7](https://github.com/roccoblues/engineyard/commit/a6e05959366cef9ffb816c33d27a60f07596b3d7)

» ey status -e production
# Status of last deployment of loftville/loftville/production:
#
# Account: loftville
# Application: loftville
# Environment: production
# Input Ref: master
# Resolved Ref: master
# Commit: d1263dce6ede0d590d5557ae508b26985f3de053
# Migrate: true
# Migrate command:
# Deployed by: Dennis Schön
# Created at: 2011-11-11T10:03:09+00:00
# Finished at: 2011-11-11T10:12:09+00:00

Ruby version:
» ruby -v
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin11.2.0]