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,
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
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 ?
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,
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
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
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
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/
>
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
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
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'
>
>
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:
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
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
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
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 ./
>
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
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
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
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
20 matches
Mail list logo