Skip to content

500 error while browsing to help/* #2272

tvb opened this Issue Dec 13, 2012 · 3 comments

3 participants

tvb commented Dec 13, 2012

Im getting an error 500 while browsing to the following pages:


using gitlab version 4.0.0pre b48852e

python --version

Python 2.7.3rc2

I am seeing the following log:

Started GET "/help/web_hooks" for at 2012-12-13 09:14:01 +0100
Processing by HelpController#web_hooks as HTML
Rendered hooks/_data_ex.html.erb (101.4ms)
Rendered help/web_hooks.html.haml within layouts/application (102.0ms)
Completed 500 Internal Server Error in 104ms

ActionView::Template::Error (Failed to get header.):
42: eos
43: %>
44: <% js_lexer = Pygments::Lexer[:js] %>
45: <%= raw js_lexer.highlight(data_ex_str) %>
app/views/hooks/_data_ex.html.erb:45:in _app_views_hooks__data_ex_html_erb__2319766053335257810_64312760'

What am I doing wrong?

tvb commented Dec 13, 2012

Sorry, if not an global issue I posted a support request here:!topic/gitlabhq/yzcY6gztP4M

tvb commented Dec 13, 2012


root@git:~# python2 --version
-bash: python2: command not found
root@git:~# sudo ln -s /usr/bin/python /usr/bin/python2
root@git:~# python2 --version
Python 2.7.3rc2

@riyad riyad closed this Dec 13, 2012
smarek commented May 9, 2013

If this is some kind of system behavior, relying on 'python2' named binary, there should be some test on install of gitlab I think.

@randx randx added a commit that referenced this issue Aug 18, 2015
@randx randx Merge branch 'mr-source-branch-clear-cache' into 'master'
Clear cache to prevent listing deleted branches after MR removes source branch

Closes #2272

See merge request !1160
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.