500 when viewing file
Created by: Tank000
my log is following! We use CentOS,LANG= en_US.UTF-8
Started GET "/hello/master/tree" for 127.0.0.1 at 2012-08-19 20:49:13 +0800 Processing by RefsController#tree as HTML Parameters: {"project_id"=>"hello", "id"=>"master"} Rendered refs/_head.html.haml (6.6ms) Rendered refs/_tree_item.html.haml (9.5ms) Rendered refs/_tree_item.html.haml (1.7ms) Rendered refs/_tree_item.html.haml (1.6ms) Rendered refs/_tree_item.html.haml (1.6ms) Rendered refs/_tree_item.html.haml (4.0ms) Rendered refs/_tree.html.haml (98.9ms) Rendered refs/tree.html.haml within layouts/project (109.8ms) Completed 500 Internal Server Error in 138ms
ActionView::Template::Error (could not find any magic files!):
1: - file = tree_full_path(content)
2: %tr{ :class => "tree-item #{tree_hex_class(content)}", :url => tree_file_project_ref_path(@Project, @ref, file) }
3: %td.tree-item-file-name
4: = tree_icon(content)
5: = link_to truncate(content.name, :length => 40), tree_file_project_ref_path(@Project, @ref || @commit.id, file), :remote => :true
6: %td.tree_time_ago.cgray
7: - if index == 1
app/helpers/tree_helper.rb:4:in tree_icon' appiews/refs/_tree_item.html.haml:4:in
_app_views_refs__tree_item_html_haml___2293080478074087149_59218180'
appiews/refs/_tree.html.haml:37:in block in _app_views_refs__tree_html_haml___221160167072112191_59462320' appiews/refs/_tree.html.haml:36:in
each'
appiews/refs/_tree.html.haml:36:in _app_views_refs__tree_html_haml___221160167072112191_59462320' appiews/refs/tree.html.haml:2:in
_app_views_refs_tree_html_haml__1724687301675783501_59141280'
app/controllers/refs_controller.rb:40:in `tree'