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

Closed
Open
Created Nov 24, 2012 by Administrator@rootOwner

Template error when viewing files (could not find any magic files!)

Created by: Telmo

I keep getting this error when trying to view files. Gitlab 3.1 running on ruby 1.9.3

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:5:in `text?'
  app/views/tree/_blob_actions.html.haml:3:in `_app_views_tree__blob_actions_html_haml___2872805159773347045_44499980'
  app/views/tree/_blob.html.haml:7:in `_app_views_tree__blob_html_haml__2466239540541319848_44377400'
  app/views/tree/_tree.html.haml:15:in `_app_views_tree__tree_html_haml___4103719832994023511_44211320'
  app/views/tree/show.js.haml:3:in `_app_views_tree_show_js_haml___340416038100699206_44139780'
  /app/interpreters/ruby/1.9.3/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'


Started GET "/copa_provisioning/tree/master/spec/copa_provisioning_spec.rb" for 10.25.240.225 at 2012-11-24 14:51:41 -0500
Processing by TreeController#show as HTML
  Parameters: {"project_id"=>"copa_provisioning", "id"=>"master/spec/copa_provisioning_spec.rb"}
  Rendered shared/_ref_switcher.html.haml (1.7ms)
  Rendered shared/_clone_panel.html.haml (0.5ms)
  Rendered tree/_head.html.haml (3.4ms)
  Rendered tree/_blob_actions.html.haml (1.2ms)
  Rendered tree/_blob.html.haml (2.3ms)
  Rendered tree/_tree.html.haml (3.6ms)
  Rendered tree/show.html.haml within layouts/project_resource (7.4ms)
Completed 500 Internal Server Error in 32ms
Assignee
Assign to
Time tracking