First time here? Check out the FAQ!

Revision history  [back]

askbot gunicorn 404 error

INSTALLED_APPS = (
    ...
    "gunicorn",
)

then run

python manage.py run_gunicorn

error as follows

 >python manage.py run_gunicorn 0.0.0.0:8000

2013-01-06 06:25:06 [16815] [INFO] Starting gunicorn 0.17.1
2013-01-06 06:25:06 [16815] [INFO] Listening at: http://0.0.0.0:8000 (16815)
2013-01-06 06:25:06 [16815] [INFO] Using worker: sync
2013-01-06 06:25:06 [16820] [INFO] Booting worker with pid: 16820
WARNING!!! You are using a 'locmem' (local memory) caching backend,
which is OK for a low volume site running on a single-process server.
For a multi-process configuration it is neccessary to have a production
cache system, such as redis or memcached.

With local memory caching and multi-process setup you might intermittently
see outdated content on your site.

/home/ubuntu/.virtualenvs/web/local/lib/python2.7/site-packages/coffin/common.py:73: UserWarning: Cannot translate loader: askbot.skins.loaders.Loader
  warnings.warn('Cannot translate loader: %s' % loader)

askbot gunicorn 404 error

INSTALLED_APPS = (
    ...
    "gunicorn",
)

then run

python manage.py run_gunicorn

error as followserror

 >python manage.py run_gunicorn 0.0.0.0:8000

2013-01-06 06:25:06 [16815] [INFO] Starting gunicorn 0.17.1
2013-01-06 06:25:06 [16815] [INFO] Listening at: http://0.0.0.0:8000 (16815)
2013-01-06 06:25:06 [16815] [INFO] Using worker: sync
2013-01-06 06:25:06 [16820] [INFO] Booting worker with pid: 16820
WARNING!!! You are using a 'locmem' (local memory) caching backend,
which is OK for a low volume site running on a single-process server.
For a multi-process configuration it is neccessary to have a production
cache system, such as redis or memcached.

With local memory caching and multi-process setup you might intermittently
see outdated content on your site.

/home/ubuntu/.virtualenvs/web/local/lib/python2.7/site-packages/coffin/common.py:73: UserWarning: Cannot translate loader: askbot.skins.loaders.Loader
  warnings.warn('Cannot translate loader: %s' % loader)

error