Jump to content

Django problems


shamanas

Recommended Posts

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

Link to comment
Share on other sites

Guest Geoff

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 $

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Guest Geoff

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...