ArgumentError: invalid byte sequence in UTF-8
Open
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 8.9k
- Forks
- 715
- PR merge metrics
- No merged PRs in 30d
Description
This happens on deploy with capistrano. Command generated by capistrano:
Running /usr/local/rvm/bin/rvm 2.2.3 do bundle exec whenever --update-crontab santeh_opt --set environment=production --roles=app,web,db
Stacktrace:
/opt/santeh_opt/shared/bundle/ruby/2.2.0/gems/whenever-0.9.7/lib/whenever/command_line.rb:115:in `split'
/opt/santeh_opt/shared/bundle/ruby/2.2.0/gems/whenever-0.9.7/lib/whenever/command_line.rb:115:in `prepare'
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with whenever/command_line.rb:115 and reproduce the Capistrano deploy command shown in the report. Trace the input reaching split and determine what causes the invalid UTF-8 error; done means the reported command completes without this exception, with a regression check if the project provides one.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100