Askbot misconfiguration

P J P pj.pandit at
Sun Jan 20 03:40:12 UTC 2013


There seems to be some misconfiguration on one of the Askbot server host ->
I guess the LANGUAGE_CODE variable is undefined. This is causing it to send lots of "Undelivered Mail Returned to Sender" messages to askfedora at (just wanted to bring it to notice)


<your_email at>: host[] 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/", line 117, in get_response
    response = middleware_method(request, e)

  File "/usr/lib/python2.6/site-packages/askbot/middleware/", line 57, in process_exception
    return HttpResponse(template.render(RequestContext(request)))

  File "/usr/lib/python2.6/site-packages/django/template/", line 173, in __init__

  File "/usr/lib/python2.6/site-packages/askbot/", line 16, in application_settings
    my_settings['LANGUAGE_CODE'] = getattr(request, 'LANGUAGE_CODE', settings.LANGUAGE_CODE)

TypeError: 'NoneType' object does not support item assignment

Thank you.


More information about the infrastructure mailing list