Jump to content

Search the Community

Showing results for tags 'django'.

  • 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

  1. I can get djangotest running on my site, and I'd like to build on it to get my Django site up and running. I was able to go to "http://<mydomain>/djangotest" and the django page came up. However, I tried to give the djangotest directory a new name and edit the dispatch.wsgi to match the new name. When I went to "http://<mydomain>/<newname>", a server error page came up telling me that it couldn't find "/djangotest/dispatch.wsgi." Why is it thinking to look there? I don't know anything else that references it. Why didn't it go to the new directory name?
  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]
  3. domain name: prostyblog.heliohost.org username: jnktrine servername: johnny Hi Helio. I have the same (i think) problem as in this topic: http://www.helionet.org/index/topic/7255-dispatchwsgi-cannot-be-loaded-as-python-module/page__hl__djangotestdispatch.wsgi__fromsearch__1 error log: [Wed Mar 06 11:30:01 2013] [error] [client 79.185.145.212] File "/home/jnktrine/public_html/blog/dispatch.wsgi", line 5, in ? [Wed Mar 06 11:30:01 2013] [error] [client 79.185.145.212] mod_wsgi (pid=513): Exception occurred processing WSGI script '/home/jnktrine/public_html/blog/dispatch.wsgi'. [Wed Mar 06 11:30:01 2013] [error] [client 79.185.145.212] mod_wsgi (pid=513): Target WSGI script '/home/jnktrine/public_html/blog/dispatch.wsgi' cannot be loaded as Python module. line 5 is: import django.core.handlers.wsgi Could I please for help?
  4. Hello! I'm trying to deploy a simple django project on Stevie but after following all the instructions I only get a list with my public_html directory when I browse the site. I use Django 1.4 (http://stackoverflow.com/questions/12080657/how-to-deploy-a-django-site-using-a-different-version-of-django-on-heilohost) and python 2.6.5. Domain: olympus-housebuilder.gr, username:mapapage. Can anyone guide me through? Thanx!
  5. When I create a new django website, accessible from the tour is the 500 error, and then view the error log, appeared the following information:
  6. I have a simple test ruby file under my public cgi-bin folder, with 0755 permission and this code: #!/usr/bin/env ruby # HTTP response headers, including double newline print "Content-type: text/plain\n\n" # Contents print "Hello, world\n" but I get the same error message as with python: explained in my other post: http://www.helionet.org/index/topic/13547-django-not-working-500-internal-service-error/page__fromsearch__1 Look, i really want to use ruby and python to test my apps but it's getting really hard. There is no clear guide, or example on how to use django and ruby.
  7. Dear HelioHost, My username is - vaibhav1 My url is - www.gemsandu.com I have project in django ... and i've upload it through ftp client on heliohost sever (as described on http://www.heliohost.org/home/features/languages/python) but my url shows 500 Internal Server error... I am showing u, what i've done... my django project name is gemsandu 1) i've upload my django project under public_html dirctory --> public_html/gemsandu 2) .python_egg_cache folder created parallel with public_html with 777 permission 3) dispatch.wsgi file under public_html/gemsandu/dispatch.wsgi with 755 permission with this code -- import os, sys sys.path.append("/home/vaibhav1/public_html/gemsandu"); os.environ['DJANGO_SETTINGS_MODULE'] = 'gemsandu.settings' os.environ['PYTHON_EGG_CACHE'] = '/home/vaibhav1/.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) 4).htaccess file under public_html/gemsandu/.htaccess with 644 permission with this code -- RewriteEngine On RewriteBase / RewriteRule ^(static/.*)$ - [L] RewriteRule ^(sitestatic/.*)$ - [L] RewriteRule ^(media/.*)$ - [L] RewriteRule ^(admin_media/.*)$ - [L] RewriteRule ^(dispatch\.wsgi/.*)$ - [L] RewriteRule ^(.*)$ gemsandu/dispatch.wsgi/$1 [QSA,PT,L] After doing all this thing my django project not working ... Please help me out with this problem ...
  8. Hi, Im trying to setup my new django powered website. Im running into some problems while setting it up. I have followed all the guidlines mentioned in the Heliohost site. I am basically having the same issue as the one mentioned in this post. This is my error message: "Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@vinay.heliohost.org and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request." I tried the stuff mentioned there but couldnt resolve it, further the links mentioned in that post are non-existent now, so cant test it. I have also looked at the wiki article to use the try, except statements. But for some reason, I can see the error statements! Additionally, this is the exceprt of the error message in the error log. " File "/home/muttine2/public_html/personal_prjct/dispatch.wsgi", line 11, in application, referer: http://vinay.heliohost.org/ [Thu Aug 30 02:21:48 2012] [error] [client 99.74.38.192] mod_wsgi (pid=25564): Exception occurred processing WSGI script '/home/muttine2/public_html/personal_prjct/dispatch.wsgi'., referer: http://vinay.heliohost.org/" This is my dispatch.wsgi file content " try: import os, sys #sys.path.append("/home/muttine2/public_html/personal_prjct") sys.path.append("/home/muttine2/public_html/personal_prjct/personal_prjct") os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' os.environ['PYTHON_EGG_CACHE'] = '/home/muttine2/.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) 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] " Line 11 is the return statement I would greatly appreciate if some one could help me with this! Thanks in advance...
  9. Hi, I have successfully set up a very simple Django project, following the description here: http://www.heliohost.org/home/features/languages/python As a first test I am using a sqlite3 database that I have copied from my development environment, and I wanted to verify that I could access this database via the admin interface. I successfully logged on to it, however: the issue is that when the admin interface loads, it can not find any of the "admin-files" (js, css etc). My question is what is the correct reference to these files? I have tried to alter the ADMIN_MEDIA_PREFIX in the settings file, but so far with no success. Thanks! /eroteil
  10. Hello every one in this great forum. First, i am a new at web hosting and i wonder how to get .co.cc domain for my python/django web app hosted here Also, what URL do i have to type to get access to my web site, because i is 3 days that i am registered here and when i try to enter to my web site using this address : http://pydevstore.tk i got HELIOHOST ACCOUNT QUEUED For more information: my web site has a .tk domain and i already have an account at .co.cc and i just want to know how to set the configuration for the last one. Thanks in advance
  11. Hi, I am trying to setup a Django powered site, It was working perfectly on my local server using the default manage.py thing. However when Iam getting this error, "[Wed Jun 20 17:50:29 2012] [error] [client 216.171.4.28] File "/home/muttine2/public_html/BN_MV3/dispatch.wsgi", line 9, in application [Wed Jun 20 17:50:29 2012] [error] [client 216.171.4.28] mod_wsgi (pid=1290): Exception occurred processing WSGI script '/home/muttine2/public_html/BN_MV3/dispatch.wsgi'. " I have followed the instructions given here, and the previous questions here. I am pretty sure I did something wrong in setting up the path. Could you post the error log or if you could help me with the error.... Oh and I am trying to access my site here. My username is: muttine2 Domain: http://bnprojects.heliohost.org/ Thanks...
  12. Hi, I am hosting in Jhonny, and I need Django 1.4, this is possible? When I can use Django 1.4 please? I have my site all in Django 1.4 and I need that found in heliohost server.
  13. Hey, I'm trying to set up a Django project. After following the instructions at http://www.heliohost.org/home/features/languages/python, I get the following log errors: [Tue Apr 10 18:21:44 2012] [error] [client 24.12.201.147] File "/home/threeawg/public_html/cs411project/dispatch.wsgi", line 9, in application [Tue Apr 10 18:21:44 2012] [error] [client 24.12.201.147] mod_wsgi (pid=997): Exception occurred processing WSGI script '/home/threeawg/public_html/cs411project/dispatch.wsgi'. Could somebody assist me in figuring out the problem? Thanks, ThreeAWG
  14. I have finally been able to make my hello-world django-app run. But this is only running when the project package is removed everywhere: in settings.py: ROOT_URLCONF = 'urls' instead of 'PROJECT-NAME.urls', which I use in the development side. also in the urls.py, all the referred classes require to have the project package removed. I'm sure it must be possible to use the project package, too!?! Could anyone point me to where this might be changed?
×
×
  • Create New...