-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
ArgumentError - invalid byte sequence in UTF-8 #17
Comments
This is a problem that I am getting as well |
I got the same problem. |
Looks like this is a bug in grit. |
Got the same issue with 1.9.2-head |
Same here with 1.9.2-head. |
@mojombo merged a fix for this into Grit around August. http://github.com/mojombo/grit/commit/0a80ba282d5864cb3e2ca5868291424932596ddd |
Newbie question- running on windows but seeing this - what do I have to do to fix this? |
After hit http://localhost:4567/ I got error:
ArgumentError - invalid byte sequence in UTF-8:
/opt/ruby-1.9.2/lib/ruby/gems/1.9.1/gems/grit-2.1.0/lib/grit/ruby1.9.rb:3:in
ord' /opt/ruby-1.9.2/lib/ruby/gems/1.9.1/gems/grit-2.1.0/lib/grit/ruby1.9.rb:3:in
getord'/opt/ruby-1.9.2/lib/ruby/gems/1.9.1/gems/grit-2.1.0/lib/grit/git-ruby/internal/loose.rb:130:in
legacy_loose_object?' /opt/ruby-1.9.2/lib/ruby/gems/1.9.1/gems/grit-2.1.0/lib/grit/git-ruby/internal/loose.rb:43:in
get_raw_object'/opt/ruby-1.9.2/lib/ruby/gems/1.9.1/gems/grit-2.1.0/lib/grit/git-ruby/internal/loose.rb:32:in
[]' /opt/ruby-1.9.2/lib/ruby/gems/1.9.1/gems/grit-2.1.0/lib/grit/git-ruby/repository.rb:84:in
block in get_raw_object_by_sha1'/opt/ruby-1.9.2/lib/ruby/gems/1.9.1/gems/grit-2.1.0/lib/grit/git-ruby/repository.rb:83:in
each' /opt/ruby-1.9.2/lib/ruby/gems/1.9.1/gems/grit-2.1.0/lib/grit/git-ruby/repository.rb:83:in
get_raw_object_by_sha1'/opt/ruby-1.9.2/lib/ruby/gems/1.9.1/gems/grit-2.1.0/lib/grit/git-ruby/repository.rb:334:in
walk_log' /opt/ruby-1.9.2/lib/ruby/gems/1.9.1/gems/grit-2.1.0/lib/grit/git-ruby/repository.rb:287:in
log'/opt/ruby-1.9.2/lib/ruby/gems/1.9.1/gems/grit-2.1.0/lib/grit/git-ruby/repository.rb:306:in
rev_list' /opt/ruby-1.9.2/lib/ruby/gems/1.9.1/gems/grit-2.1.0/lib/grit/git-ruby.rb:68:in
block in rev_list'/opt/ruby-1.9.2/lib/ruby/gems/1.9.1/gems/grit-2.1.0/lib/grit/git-ruby.rb:224:in
block in try_run' /opt/ruby-1.9.2/lib/ruby/1.9.1/timeout.rb:57:in
timeout'/opt/ruby-1.9.2/lib/ruby/gems/1.9.1/gems/grit-2.1.0/lib/grit/git-ruby.rb:223:in
try_run' /opt/ruby-1.9.2/lib/ruby/gems/1.9.1/gems/grit-2.1.0/lib/grit/git-ruby.rb:68:in
rev_list'/opt/ruby-1.9.2/lib/ruby/gems/1.9.1/gems/grit-2.1.0/lib/grit/commit.rb:94:in
find_all' /opt/ruby-1.9.2/lib/ruby/gems/1.9.1/gems/grit-2.1.0/lib/grit/repo.rb:261:in
commit'/opt/ruby-1.9.2/lib/ruby/gems/1.9.1/gems/gollum-1.0.1/lib/gollum/page.rb:254:in
find' /opt/ruby-1.9.2/lib/ruby/gems/1.9.1/gems/gollum-1.0.1/lib/gollum/wiki.rb:74:in
page'/opt/ruby-1.9.2/lib/ruby/gems/1.9.1/gems/gollum-1.0.1/lib/gollum/frontend/app.rb:132:in
show_page_or_file' /opt/ruby-1.9.2/lib/ruby/gems/1.9.1/gems/gollum-1.0.1/lib/gollum/frontend/app.rb:38:in
block in class:App'/opt/ruby-1.9.2/lib/ruby/gems/1.9.1/gems/sinatra-1.0/lib/sinatra/base.rb:865:in `call'
....
The text was updated successfully, but these errors were encountered: