Askbot misconfiguration

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


   Hello,

There seems to be some misconfiguration on one of the Askbot server host -> bastion01.phx2.fedoraproject.org.
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 fedoraproject.org. (just wanted to bring it to notice)

===

<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 117, in get_response
    response = middleware_method(request, e)

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

  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
===

Thank you.

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


More information about the infrastructure mailing list