javan / javan/whenever

ArgumentError: invalid byte sequence in UTF-8

Open
#701 1 comment 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.