Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #157

Closed
Open
Created Nov 28, 2011 by Administrator@rootOwner

Error 500 on commit view

Created by: ufna

From logfile:

ActionView::Template::Error (invalid byte sequence in UTF-8): 3: - lines_arr = diff.diff.lines.to_a 4: - lines_arr.each do |line| 5: - line.force_encoding(Encoding::UTF_8) 6: - next if line.match(/^--- /dev/null/) 7: - next if line.match(/^--- a/) 8: - next if line.match(/^+++ b/) 9: - if line.match(/^@@ -/) app/views/commits/_text_file.html.haml:6:in match' app/views/commits/_text_file.html.haml:6:inmatch' app/views/commits/_text_file.html.haml:6:in block in _app_views_commits__text_file_html_haml___547701424848961860_43537420' app/views/commits/_text_file.html.haml:4:ineach' app/views/commits/_text_file.html.haml:4:in _app_views_commits__text_file_html_haml___547701424848961860_43537420' app/views/commits/_diff.html.haml:18:inblock in _app_views_commits__diff_html_haml___2514220832362293068_51073320' app/views/commits/_diff.html.haml:4:in each' app/views/commits/_diff.html.haml:4:in_app_views_commits__diff_html_haml___2514220832362293068_51073320' app/views/commits/show.html.haml:29:in _app_views_commits_show_html_haml__478605241471832011_55794280' app/controllers/commits_controller.rb:30:inshow'

Assignee
Assign to
Time tracking