Askbot misconfiguration - [Fw: Undelivered Mail Returned to Sender]

P J P pj.pandit at yahoo.co.in
Mon Jan 21 18:12:35 UTC 2013


   Hi,

I'm still receiving these error mails from one of the askbot server - bastion01.phx2.fedoraproject.org.  From the message it seems like it needs definition for the - LANGUAGE_CODE - variable.

Could someone help me fix it?

Thank you.

---
Regards
   -Prasad
http://feedmug.com


----- Forwarded Message -----
> From: Mail Delivery System <MAILER-DAEMON at fedoraproject.org>
> To: askfedora at fedoraproject.org
> Sent: Monday, 21 January 2013 3:03 PM
> Subject: Undelivered Mail Returned to Sender
> 
> ----- Forwarded Message -----
> 
> This is the mail system at host bastion01.phx2.fedoraproject.org.
> 
> <your_email at domain.com>: host sentry.domainbank.com[64.85.73.28] said: 505
>     5.0.0 User unknown (in reply to RCPT TO command)
> Traceback (most recent call last):
> 
>   File 
> "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line 
> 150, in get_response
>     response = callback(request, **param_dict)
> 
>   File "/usr/lib/python2.6/site-packages/django/utils/decorators.py", 
> line 93, in _wrapped_view
>     response = view_func(request, *args, **kwargs)
> 
>   File "/usr/lib/python2.6/site-packages/django/views/defaults.py", 
> line 19, in page_not_found
>     return http.HttpResponseNotFound(t.render(RequestContext(request, 
> {'request_path': request.path})))
> 
>   File "/usr/lib/python2.6/site-packages/django/template/context.py", 
> line 173, in __init__
>     self.update(processor(request))
> 
>   File "/usr/lib/python2.6/site-packages/askbot/context.py", line 16, 
> in application_settings
>     my_settings['LANGUAGE_CODE'] = getattr(request, 
> 'LANGUAGE_CODE', settings.LANGUAGE_CODE)
> 
> TypeError: 'NoneType' object does not support item assignment
> 
> 
> <WSGIRequest
> GET:<QueryDict: {}>,
> POST:<QueryDict: {}>,
> COOKIES:{},
> META:{'CSRF_COOKIE': 'a549a3862f2fbd015a7ff04658c90b8b',
> 'DOCUMENT_ROOT': '/var/www/html',
> 'GATEWAY_INTERFACE': 'CGI/1.1',
> 'HTTP_ACCEPT': 
> 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
> 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
> 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5',
> 'HTTP_DNT': '1',
> 'HTTP_HOST': 'ask01',
> 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Linux x86_64; rv:18.0) 
> Gecko/20100101 Firefox/18.0',
> 'HTTP_X_FORWARDED_FOR': '203.186.162.219',
> 'HTTP_X_FORWARDED_HOST': 'ask.fedoraproject.org',
> 'HTTP_X_FORWARDED_SERVER': 'ask.fedoraproject.org',
> 'PATH_INFO': u'/favicon.ico',
> 'PATH_TRANSLATED': '/usr/sbin/askbot.wsgi/favicon.ico',
> 'QUERY_STRING': '',
> 'REMOTE_ADDR': '192.168.1.7',
> 'REMOTE_PORT': '35218',
> 'REQUEST_METHOD': 'GET',
> 'REQUEST_URI': '/favicon.ico',
> 'SCRIPT_FILENAME': '/usr/sbin/askbot.wsgi',
> 'SCRIPT_NAME': u'',
> 'SERVER_ADDR': '192.168.1.51',
> 'SERVER_ADMIN': 'admin at fedoraproject.org',
> 'SERVER_NAME': 'ask01',
> 'SERVER_PORT': '80',
> 'SERVER_PROTOCOL': 'HTTP/1.0',
> 'SERVER_SIGNATURE': '<address>Apache/2.2.15 (Red Hat) Server 
> at ask01 Port 80</address>\n',
> 'SERVER_SOFTWARE': 'Apache/2.2.15 (Red Hat)',
> 'mod_wsgi.application_group': '',
> 'mod_wsgi.callable_object': 'application',
> 'mod_wsgi.handler_script': '',
> 'mod_wsgi.input_chunked': '0',
> 'mod_wsgi.listener_host': '0.0.0.0',
> 'mod_wsgi.listener_port': '80',
> 'mod_wsgi.process_group': 'askbot',
> 'mod_wsgi.request_handler': 'wsgi-script',
> 'mod_wsgi.script_reloading': '1',
> 'mod_wsgi.version': (3, 2),
> 'wsgi.errors': <mod_wsgi.Log object at 0xb40aaed0>,
> 'wsgi.file_wrapper': <built-in method file_wrapper of 
> mod_wsgi.Adapter object at 0xb410d848>,
> 'wsgi.input': <mod_wsgi.Input object at 0xb411acc8>,
> 'wsgi.multiprocess': True,
> 'wsgi.multithread': False,
> 'wsgi.run_once': False,
> 'wsgi.url_scheme': 'http',
> 'wsgi.version': (1, 1)}>
> 
-------------- next part --------------
An embedded message was scrubbed...
From: askfedora at fedoraproject.org
Subject: ERROR (EXTERNAL IP): Internal Server Error: /favicon.ico
Date: Mon, 21 Jan 2013 09:33:44 -0000
Size: 3500
URL: <http://lists.fedoraproject.org/pipermail/infrastructure/attachments/20130122/e5bb02c5/attachment.mht>


More information about the infrastructure mailing list