File content is not shown
Created by: simonszu
I recently upgraded from 4.2 to 5.0. Now i can browse the folders of my repos, and all files are shown. However, when i want to look at the content of a file, the loading animation appears, disappears and the space stays empty.
I have the following in the log file:
Started GET "/simonszu/nagios/tree/master/nagios-rescue/rescue.rb?_=1364894873331" for 194.55.193.226 at 2013-04-02 11:27:51 +0200
Processing by TreeController#show as JS
Parameters: {"_"=>"1364894873331", "project_id"=>"simonszu/nagios", "id"=>"master/nagios-rescue/rescue.rb"}
Rendered tree/_blob_actions.html.haml (217.7ms)
Rendered tree/_blob.html.haml (241.9ms)
Rendered tree/_tree.html.haml (245.0ms)
Rendered tree/show.js.haml (245.7ms)
Completed 500 Internal Server Error in 298ms
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 btn-tiny", disabled: !allowed_tree_edit?
5: = link_to "raw", project_blob_path(@project, @id), class: "btn btn-tiny", 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__1948581654498050247_63256480'
app/views/tree/_blob.html.haml:7:in `_app_views_tree__blob_html_haml___4069929497986257827_58597780'
app/views/tree/_tree.html.haml:16:in `_app_views_tree__tree_html_haml___4234379482038297666_63034280'
app/views/tree/show.js.haml:3:in `_app_views_tree_show_js_haml__2473974332918419398_62768040'
What is going on here?