Hi,
I'm trying to test thummer on my ubuntu 10.04 server machine, but i got this error : ProcessId: 3635 Interpreter: 'test.test.com' ServerName: 'test.test.com' DocumentRoot: '/var/www/thummer/thummer' URI: '/300/300/1/http://news.bbc.co.uk/' Location: None Directory: '/var/www/thummer/thummer/' Filename: '/var/www/thummer/thummer/300' PathInfo: '/300/1/http:/news.bbc.co.uk/' 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/lib/pymodules/python2.6/django/core/handlers/ modpython.py", line 228, in handler return ModPythonHandler()(req) File "/usr/lib/pymodules/python2.6/django/core/handlers/ modpython.py", line 201, in __call__ response = self.get_response(request) File "/usr/lib/pymodules/python2.6/django/core/handlers/base.py", line 134, in get_response return self.handle_uncaught_exception(request, resolver, exc_info) File "/usr/lib/pymodules/python2.6/django/core/handlers/base.py", line 166, in handle_uncaught_exception return callback(request, **param_dict) File "/usr/lib/pymodules/python2.6/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/lib/pymodules/python2.6/django/template/loader.py", line 81, in get_template source, origin = find_template_source(template_name) File "/usr/lib/pymodules/python2.6/django/template/loader.py", line 74, in find_template_source raise TemplateDoesNotExist, name TemplateDoesNotExist: 500.html I don't understand what is wrong, i google it, it seems that mod_python can't access to the thummer application ? " You're seeing this particular traceback because an internal error occurred and you don't have a template for displaying the "internal server error" message -- when DEBUG is True, Django does this on the fly for you to display the traceback, but when DEBUG is False you must create a template named '500.html' to display on an internal error (called '500.html', because 500 is the HTTP status code for an internal server error). If you look at the traceback you'll see a line which says "You need to create a 500.html template", and the final line is telling you Django could not find that template. " But my python path is : PythonPath "['/var/www/thummer'] + sys.path" and on the folder /var/www/thummer : COPYING database/ media/ templates/ 404.html admin/ base.html thumbs/ thummer/ And finally my example config : <VirtualHost 172.17.100.10:80> ErrorLog /var/log/apache2/error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog /var/log/apache2/access.log combined DocumentRoot /var/www/thummer/thummer <Directory "/var/www/thummer/thummer"> AllowOverride All Order Allow,Deny Allow from All SetHandler python-program PythonHandler django.core.handlers.modpython SetEnv DJANGO_SETTINGS_MODULE thummer.settings PythonDebug On PythonPath "['/var/www/thummer'] + sys.path" </Directory> # Static Media Content Alias /media /var/www/thummer/media <Location "/media"> SetHandler None Order Allow,Deny Allow from All </Location> Alias /admin-media /usr/share/python-support/python-django/django/ contrib/admin/media <Location "/admin-media"> SetHandler None Order Allow,Deny Allow from All </Location> </VirtualHost> So what is wrong ? thanks for the help, -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@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.