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

"invalid byte sequence in UTF-8" in os_x_processes #13

Open
beccadax opened this issue Jul 19, 2012 · 0 comments
Open

"invalid byte sequence in UTF-8" in os_x_processes #13

beccadax opened this issue Jul 19, 2012 · 0 comments

Comments

@beccadax
Copy link

While working with the Workless gem, which uses rush, I got the error "invalid byte sequence in UTF-8" with the following backtrace:

vendor/local/ruby/1.9.1/gems/rush-0.6.8/lib/rush/local.rb:223:in `split'
vendor/local/ruby/1.9.1/gems/rush-0.6.8/lib/rush/local.rb:223:in `os_x_processes'
vendor/local/ruby/1.9.1/gems/rush-0.6.8/lib/rush/local.rb:149:in `processes'
vendor/local/ruby/1.9.1/gems/rush-0.6.8/lib/rush/box.rb:48:in `processes'
vendor/local/ruby/1.9.1/gems/workless-1.0.1/lib/workless/scalers/local.rb:25:in `workers'

Investigating with ps(1) revealed a print spooling process with a \xE2 character in its name; killing that process allowed rush to work normally. The system in question runs OS X 10.7.4 with Ruby 1.9.2-p290.

Sija added a commit to Sija/rush that referenced this issue Aug 19, 2012
- Fixes "Invalid byte sequence in UTF-8" in Rush::Config.load_history
- Implemented Rush::Connection::Local.size for other systems than Linux
- Set properly Rush::Process.user on OS X
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

1 participant