Server 500 errorsΒΆ

Turn on debug mode

Locate and edit your local_settings file

  • Ubuntu linux: /usr/local/lib/python2.7/dist-packages/openrem/openremproject/

  • Other linux: /usr/lib/python2.7/site-packages/openrem/openremproject/

  • Linux virtualenv: vitualenvfolder/lib/python2.7/site-packages/openrem/openremproject/

  • Windows: C:\Python27\Lib\site-packages\openrem\openremproject\

  • Windows virtualenv: virtualenvfolder\Lib\site-packages\openrem\openremproject\

  • Change the line:

    # DEBUG = True
  • to:

    DEBUG = True

This will render a debug report in the browser - usually revealing the problem.

Once the problem is fixed, change DEBUG to False, or comment it again using a #. If you leave debug mode in place, the system is likely to run out of memory as database queries are cached.