MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.
Request Method: | GET |
---|---|
Request URL: | http://indiaenvironmentportal.org.in/category/8137/name_of_the_newspaper/asian-age-new-delhi/?page=1177 |
Django Version: | 1.6.5 |
Exception Type: | ResponseError |
Exception Value: | MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error. |
Exception Location: | /home/cseuser/env/iep/lib/python2.6/site-packages/redis/connection.py in read_response, line 316 |
Python Executable: | /home/cseuser/env/iep/bin/python2.6 |
Python Version: | 2.6.8 |
Python Path: | ['/home/cseuser/env/iep/bin', '/home/cseuser/env/iep/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg', '/home/cseuser/env/iep/lib/python2.6/site-packages/pip-1.3.1-py2.6.egg', '/home/cseuser/sites/iep/apps', '/home/cseuser/sites/iep/lib', '/home/cseuser/env/iep/lib64/python26.zip', '/home/cseuser/env/iep/lib64/python2.6', '/home/cseuser/env/iep/lib64/python2.6/plat-linux2', '/home/cseuser/env/iep/lib64/python2.6/lib-tk', '/home/cseuser/env/iep/lib64/python2.6/lib-old', '/home/cseuser/env/iep/lib64/python2.6/lib-dynload', '/usr/lib64/python2.6', '/usr/lib/python2.6', '/home/cseuser/env/iep/lib/python2.6/site-packages'] |
Server time: | Thu, 11 Apr 2024 02:39:04 +0530 |
/home/cseuser/env/iep/lib/python2.6/site-packages/django/core/handlers/base.py
in get_response
response = middleware_method(request, callback, callback_args, callback_kwargs)
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
response = wrapped_callback(request, *callback_args, **callback_kwargs)...
except Exception as e:
# If the view raised an exception, run it through exception
# middleware, and if the exception middleware returns a
# response, use that. Otherwise, reraise the exception.
for middleware_method in self._exception_middleware:
response = middleware_method(request, e)
Variable | Value |
---|---|
e | ResponseError('MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.',) |
callback_args | () |
resolver_match | ResolverMatch(func=<function CategoryListView at 0x152c46e0>, args=(), kwargs={'term_slug': u'asian-age-new-delhi', 'vocabulary_slug': u'name_of_the_newspaper', 'pk': u'8137'}, url_name='taxonomy-term', app_name='None', namespace='') |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x1506f190>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x14eb2ed0> |
request | "<WSGIRequest\npath:/category/8137/name_of_the_newspaper/asian-age-new-delhi/,\nGET:<QueryDict: {u'page': [u'1177']}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{u'CSRF_COOKIE': u's9SN6hBL3yiG62YfBUHsW4aP23yDTFfz',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_CONNECTION': 'close',\n 'HTTP_HOST': 'indiaenvironmentportal.org.in',\n 'HTTP_USER_AGENT': 'claudebot',\n 'HTTP_X_FORWARDED_FOR': '54.242.220.142',\n 'PATH_INFO': u'/category/8137/name_of_the_newspaper/asian-age-new-delhi/',\n 'QUERY_STRING': 'page=1177',\n 'RAW_URI': '/category/8137/name_of_the_newspaper/asian-age-new-delhi/?page=1177',\n 'REMOTE_ADDR': '54.242.220.142',\n 'REMOTE_PORT': '80',\n 'REQUEST_METHOD': 'GET',\n 'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'indiaenvironmentportal.org.in',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.0',\n 'SERVER_SOFTWARE': 'gunicorn/18.0',\n 'gunicorn.socket': <socket._socketobject object at 0x13b9e980>,\n 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x2b22e8cd81e0>,\n 'wsgi.file_wrapper': <class gunicorn.http.wsgi.FileWrapper at 0x137cb7d0>,\n 'wsgi.input': <gunicorn.http.body.Body object at 0x15f11850>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
callback | <function CategoryListView at 0x152c46e0> |
wrapped_callback | <function CategoryListView at 0x152c46e0> |
resolver | <RegexURLResolver 'iep_site.urls' (None:None) ^/> |
callback_kwargs | {'pk': u'8137', 'term_slug': u'asian-age-new-delhi', 'vocabulary_slug': u'name_of_the_newspaper'} |
response | None |
urlconf | 'iep_site.urls' |
/home/cseuser/env/iep/lib/python2.6/site-packages/django/views/generic/base.py
in view
def view(request, *args, **kwargs):
self = cls(**initkwargs)
if hasattr(self, 'get') and not hasattr(self, 'head'):
self.head = self.get
self.request = request
self.args = args
self.kwargs = kwargs
return self.dispatch(request, *args, **kwargs)...
# take name and docstring from class
update_wrapper(view, cls, updated=())
# and possible attributes set by decorators
# like csrf_exempt from dispatch
Variable | Value |
---|---|
initkwargs | {} |
self | <iep.views.CategoryListView object at 0x15f11350> |
args | () |
request | "<WSGIRequest\npath:/category/8137/name_of_the_newspaper/asian-age-new-delhi/,\nGET:<QueryDict: {u'page': [u'1177']}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{u'CSRF_COOKIE': u's9SN6hBL3yiG62YfBUHsW4aP23yDTFfz',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_CONNECTION': 'close',\n 'HTTP_HOST': 'indiaenvironmentportal.org.in',\n 'HTTP_USER_AGENT': 'claudebot',\n 'HTTP_X_FORWARDED_FOR': '54.242.220.142',\n 'PATH_INFO': u'/category/8137/name_of_the_newspaper/asian-age-new-delhi/',\n 'QUERY_STRING': 'page=1177',\n 'RAW_URI': '/category/8137/name_of_the_newspaper/asian-age-new-delhi/?page=1177',\n 'REMOTE_ADDR': '54.242.220.142',\n 'REMOTE_PORT': '80',\n 'REQUEST_METHOD': 'GET',\n 'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'indiaenvironmentportal.org.in',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.0',\n 'SERVER_SOFTWARE': 'gunicorn/18.0',\n 'gunicorn.socket': <socket._socketobject object at 0x13b9e980>,\n 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x2b22e8cd81e0>,\n 'wsgi.file_wrapper': <class gunicorn.http.wsgi.FileWrapper at 0x137cb7d0>,\n 'wsgi.input': <gunicorn.http.body.Body object at 0x15f11850>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
kwargs | {'pk': u'8137', 'term_slug': u'asian-age-new-delhi', 'vocabulary_slug': u'name_of_the_newspaper'} |
cls | <class 'iep.views.CategoryListView'> |
/home/cseuser/env/iep/lib/python2.6/site-packages/django/views/generic/base.py
in dispatch
# Try to dispatch to the right method; if a method doesn't exist,
# defer to the error handler. Also defer to the error handler if the
# request method isn't on the approved list.
if request.method.lower() in self.http_method_names:
handler = getattr(self, request.method.lower(), self.http_method_not_allowed)
else:
handler = self.http_method_not_allowed
return handler(request, *args, **kwargs)...
def http_method_not_allowed(self, request, *args, **kwargs):
logger.warning('Method Not Allowed (%s): %s', request.method, request.path,
extra={
'status_code': 405,
'request': self.request
Variable | Value |
---|---|
self | <iep.views.CategoryListView object at 0x15f11350> |
handler | <bound method CategoryListView.get of <iep.views.CategoryListView object at 0x15f11350>> |
request | "<WSGIRequest\npath:/category/8137/name_of_the_newspaper/asian-age-new-delhi/,\nGET:<QueryDict: {u'page': [u'1177']}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{u'CSRF_COOKIE': u's9SN6hBL3yiG62YfBUHsW4aP23yDTFfz',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_CONNECTION': 'close',\n 'HTTP_HOST': 'indiaenvironmentportal.org.in',\n 'HTTP_USER_AGENT': 'claudebot',\n 'HTTP_X_FORWARDED_FOR': '54.242.220.142',\n 'PATH_INFO': u'/category/8137/name_of_the_newspaper/asian-age-new-delhi/',\n 'QUERY_STRING': 'page=1177',\n 'RAW_URI': '/category/8137/name_of_the_newspaper/asian-age-new-delhi/?page=1177',\n 'REMOTE_ADDR': '54.242.220.142',\n 'REMOTE_PORT': '80',\n 'REQUEST_METHOD': 'GET',\n 'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'indiaenvironmentportal.org.in',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.0',\n 'SERVER_SOFTWARE': 'gunicorn/18.0',\n 'gunicorn.socket': <socket._socketobject object at 0x13b9e980>,\n 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x2b22e8cd81e0>,\n 'wsgi.file_wrapper': <class gunicorn.http.wsgi.FileWrapper at 0x137cb7d0>,\n 'wsgi.input': <gunicorn.http.body.Body object at 0x15f11850>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
args | () |
kwargs | {'pk': u'8137', 'term_slug': u'asian-age-new-delhi', 'vocabulary_slug': u'name_of_the_newspaper'} |
/home/cseuser/env/iep/lib/python2.6/site-packages/django/views/generic/list.py
in get
and hasattr(self.object_list, 'exists')):
is_empty = not self.object_list.exists()
else:
is_empty = len(self.object_list) == 0
if is_empty:
raise Http404(_("Empty list and '%(class_name)s.allow_empty' is False.")
% {'class_name': self.__class__.__name__})
context = self.get_context_data()...
return self.render_to_response(context)
class MultipleObjectTemplateResponseMixin(TemplateResponseMixin):
"""
Mixin for responding with a template and list of objects.
Variable | Value |
---|---|
self | <iep.views.CategoryListView object at 0x15f11350> |
args | () |
request | "<WSGIRequest\npath:/category/8137/name_of_the_newspaper/asian-age-new-delhi/,\nGET:<QueryDict: {u'page': [u'1177']}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{u'CSRF_COOKIE': u's9SN6hBL3yiG62YfBUHsW4aP23yDTFfz',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_CONNECTION': 'close',\n 'HTTP_HOST': 'indiaenvironmentportal.org.in',\n 'HTTP_USER_AGENT': 'claudebot',\n 'HTTP_X_FORWARDED_FOR': '54.242.220.142',\n 'PATH_INFO': u'/category/8137/name_of_the_newspaper/asian-age-new-delhi/',\n 'QUERY_STRING': 'page=1177',\n 'RAW_URI': '/category/8137/name_of_the_newspaper/asian-age-new-delhi/?page=1177',\n 'REMOTE_ADDR': '54.242.220.142',\n 'REMOTE_PORT': '80',\n 'REQUEST_METHOD': 'GET',\n 'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'indiaenvironmentportal.org.in',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.0',\n 'SERVER_SOFTWARE': 'gunicorn/18.0',\n 'gunicorn.socket': <socket._socketobject object at 0x13b9e980>,\n 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x2b22e8cd81e0>,\n 'wsgi.file_wrapper': <class gunicorn.http.wsgi.FileWrapper at 0x137cb7d0>,\n 'wsgi.input': <gunicorn.http.body.Body object at 0x15f11850>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
allow_empty | True |
kwargs | {'pk': u'8137', 'term_slug': u'asian-age-new-delhi', 'vocabulary_slug': u'name_of_the_newspaper'} |
/home/cseuser/sites/iep/apps/iep/views.py
in get_context_data
try:
context['promoted_content'] = SearchQuerySet().filter(bs_promote=True).narrow('im_content_tags:'+self.kwargs['pk']).order_by('-ds_publication_date')[0]
except IndexError:
pass
context['feed_url'] = reverse('category-rss-feed', args=[self.kwargs['pk'], context['term'].slug])
context['social_url'] = context['term'].get_social_url()
context['canonical_url'] = context['term'].get_absolute_url()...
try:
context['page'] = context['page_obj']
except KeyError:
pass
Variable | Value |
---|---|
self | <iep.views.CategoryListView object at 0x15f11350> |
context | {'facets': {'dates': {}, 'fields': {u'bundle': [(u'node_newsclipping', 12198)], u'tid': [(u'8137', 12198), (u'1937', 6275), (u'1956', 5666), (u'1', 4227), (u'1966', 3247), (u'4062', 2825), (u'4293', 2747), (u'4115', 2502), (u'9790', 2254), (u'3745', 1945), (u'2877', 1516), (u'2662', 1337), (u'36', 1111), (u'3812', 1083), (u'2155', 981), (u'3814', 965), (u'28', 900), (u'1276', 850), (u'3544', 832), (u'1277', 791), (u'2185', 765), (u'171', 753), (u'3703', 714), (u'1980', 702), (u'1639', 671), (u'4546', 655), (u'56', 648), (u'2189', 623), (u'58', 549), (u'388', 546), (u'1218', 482), (u'1972', 476), (u'2040', 463), (u'325', 408), (u'3804', 395), (u |