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

Closed
Open
Created Feb 14, 2014 by Administrator@rootOwner

I get 500 error when I click on any File under the Project-> Files tab

Created by: rajeshr264

Summary: I am using GitLab 6.5.1. I have one project in Gitlab. It has 3 sub-directories and a README file. When I click on the README file, I get the 500 error. Expected Behavior: I just want to see the contents of the file under the Project->Files tab of my project. Observed behavior: I get the 500 error when I click on the README file or any file in any of the 3 sub-directories. Relevant logs: From unicorn.stderr.log:

Started GET "/js/examples/blob/a6b1c682c60fbe9170ad4c820505ea553f2361f6/README" for 127.0.0.1 at 2014-02-13 17:07:53 -0800
Processing by Projects::BlobController#show as HTML
  Parameters: {"project_id"=>"js/verilog-examples", "id"=>"a6b1c682c60fbe9170ad4c820505ea553f2361f6/README"}
  Rendered shared/_ref_switcher.html.haml (1.9ms)
  Rendered projects/blob/_actions.html.haml (1.5ms)
  Rendered projects/blob/_text.html.haml (11.4ms)
  Rendered projects/blob/_blob.html.haml (14.5ms)
  Rendered projects/blob/show.html.haml within layouts/projects (16.9ms)
Completed 500 Internal Server Error in 177ms

ActionView::Template::Error (EPIPE):
     9:   .file-content.code
    10:     - unless blob.empty?
    11:       %div{class: user_color_scheme_class}
    12:         = raw blob.colorize(formatter: :gitlab)
    13:     - else
    14:       %p.nothing_here_message Empty file
  app/views/projects/blob/_text.html.haml:12:in `_app_views_projects_blob__text_html_haml__459456715517612597_23798774510980'
  app/views/projects/blob/_blob.html.haml:27:in `_app_views_projects_blob__blob_html_haml__2186621586649798360_23798748355560'
  app/views/projects/blob/show.html.haml:4:in `_app_views_projects_blob_show_html_haml__4163958741292105041_23798748031060'
  app/controllers/application_controller.rb:57:in `set_current_user_for_thread'

Any suggestions?

Assignee
Assign to
Time tracking