gitlab 5.3: Error 500 on trying to preview file in files browser
Created by: plamen-nikolov
Started GET "/plamen/windowcalc-kozijnpro/blob/develop/site/app/windowcalc/constants.py" for at 2013-06-23 17:07:40 +0300
Processing by BlobController#show as HTML
Parameters: {"project_id"=>"plamen/windowcalc-kozijnpro", "id"=>"develop/site/app/windowcalc/constants.py"}
Rendered shared/_ref_switcher.html.haml (5.7ms)
Rendered blob/_actions.html.haml (17.9ms)
Rendered blob/_text.html.haml (143.0ms)
Rendered blob/_blob.html.haml (172.6ms)
Rendered blob/show.html.haml within layouts/project_resource (183.7ms)
Completed 500 Internal Server Error in 315ms
ActionView::Template::Error (Failed to get header.):
9: .file_content.code
10: - unless blob.empty?
11: %div{class: user_color_scheme_class}
12: = raw blob.colorize(formatter: :gitlab)
13: - else
14: %p.nothing_here_message Empty file
app/views/blob/_text.html.haml:12:in `_app_views_blob__text_html_haml___688259264822344241_77754240'
app/views/blob/_blob.html.haml:28:in `_app_views_blob__blob_html_haml__3325482649182948261_77320340'
app/views/blob/show.html.haml:4:in `_app_views_blob_show_html_haml___4451985431478223735_66939200'
System information System: Ubuntu 11.10 Current User: git Using RVM: no Ruby Version: 1.9.3p392 Gem Version: 1.8.24 Bundler Version:1.3.5 Rake Version: 10.0.4
GitLab information Version: 5.3.0 Revision: 148eade9 Directory: /home/git/gitlab DB Adapter: mysql2 URL: http://gitlabhq HTTP Clone URL: http://gitlabhq/some-project.git SSH Clone URL: git@gitlabhq:some-project.git Using LDAP: no Using Omniauth: no
GitLab Shell Version: 1.3.0 Repositories: /home/git/repositories/ Hooks: /home/git/gitlab-shell/hooks/ Git: /usr/bin/git