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

Closed
Open
Created Dec 21, 2013 by Administrator@rootOwner

500 Server error when viewing files

Created by: nesrual

After upgrading to 6.4 I get the following error when viewing files:

Processing by Projects::TreeController#show as HTML
  Parameters: {"project_id"=>"my_namespace/my_application", "id"=>"master"}
  Rendered shared/_ref_switcher.html.haml (1.9ms)
  Rendered projects/tree/_tree_item.html.haml (6.9ms)
  Rendered projects/tree/_blob_item.html.haml (7.8ms)
  Rendered projects/tree/_readme.html.haml (0.9ms)
  Rendered projects/tree/_tree.html.haml (18.0ms)
  Rendered projects/tree/show.html.haml within layouts/projects (20.6ms)
Completed 500 Internal Server Error in 72ms

ActionView::Template::Error (wrong number of arguments (0 for 1..2)):
    10:       %pre.clean
    11:         = readme.data
    12:     - else
    13:       = raw GitHub::Markup.render(readme.name, readme.data)
  app/views/projects/tree/_readme.html.haml:13:in `_app_views_projects_tree__readme_html_haml___1588826242682031314_70238202018620'
  app/views/projects/tree/_tree.html.haml:49:in `_app_views_projects_tree__tree_html_haml___1471130481819675412_70238167651260'
  app/views/projects/tree/show.html.haml:4:in `_app_views_projects_tree_show_html_haml___2069795906493322834_70238167270180'
  app/controllers/projects/tree_controller.rb:6:in `show'
  app/controllers/application_controller.rb:57:in `set_current_user_for_thread'

The Ruby version is:

ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux]
Assignee
Assign to
Time tracking