Jump to content

django problems


Recommended Posts

Hi!,

 

my username is perriman and the site is http://djdardos.heliohost.org/. I have two django projects:

 

http://djdardos.heliohost.org/djdardos/

 

and

 

http://djdardos.heliohost.org/djtest/

 

I the log I see the error but it doesn't give me the traceback to see what is happend:

 

[sat Jul 03 06:31:49 2010] [error] [client 85.54.157.200] File does not exist: /home/perriman/public_html/404.shtml

[sat Jul 03 06:31:49 2010] [error] [client 85.54.157.200] File does not exist: /home/perriman/public_html/favicon.ico

[sat Jul 03 08:31:49 2010] [error] [client 85.54.157.200] File does not exist: /home/perriman/public_html/500.shtml

[sat Jul 03 08:31:49 2010] [error] [client 85.54.157.200] File "/home/perriman/public_html/djtest/dispatch.wsgi", line 12, in application

 

Can I activate a more detailed log? Can you help me with the errors?

 

Thanks!!!

Link to comment
Share on other sites

Hi!,

 

my username is perriman and the site is http://djdardos.heliohost.org/. I have two django projects:

 

http://djdardos.heliohost.org/djdardos/

 

and

 

http://djdardos.heliohost.org/djtest/

 

I the log I see the error but it doesn't give me the traceback to see what is happend:

 

[sat Jul 03 06:31:49 2010] [error] [client 85.54.157.200] File does not exist: /home/perriman/public_html/404.shtml

[sat Jul 03 06:31:49 2010] [error] [client 85.54.157.200] File does not exist: /home/perriman/public_html/favicon.ico

[sat Jul 03 08:31:49 2010] [error] [client 85.54.157.200] File does not exist: /home/perriman/public_html/500.shtml

[sat Jul 03 08:31:49 2010] [error] [client 85.54.157.200] File "/home/perriman/public_html/djtest/dispatch.wsgi", line 12, in application

 

Can I activate a more detailed log? Can you help me with the errors?

 

Thanks!!!

 

I had a similar problem with an Internal Server Error which was caused by '~/.python_egg_cache' having 775 permissions instead of 777, but it doesn't look like that's what's happening here - but check all your permissions match just in case. Also, I got a detailed-enough log just by looking in the Error log section of CPanel, but I imagine that's where you're looking anyway!

 

If it helps, byron provided me with working templates for dispatch.wsgi, etc. in this thread - try them and see: http://www.helionet.org/index/index.php?s=...ost&p=52303.

Link to comment
Share on other sites

  • 8 months later...

Hi guys!

 

I try to start a basic django project, based on http://byrondallas.heliohost.org/djangotest.zip

Unfortunatelly it does not work: i got a 500 error: http://spapp.heliohost.org/djangotest/

 

It looks, that it can not import django.core.handlers.wsgi in the dispatch.wsgi file.

 

the error in Cpanel log:

File does not exist: /home/spapp/public_html/500.shtml

File "/home/spapp/public_html/djangotest/dispatch.wsgi", line 13, in ?

mod_wsgi (pid=30587): Exception occurred processing WSGI script '/home/spapp/public_html/djangotest/dispatch.wsgi'.

mod_wsgi (pid=30587): Target WSGI script '/home/spapp/public_html/djangotest/dispatch.wsgi' cannot be loaded as Python module.

 

Any ideas?

 

my cpanel id: spapp

Thanks Laca

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...