App gets 500 while trying to get js/css

Issue #816 resolved
Mateusz Ziarko created an issue

Hi, I've installed RhodeCode on server provided by (pylons, nginx etc.) and setup proxy to hide port number. When I'm entering to the homepage there is no styles, js etc. there, only incons in menu are visible. App raise error 500 for each of js or css files. Example below:

2013-04-06 20:43:05.917 ERROR [waitress] Exception when serving /js/rhodecode.js
Traceback (most recent call last):
  File "/home/mercurial/www/.python/lib/python2.7/site-packages/waitress-0.8.1-py2.7.egg/waitress/", line 329, in service
  File "/home/mercurial/www/.python/lib/python2.7/site-packages/waitress-0.8.1-py2.7.egg/waitress/", line 174, in service
  File "/home/mercurial/www/.python/lib/python2.7/site-packages/waitress-0.8.1-py2.7.egg/waitress/", line 273, in finish
  File "/home/mercurial/www/.python/lib/python2.7/site-packages/waitress-0.8.1-py2.7.egg/waitress/", line 280, in write
    raise RuntimeError('start_response was not called before body '
RuntimeError: start_response was not called before body written

Comments (2)

  1. Marcin Kuzminski repo owner

    try to turn off serving static files in .ini file, and serve them through nginx, just remember to set proper root location in nginx pointing to rhodecode installation /public

  2. Log in to comment