Hi,
Has anyone else seen "No module named mediathread.settings_production" error?
The details are below ....
root@mediathread2014:/var/log/apache2/mediathread# more error.log
[Wed Feb 12 13:59:36 2014] [error] [client 127.0.0.1] mod_wsgi (pid=14280): Exception occurred proc
essing WSGI script '/var/www/mediathread/apache/django.wsgi'.
[Wed Feb 12 13:59:36 2014] [error] [client 127.0.0.1] Traceback (most recent call last):
[Wed Feb 12 13:59:36 2014] [error] [client 127.0.0.1] File "/var/www/mediathread/ve/lib/python2.7
/site-packages/django/core/handlers/wsgi.py", line 219, in __call__
[Wed Feb 12 13:59:36 2014] [error] [client 127.0.0.1] self.load_middleware()
[Wed Feb 12 13:59:36 2014] [error] [client 127.0.0.1] File "/var/www/mediathread/ve/lib/python2.7
/site-packages/django/core/handlers/base.py", line 39, in load_middleware
[Wed Feb 12 13:59:36 2014] [error] [client 127.0.0.1] for middleware_path in settings.MIDDLEWAR
E_CLASSES:
[Wed Feb 12 13:59:36 2014] [error] [client 127.0.0.1] File "/var/www/mediathread/ve/lib/python2.7
/site-packages/django/utils/functional.py", line 184, in inner
[Wed Feb 12 13:59:36 2014] [error] [client 127.0.0.1] self._setup()
[Wed Feb 12 13:59:36 2014] [error] [client 127.0.0.1] File "/var/www/mediathread/ve/lib/python2.7
/site-packages/django/conf/__init__.py", line 42, in _setup
[Wed Feb 12 13:59:36 2014] [error] [client 127.0.0.1] self._wrapped = Settings(settings_module)
[Wed Feb 12 13:59:36 2014] [error] [client 127.0.0.1] File "/var/www/mediathread/ve/lib/python2.7
/site-packages/django/conf/__init__.py", line 95, in __init__
[Wed Feb 12 13:59:36 2014] [error] [client 127.0.0.1] raise ImportError("Could not import setti
ngs '%s' (Is it on sys.path?): %s" % (self.SETTINGS_MODULE, e))
[Wed Feb 12 13:59:36 2014] [error] [client 127.0.0.1] ImportError: Could not import settings 'media
thread.settings_production' (Is it on sys.path?): No module named mediathread.settings_production
root@mediathread2014:/var/log/apache2/mediathread# locate thread.settings_production
root@mediathread2014:/var/log/apache2/mediathread# updatedb &
[1] 14417
root@mediathread2014:/var/log/apache2/mediathread# locate settings_production
/var/www/mediathread/mediathread/settings_production.py
thanks
-John Wallace