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
  • #6672

Closed
Open
Created Apr 01, 2014 by Administrator@rootOwner

Encoding Error on showing File Content

Created by: Azaret

When opening some files on GitLab it shows Error 500 Encoding Error. As far as I can tell there is not much more special carateres on the files it show the error than the ones which works fine.

Here the logs :

Started GET "/csharp/*****/blob/master/Src/******/************.cs" for 192.168.10.77 at 2014-04-01 12:13:01 +0200
Processing by Projects::BlobController#show as HTML
Parameters: {"project_id"=>"csharp/******", "id"=>"master/Src/******/************.cs"}
Rendered shared/_ref_switcher.html.haml (6.2ms)
Rendered projects/commits/_commit.html.haml (8.8ms)
Rendered projects/blob/_actions.html.haml (6.4ms)
Rendered shared/_file_hljs.html.haml (153.9ms)
Rendered projects/blob/_text.html.haml (154.5ms)
Rendered projects/blob/_blob.html.haml (179.7ms)
Rendered projects/blob/show.html.haml within layouts/projects (188.4ms)
Encoding::CompatibilityError (incompatible character encodings: ASCII-8BIT and UTF-8):
app/views/projects/blob/show.html.haml:1:in `_app_views_projects_blob_show_html_haml__2623981704671252251_41845540'
app/controllers/application_controller.rb:58:in `set_current_user_for_thread'
Rendered errors/encoding.html.haml within layouts/errors (0.2ms)
Rendered layouts/_head.html.haml (1.8ms)
Rendered layouts/_search.html.haml (1.5ms)
Rendered layouts/_head_panel.html.haml (10.8ms)
Rendered layouts/_flash.html.haml (0.3ms)
Completed 500 Internal Server Error in 295ms (Views: 15.4ms | ActiveRecord: 4.1ms)

Not sure this is a duplicate or not, too much 500 errors tickets. So in the doub I post this. Sorry in that case. Regards,

Assignee
Assign to
Time tracking