Version?
I've experienced the same problem. In our case it was due to the fact that
in previous versions GitLab had problems displaying files for git:s that
contained submodules.
Problem solved after upgrade to v6.4.3.
Den måndagen den 20:e januari 2014 kl. 16:39:41 UTC+1 skrev David
Dellsperger:
>
> I've been trying to troubleshoot this problem for the longest time, not
> sure how to fix it.
>
> Started GET
> "/the-yellow-alliance/theyellowalliance/blob/master/app/models/User.php"
> for 127.0.0.1 at 2014-01-20 09:30:16 -0600
> Processing by Projects::BlobController#show as HTML
> Parameters: {"project_id"=>"the-yellow-alliance/theyellowalliance",
> "id"=>"master/app/models/User.php"}
> Rendered shared/_ref_switcher.html.haml (1.9ms)
> Rendered projects/blob/_actions.html.haml (8.3ms)
> Rendered projects/blob/_text.html.haml (120.2ms)
> Rendered projects/blob/_blob.html.haml (134.3ms)
> Rendered projects/blob/show.html.haml within layouts/projects (138.8ms)
> Completed 500 Internal Server Error in 183ms
>
> 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/projects/blob/_text.html.haml:12:in
> `_app_views_projects_blob__text_html_haml__2515320414049804535_70070133327880'
> app/views/projects/blob/_blob.html.haml:28:in
> `_app_views_projects_blob__blob_html_haml__4233082865670969146_70070132562140'
> app/views/projects/blob/show.html.haml:4:in
> `_app_views_projects_blob_show_html_haml__1583292748645727676_70070132374480'
> app/controllers/application_controller.rb:57:in
> `set_current_user_for_thread'
>
> both outputs of python and python2 versions show python 2.7.4
> Nothing shows abnormal in the checks. I'm not sure what the problem is
>
--
You received this message because you are subscribed to the Google Groups
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.