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 ?


Regards
Aldo Nievas |  SATIO Software Solutions
aldo.nie...@satio.com.ar
www.satio.com.ar
MSN: aldo.nie...@gmail.com
SKYPE: aldo.nievas


On Sat, Jun 5, 2010 at 12:49 PM, Jagdeep Singh Malhi <
singh.malh...@gmail.com> wrote:

>
> 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:  'PythonHandler'
> Handler:'django.core.handlers.modpython'
>
> Traceback (most recent call last):
>
>  File "/usr/lib/python2.6/dist-packages/mod_python/importer.py", line
> 1537, in HandlerDispatch
>default=default_handler, arg=req, silent=hlist.silent)
>
>  File "/usr/lib/python2.6/dist-packages/mod_python/importer.py", line
> 1229, in _process_target
>result = _execute_target(config, req, object, arg)
>
>  File "/usr/lib/python2.6/dist-packages/mod_python/importer.py", line
> 1128, in _execute_target
>result = object(arg)
>
>  File "/usr/local/lib/python2.6/dist-packages/django/core/handlers/
> modpython.py", line 228, in handler
>return ModPythonHandler()(req)
>
>  File "/usr/local/lib/python2.6/dist-packages/django/core/handlers/
> modpython.py", line 201, in __call__
>response = self.get_response(request)
>
>  File "/usr/local/lib/python2.6/dist-packages/django/core/handlers/
> base.py", line 130, in get_response
>return self.handle_uncaught_exception(request, resolver,
> sys.exc_info())
>
>  File "/usr/local/lib/python2.6/dist-packages/django/core/handlers/
> base.py", line 181, in handle_uncaught_exception
>return callback(request, **param_dict)
>
>  File "/usr/local/lib/python2.6/dist-packages/django/views/
> defaults.py", line 23, in server_error
>t = loader.get_template(template_name) # You need to create a
> 500.html template.
>
>  File "/usr/local/lib/python2.6/dist-packages/django/template/
> loader.py", line 157, in get_template
>template, origin = find_template(template_name)
>
>  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 ???
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



problems accessing to media.djangoproject.com - perhaps from argentina ?

2010-07-04 Thread Aldo Nievas
Hi
anone else have had problem with media.djangoproject.com ?

/.virtualenvs/site.com/bin# ./easy_install django
Searching for django
Reading http://pypi.python.org/simple/django/
Reading http://www.djangoproject.com/
Best match: Django 1.2.1
Downloading http://media.djangoproject.com/releases/1.2/Django-1.2.1.tar.gz
error: Download error for
http://media.djangoproject.com/releases/1.2/Django-1.2.1.tar.gz: [Errno 60]
Operation timed out
(site.com)macbookpro~/.virtualenvs/site.com/bin#

I'm also having problems accessing to www.djangoproject.com

ISP: telecentro

Regards.
Aldo

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.