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

Closed
Open
Created Jan 22, 2013 by Administrator@rootOwner

500 on opening commit/files view

Created by: Exordian

Commit View Error:

Started GET "/tbc/b2b_scriptdev2/commit/a33910f891aba898d4c972320ff6fd6ca53b5f79" for 127.0.0.1 at 2013-01-22 16:19:28 +0100
Processing by CommitController#show as HTML
  Parameters: {"project_id"=>"tbc/b2b_scriptdev2", "id"=>"a33910f891aba898d4c972320ff6fd6ca53b5f79"}
  Rendered commits/_commit_box.html.haml (60.3ms)
  Rendered commits/_diff_head.html.haml (2.9ms)
  Rendered commits/_diffs.html.haml (56.5ms)
  Rendered commit/show.html.haml within layouts/project_resource (188.2ms)
Completed 500 Internal Server Error in 593ms

ActionView::Template::Error (could not find any magic files!):
    40:       .diff_file_content
    41:         -# Skip all non-supported blobs
    42:         - next unless file.respond_to?('text?')
    43:         - if file.text?
    44:           = render "commits/text_diff", diff: diff, index: i
    45:         - elsif file.image?
    46:           - old_file = (@commit.prev_commit.tree / diff.old_path) if !@commit.prev_commit.nil?
  app/views/commits/_diffs.html.haml:43:in `block in _app_views_commits__diffs_html_haml__3688919005427855444_44962460'
  app/views/commits/_diffs.html.haml:16:in `each'
  app/views/commits/_diffs.html.haml:16:in `each_with_index'
  app/views/commits/_diffs.html.haml:16:in `_app_views_commits__diffs_html_haml__3688919005427855444_44962460'
  app/views/commit/show.html.haml:9:in `_app_views_commit_show_html_haml__1338466999147054385_26100540'

Tree View Error:

Started GET "/tbc/b2b_scriptdev2/tree/master/LICENSE.txt?_=1358871060267" for 178.191.188.25 at 2013-01-22 17:11:00 +0100
Processing by TreeController#show as JS
  Parameters: {"_"=>"1358871060267", "project_id"=>"tbc/b2b_scriptdev2", "id"=>"master/LICENSE.txt"}
  Rendered tree/_blob_actions.html.haml (5.3ms)
  Rendered tree/_blob.html.haml (238.9ms)
  Rendered tree/_tree.html.haml (267.1ms)
  Rendered tree/show.js.haml (269.5ms)
Completed 500 Internal Server Error in 372ms

ActionView::Template::Error (could not find any magic files!):
    1: .btn-group.tree-btn-group
    2:   -# only show edit link for text files
    3:   - if @tree.text?
    4:     = link_to "edit", edit_project_tree_path(@project, @id), class: "btn very_small", disabled: !allowed_tree_edit?
    5:   = link_to "raw", project_blob_path(@project, @id), class: "btn very_small", target: "_blank"
    6:   -# only show normal/blame view links for text files
  app/models/tree.rb:6:in `text?'
  app/views/tree/_blob_actions.html.haml:3:in `_app_views_tree__blob_actions_html_haml__835915994785538622_34281960'
  app/views/tree/_blob.html.haml:7:in `_app_views_tree__blob_html_haml___1993342508401752445_34071720'
  app/views/tree/_tree.html.haml:19:in `_app_views_tree__tree_html_haml__2999525922415692382_33780980'
  app/views/tree/show.js.haml:3:in `_app_views_tree_show_js_haml___3488862803862113589_33679340'

RakeTask Check: All ok

System information System: Ubuntu 12.04 Current User: gitlab Using RVM: no Ruby Version: 1.9.3p0 Gem Version: 1.8.11 Bundler Version:1.1.4 Rake Version: 10.0.3

GitLab information Version: 4.1.0 Revision: ed17a011 DB Adapter: mysql2

Gitolite information Version: v3.2-gitlab-patched-0-g2d29cf7 Admin URI: git@localhost:gitolite-admin Admin Key: gitlab

Assignee
Assign to
Time tracking