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 US-ASCII (ArgumentError) #268
Comments
Looks like the git gem is having trouble reading your commit message from an earlier commit due to encoding issues. I've been unable to replicate the bug here probably because I can't get the exact char sequence you have in that message. I've tried a commit with that char, and other weird chars including emoji's and they all still work. To help debug can you provide the output of |
Digging further, it seems there are a few issues with the git gem we are using around encoding (and one un-merged PR that suggests a fix). I'll add a comment on one of the existing issues that we're having the same problem. |
One other thing, can you try the following;
(and paste the output, then create a new ruby file with this content and run it)
(and paste the output) |
Unfortunately, I am no longer able to reproduce the error in the old repo or a new one. Using lolcommits (0.5.7) locale:
echo $LANG:
ruby test.rb
|
Werid, OK can we close this for now? Given the bug is originating from the git gem. We'll be sure to keep up with any fixes they release and push out a new version of lolcommits. |
Haha, yeah, it's totally fine by me :) |
When using lolcommits, one of my commit messages contained an "Ö", which produced an "invalid byte sequence in US-ASCII (ArgumentError)". All subsequent commits now produce this error and fails to capture an image, regardless of commit message. Have tried to disable and reenable lolcommits aswell as reinstalling it without any luck.
Stack trace:
The text was updated successfully, but these errors were encountered: