shamanas Posted July 8, 2011 Posted July 8, 2011 Hello I followed the guide to install my django application on the heliohost servers. However, I cannot succeed to do so, even after reading many threads of people with similar problems and checking my permissions a thousand times. Here is the output in my error log: [Fri Jul 08 06:23:48 2011] [error] [client 85.74.172.105] File "/home/shamanas/public_html/blog/dispatch.wsgi", line 9, in application, referer: http://shamanas.com/ [Fri Jul 08 06:23:48 2011] [error] [client 85.74.172.105] mod_wsgi (pid=12138): Exception occurred processing WSGI script '/home/shamanas/public_html/blog/dispatch.wsgi'., referer: http://shamanas.com/ My website is http://www.shamanas.com Username: shamanas Server: johnny On a sidenote, the snake charmer is down
Guest Geoff Posted July 8, 2011 Posted July 8, 2011 Please fix this error: [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] Traceback (most recent call last): [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] File "/home/shamanas/public_html/blog/dispatch.wsgi", line 10, $ [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] return _application(environ, start_response) [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] File "/usr/local/lib/python2.7/site-packages/django/core/handle$ [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] self.load_middleware() [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] File "/usr/local/lib/python2.7/site-packages/django/core/handle$ [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] for middleware_path in settings.MIDDLEWARE_CLASSES: [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] File "/usr/local/lib/python2.7/site-packages/django/utils/funct$ [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] self._setup() [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] File "/usr/local/lib/python2.7/site-packages/django/conf/__init$ [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] self._wrapped = Settings(settings_module) [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] File "/usr/local/lib/python2.7/site-packages/django/conf/__init$ [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] raise ImportError("Could not import settings '%s' (Is it on s$ [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] ImportError: Could not import settings 'blog.settings' (Is it on $
shamanas Posted July 9, 2011 Author Posted July 9, 2011 Please fix this error: [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] Traceback (most recent call last): [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] File "/home/shamanas/public_html/blog/dispatch.wsgi", line 10, $ [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] return _application(environ, start_response) [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] File "/usr/local/lib/python2.7/site-packages/django/core/handle$ [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] self.load_middleware() [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] File "/usr/local/lib/python2.7/site-packages/django/core/handle$ [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] for middleware_path in settings.MIDDLEWARE_CLASSES: [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] File "/usr/local/lib/python2.7/site-packages/django/utils/funct$ [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] self._setup() [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] File "/usr/local/lib/python2.7/site-packages/django/conf/__init$ [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] self._wrapped = Settings(settings_module) [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] File "/usr/local/lib/python2.7/site-packages/django/conf/__init$ [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] raise ImportError("Could not import settings '%s' (Is it on s$ [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] ImportError: Could not import settings 'blog.settings' (Is it on $ I had changed os.environ['DJANGO_SETTINGS_MODULE'] to blog.settings out of dsperation, but with os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' the dispatch is still not working.
Guest Geoff Posted July 9, 2011 Posted July 9, 2011 It's fixed; the problem was I needed to install Django Simple Captcha. You're site is still not working, but now it's outputting a traceback, so you should be able to take it from here.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now