Jump to content

Search the Community

Showing results for tags 'dispatch.wsgi'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General Discussion
    • Website Management and Coding
    • Technology and the Internet
    • Philosophy, Politics, and Science
    • Art and Entertainment
    • Other Discussion
  • HelioHost
    • Questions
    • Customer Service
    • How You Can Help
  • HelioNet
    • News
    • Contact HelioNet

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 2 results

  1. Hi! I am using django for my website on Tommy and I am having troubles with this Internal Server Error. I already had this kind of problems in the past but this time I am struggling to find a solution. It seems to be something with the dispatch.wsgi file. This are the errors that appear in the c-panel: [Sun Feb 17 21:50:30.387082 2019] [core:info] [pid 29170:tid 140379588355840] [client 93.34.147.76:13708] AH00128: File does not exist: /home1/formigol/public_html/500.shtml, referer: http://www.colouredsweat.heliohost.org/ [Sun Feb 17 21:50:30.386425 2019] [wsgi:error] [pid 29170:tid 140379588355840] [client 93.34.147.76:13708] File "/home1/formigol/public_html/colswe2/dispatch.wsgi", line 21, in <module>, referer: http://www.colouredsweat.heliohost.org/ [Sun Feb 17 21:50:30.384893 2019] [wsgi:error] [pid 29170:tid 140379588355840] [client 93.34.147.76:13708] mod_wsgi (pid=29170): Exception occurred processing WSGI script '/home1/formigol/public_html/colswe2/dispatch.wsgi'., referer: http://www.colouredsweat.heliohost.org/ [Sun Feb 17 21:50:30.384637 2019] [wsgi:error] [pid 29170:tid 140379588355840] [client 93.34.147.76:13708] mod_wsgi (pid=29170): Target WSGI script '/home1/formigol/public_html/colswe2/dispatch.wsgi' cannot be loaded as Python module., referer: http://www.colouredsweat.heliohost.org/ [Sun Feb 17 21:50:30.374405 2019] [wsgi:info] [pid 29170:tid 140379588355840] [client 93.34.147.76:13708] mod_wsgi (pid=29170, process='', application='colouredsweat.heliohost.org|/colswe2/dispatch.wsgi'): Loading WSGI script '/home1/formigol/public_html/colswe2/dispatch.wsgi'., referer: http://www.colouredsweat.heliohost.org/ Thanks in advance for your help!
  2. I have tried to follow the guidelines for uploading a django project to my account, and I have tried to follow the wiki's guide to debug the dispatch.wsgi file, but I don't seem to be getting any productive feedback. The site was working on the django 1.3.7 development server. Ideally, an index.html page powered by django would appear at <http://www.8bitphotos.com>, but only a directory index appears. I hit "500 Internal Server Error" when trying to access <http://www.8bitphoto...eightbitphotos/>, in which my project files are saved. What do I need in order to get things running smoothly?? I've tried things from other forum topics but without any luck. Thanks for any help you can provide. username: dvance error log after trying to access <http://www.8bitphoto...eightbitphotos/>: [sat May 11 19:12:58 2013] [error] [client 76.27.60.233] File does not exist: /home1/dvance/public_html/404.shtml [sat May 11 19:12:58 2013] [error] [client 76.27.60.233] File does not exist: /home1/dvance/public_html/favicon.ico [sat May 11 19:12:58 2013] [error] [client 76.27.60.233] File does not exist: /home1/dvance/public_html/500.shtml, referer: http://www.8bitphotos.com/ [sat May 11 19:12:58 2013] [error] [client 76.27.60.233] File "/home1/dvance/public_html/eightbitphotos/dispatch.wsgi", line 13, in application, referer: http://www.8bitphotos.com/ [sat May 11 19:12:58 2013] [error] [client 76.27.60.233] mod_wsgi (pid=20162): Exception occurred processing WSGI script '/home1/dvance/public_html/eightbitphotos/dispatch.wsgi'., referer: http://www.8bitphotos.com/ dispatch.wsgi file: try: import os, sys sys.path.append("/home1/dvance/public_html/eightbitphotos"); os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' os.environ['PYTHON_EGG_CACHE'] = '/home/dvance/.python_egg_cache' import django.core.handlers.wsgi _application = django.core.handlers.wsgi.WSGIHandler() def application(environ, start_response): environ['PATH_INFO'] = environ['SCRIPT_NAME'] + environ['PATH_INFO'] return _application(environ, start_response) ### line 13 except: import traceback trace = traceback.format_exc() def application(environ, start_response): status = '500 Internal Server Error' output = trace response_headers = [('Content-type', 'text/plain'), ('Content-Length', str(len(output)))] start_response(status, response_headers) return [output]
×
×
  • Create New...