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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



   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@xxxxxxxxxxxxxxxxx>
> To: askfedora@xxxxxxxxxxxxxxxxx
> 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@xxxxxxxxxx>: 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@xxxxxxxxxxxxxxxxx',
> '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)}>
> 
--- Begin Message ---
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@xxxxxxxxxxxxxxxxx',
 '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)}>

--- End Message ---
_______________________________________________
infrastructure mailing list
infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/infrastructure

[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux