Skip to content

GitLab

  • Menu
    • Projects Groups Snippets
      Help
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
  • #299

Closed
Open
Created 13 years ago by Administrator@rootOwner
  • New issue

  • Report abuse

  • New issue

  • Report abuse

Error 500 on commit view (incompatible character)

Closed

Error 500 on commit view (incompatible character)

Created by: p0123n

Rendered commits/show.html.haml within layouts/project (267.7ms) Completed 500 Internal Server Error in 281ms

ActionView::Template::Error (incompatible character encodings: UTF-8 and ASCII-8BIT): 16: .diff_file_content 17: - if file.text? 18: = render :partial => "commits/text_file", :locals => { :diff => diff, :index => i } 19: - elsif file.image? 20: .diff_file_content_image 21: %img{:src => "data:#{file.mime_type};base64,#{Base64.encode64(file.data)}"} 22: - else app/views/commits/_diff.html.haml:19:in block in _app_views_commits__diff_html_haml___2540800824834184374_46788400' app/views/commits/_diff.html.haml:4:ineach' app/views/commits/_diff.html.haml:4:in each_with_index' app/views/commits/_diff.html.haml:4:in_app_views_commits__diff_html_haml___2540800824834184374_46788400' app/views/commits/show.html.haml:25:in _app_views_commits_show_html_haml___4151098555950872972_52921260' app/controllers/commits_controller.rb:30:inshow'

Linked issues
...

    Related merge requests

    • Administrator
      Administrator @root · 13 years ago
      Owner

      Created by: brodock

      The solution I've comented here on #725 - https://github.com/gitlabhq/gitlabhq/issues/725#issuecomment-5519854 may help fix this issue

      By Administrator on 2012-05-05T01:40:47 (imported from GitLab project)

    • Administrator
      Administrator @root · 13 years ago
      Owner

      Created by: p0123n

      TY! Problem was solved.

      By Administrator on 2012-05-05T05:28:43 (imported from GitLab project)

    • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
    Please register or sign in to reply
    0 Assignees
    Assign to
    Milestone
    No milestone
    None
    None
    Time tracking
    Due date
    None
    None
    0
    Labels
    None
    Assign labels
    • No matching results
    • Manage project labels
    Confidentiality
    Not confidential

    You are going to turn on confidentiality. Only team members with at least Reporter access will be able to see and leave comments on the issue.

    Lock issue
    Unlocked
    participants
    Reference:

    Menu

    Projects Groups Snippets
    Help