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

Closed
Open
Created Nov 07, 2012 by Administrator@rootOwner

Cann't view any file in Files tab

Created by: tarzanjw

My problem is almost like #1774 (closed), but I cann't view any file, and I have a different log.

The README file is shown normally when I click into 'Files' tab. But I cann't show any file. Whenever I try to show a file, this is error:


500

We're sorry, but something went wrong.

We've been notified about this issue and we'll take a look at it shortly.

Log on server:


Started GET "/yii/tree/master/CHANGELOG" for 118.70.181.44 at 2012-11-07 12:05:12 +0700
Processing by TreeController#show as HTML
  Parameters: {"project_id"=>"yii", "id"=>"master/CHANGELOG"}
  Rendered shared/_ref_switcher.html.haml (1.0ms)
  Rendered tree/_head.html.haml (1.8ms)
  Rendered tree/_blob_actions.html.haml (469.5ms)
  Rendered tree/blob/_text.html.haml (843.8ms)
  Rendered tree/_blob.html.haml (1496.8ms)
  Rendered tree/_tree.html.haml (1497.5ms)
  Rendered tree/show.html.haml within layouts/project_resource (1499.6ms)
Completed 500 Internal Server Error in 1517ms

ActionView::Template::Error (EPIPE):
    10:     - unless blob.empty?
    11:       %div{class: current_user.dark_scheme ? "black" : "white"}
    12:         = preserve do
    13:           = raw blob.colorize(options: { linenos: 'True'})
    14:     - else
    15:       %h4.nothing_here_message Empty file
  app/models/tree.rb:5:in `colorize'
  app/views/tree/blob/_text.html.haml:13:in `block in _app_views_tree_blob__text_html_haml__3997142299430244956_151324120'
  app/views/tree/blob/_text.html.haml:12:in `_app_views_tree_blob__text_html_haml__3997142299430244956_151324120'
  app/views/tree/_blob.html.haml:9:in `_app_views_tree__blob_html_haml__813913605688358709_176889980'
  app/views/tree/_tree.html.haml:15:in `_app_views_tree__tree_html_haml__2896979355334284483_153168520'
  app/views/tree/show.html.haml:3:in `_app_views_tree_show_html_haml__464798505269274873_152924260'
  app/controllers/tree_controller.rb:17:in `show'
Assignee
Assign to
Time tracking