Skip to content

500 error while browsing to help/* #2272

Closed
tvb opened this Issue Dec 13, 2012 · 3 comments

3 participants

@tvb
tvb commented Dec 13, 2012

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

/help/web_hooks
/help/system_hooks
/help/api
/help/markdown
/help/raketasks

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 127.0.0.1 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'
app/views/help/web_hooks.html.haml:14:in
_app_views_help_web_hooks_html_haml__1361569433401857186_67993600'

What am I doing wrong?

@tvb
tvb commented Dec 13, 2012

Sorry, if not an global issue I posted a support request here: https://groups.google.com/forum/#!topic/gitlabhq/yzcY6gztP4M

@tvb
tvb commented Dec 13, 2012

FIXED:

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
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
798f2fe
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.