Re: first time deploying django on apache with mod_python on fedora 8

2011-01-28 Thread ashwoods
is there any reason you are using mod_python instead of, say, wsgi? modpython is deprecated and there are "better" alternatives. id start with that. looking in apache logs to find out why you have the 500 error might help. (a hunch tells me it might be a python path error) ash On 28 Jan., 07:45,

first time deploying django on apache with mod_python on fedora 8

2011-01-28 Thread n0h8dy
Hi, I'm trying to get my first Django app up and running on amazon ec2 fedora 8 instance on apache with mod_python. I've got mod_python MySQL- python python-devel Django mysql-server installed. I've got the homepage to show up, but its a very simple view that just returns text. Anything more

Re: error : Django with Apache and mod_python

2010-06-06 Thread Aldo Nievas
File "/usr/local/lib/python2.6/dist-packages/django/template/ loader.py", line 138, in find_template raise TemplateDoesNotExist(name) TemplateDoesNotExist: 500.html please help what I can do ??? or TEMPLATE_DIRS has not been defined well. How TEMPLATE_DIRS looks like ?

Re: Django with Apache and mod_python

2010-06-06 Thread Justin Myers
It says you're missing a 500.html template. Without it, you can't see any error pages. See http://docs.djangoproject.com/en/dev/topics/http/views/#the-500-server-error-view Once you've made that template, you should be able to see what other errors are happening. -Justin On Jun 6, 12:16 am,

Re: Django with Apache and mod_python

2010-06-05 Thread Jagdeep Singh Malhi
ok sir , thanks very much indeed i try my best.. On Jun 6, 8:52 am, Kenneth Gonsalves wrote: > On Sunday 06 June 2010 09:12:30 Jagdeep Singh Malhi wrote: > > > Sir  , i am  not able to remove this error.. > > which of template or file name is wrong.. > > how

Re: Django with Apache and mod_python

2010-06-05 Thread Kenneth Gonsalves
On Sunday 06 June 2010 09:12:30 Jagdeep Singh Malhi wrote: > Sir , i am not able to remove this error.. > which of template or file name is wrong.. > how would I know? I know nothing about your directory structure, your models and views. -- Regards Kenneth Gonsalves Senior

Re: error : Django with Apache and mod_python

2010-06-05 Thread Jagdeep Singh Malhi
i am not able to configure "Apache and mod_wsgi". http://docs.djangoproject.com/en/dev/howto/deployment/modwsgi/#howto-deployment-modwsgi I am unable to understand this .. please help .. if possible... i also want to use this.. On Jun 5, 10:09 pm, Vasil Vangelovski

Re: Django with Apache and mod_python

2010-06-05 Thread Jagdeep Singh Malhi
Sir , i am not able to remove this error.. which of template or file name is wrong.. On Jun 5, 5:09 pm, Kenneth Gonsalves wrote: > On Saturday 05 June 2010 17:25:16 Jagdeep Singh Malhi wrote: > > >   File "/usr/local/lib/python2.6/dist-packages/django/template/ >

Re: Django with Apache and mod_python

2010-06-05 Thread Raffaele Salmaso
Jagdeep Singh Malhi wrote: > MOD_PYTHON ERROR > please help... use mod_wsgi, mod_python is old and not more mantained http://docs.djangoproject.com/en/dev/howto/deployment/modwsgi/#howto-deployment-modwsgi -- ()_() | That said, I didn't actually _test_ my patch. | + (o.o) | That's

Re: Django with Apache and mod_python

2010-06-05 Thread Kenneth Gonsalves
On Saturday 05 June 2010 17:25:16 Jagdeep Singh Malhi wrote: > File "/usr/local/lib/python2.6/dist-packages/django/template/ > loader.py", line 138, in find_template > raise TemplateDoesNotExist(name) > > TemplateDoesNotExist: 500.html > you are calling a template with either the wrong

Re: error : Django with Apache and mod_python

2010-06-05 Thread Vasil Vangelovski
It seems that your application is trying to render a template that doesn't exist. And why are you using mod_python anyway? On Sat, Jun 5, 2010 at 5:49 PM, Jagdeep Singh Malhi wrote: > > MOD_PYTHON ERROR > > ProcessId:      3219 > Interpreter:    '127.0.1.1' > >

Re: Django with Apache and mod_python

2010-06-05 Thread Jagdeep Singh Malhi
Thanks very much But Now the new are is come MOD_PYTHON ERROR ProcessId: 3219 Interpreter:'127.0.1.1' ServerName: '127.0.1.1' DocumentRoot: '/var/www' URI:'/' Location: '/' Directory: None Filename: '/var/www/' PathInfo: '' Phase:

Re: Django with Apache and mod_python

2010-06-05 Thread Kenneth Gonsalves
On Saturday 05 June 2010 16:30:46 Jagdeep Singh Malhi wrote: > PythonPath "['/home/username/mysite'] + sys.path" > PythonPath "['/home/username/'] + sys.path" -- Regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KBC -- You received this message because you are subscribed to the Google

Re: Django on apache and mod_python.... and problems

2008-06-22 Thread foxbunny
On Jun 22, 5:59 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > I'm assuming you have papastudio.blog listed in INSTALLED_APPS? > > Does apache have read access to the whole tree under  /papastudio, including > blog?  It seems apache can read /papastudio, otherwise you'd get an > 'ImportError: No

Re: Django on apache and mod_python.... and problems

2008-06-21 Thread Will Larson
Hi, > The summary of error messages is this: > >> AttributeError: 'module' object has no attribute 'blog' > > I've made sure that /papastudio/blog has __init.py__, and that it's > listed in INSTALLED_APPS (which is logical since the site actually > works if I ./manage.py runserver). Did you

Re: Django on apache and mod_python.... and problems

2008-06-21 Thread Karen Tracey
On Sat, Jun 21, 2008 at 9:02 PM, foxbunny <[EMAIL PROTECTED]> wrote: > > Hi, list, > > I'm trying to deploy a very simple Django app, and it's driving me > crazy. I've followed the docs and set up Apache with mod_python. Then > I uploaded the app, did syncdb, and everything works when I ./ >

Django on apache and mod_python.... and problems

2008-06-21 Thread foxbunny
Hi, list, I'm trying to deploy a very simple Django app, and it's driving me crazy. I've followed the docs and set up Apache with mod_python. Then I uploaded the app, did syncdb, and everything works when I ./ manage.py runserver on the remote host, but httpd won't serve it. I'm using Django

Re: Problems with setup of Django with Apache and mod_python

2006-05-13 Thread Gunnar Wegner
Hello, I found the solution: Phil was right in supposing that the apache user did not have access to the directories that my project is located in. A simple 'chmod o+rx -R' on the parent project directory solved my problem. Have a nice weekend, Gunnar :) Am Freitag, 12. Mai 2006 16:11

Re: Problems with setup of Django with Apache and mod_python

2006-05-12 Thread Phil Powell
Hi Gunnar,I had a few issues when setting up my first Django project through mod_python, the main tricky bit being the setup of the correct PythonPath variable.  However, seems you've got that right.The only other thing I can think of is that Apache doesn't have permission to access your Django

Problems with setup of Django with Apache and mod_python

2006-05-12 Thread Gunnar Wegner
Dear group, sorry for starting another thread on this issue. I am both new to Python and Django. - I have been trying for two days now to transfer a little sample project from the development server to Apache (2.0.54) with mod_python (3.2.8) on OpenSuSE 10.0; following exactly(?) the