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://sa.indiaenvironmentportal.org.in/content/468510/order-of-the-national-green-tribunal-regarding-disposal-of-sewage-water-at-village-kot-khurd-jalandhar-punjab-11092020/?page= |
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:35:27 +0530 |
In template /home/cseuser/sites/iep/apps/iep/templates/iep/resources_dropdown.html
, error at line 8
1 | <ul> |
---|---|
2 | <li class="left-box"> |
3 | <ul> |
4 | <li> |
5 | <h4>Feature Articles</h4> |
6 | <p> |
7 | {%for node in feature_articles%} |
8 | <a href="{{node.object.url}}">{{node.label|safe}}</a> |
9 | {%endfor%} |
10 | </p> |
11 | <p><a href="/search/?q=&selected_facets=bundle:node_feature_article">More »</a></p> |
12 | </li> |
13 | <li> |
14 | <h4>Data, Statistics & Infographics</h4> |
15 | {%for node in data_statistics%} |
16 | <a href="{{node.object.url}}">{{node.label|safe}}</a> |
17 | {%endfor%} |
18 | <p><a href="/search/?q=&selected_facets=bundle:node_data_statistics">More »</a></p> |
/home/cseuser/env/iep/lib/python2.6/site-packages/django/core/handlers/base.py
in get_response
raise ValueError("The view %s.%s didn't return an HttpResponse object." % (callback.__module__, view_name))
# If the response supports deferred rendering, apply template
# response middleware and then render the response
if hasattr(response, 'render') and callable(response.render):
for middleware_method in self._template_response_middleware:
response = middleware_method(request, response)
response = response.render()...
except http.Http404 as e:
logger.warning('Not Found: %s', request.path,
extra={
'status_code': 404,
'request': request
Variable | Value |
---|---|
callback_args | () |
resolver_match | ResolverMatch(func=<function ContentView at 0x152cfaa0>, args=(), kwargs={'pk': u'468510', 'slug': u'order-of-the-national-green-tribunal-regarding-disposal-of-sewage-water-at-village-kot-khurd-jalandhar-punjab-11092020'}, url_name='content-page', app_name='None', namespace='') |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x1506c110>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x14642190> |
request | "<WSGIRequest\npath:/content/468510/order-of-the-national-green-tribunal-regarding-disposal-of-sewage-water-at-village-kot-khurd-jalandhar-punjab-11092020/,\nGET:<QueryDict: {u'page': [u'']}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{u'CSRF_COOKIE': u'NesugCcVtWMY3GCSmxFarVnHqakaRy8Z',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_CONNECTION': 'close',\n 'HTTP_HOST': 'sa.indiaenvironmentportal.org.in',\n 'HTTP_USER_AGENT': 'claudebot',\n 'HTTP_X_FORWARDED_FOR': '54.242.220.142',\n 'PATH_INFO': u'/content/468510/order-of-the-national-green-tribunal-regarding-disposal-of-sewage-water-at-village-kot-khurd-jalandhar-punjab-11092020/',\n 'QUERY_STRING': 'page=',\n 'RAW_URI': '/content/468510/order-of-the-national-green-tribunal-regarding-disposal-of-sewage-water-at-village-kot-khurd-jalandhar-punjab-11092020/?page=',\n 'REMOTE_ADDR': '54.242.220.142',\n 'REMOTE_PORT': '80',\n 'REQUEST_METHOD': 'GET',\n 'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'sa.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 0x1586ef30>,\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 0x160f5ad0>,\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 ContentView at 0x152cfaa0> |
wrapped_callback | <function ContentView at 0x152cfaa0> |
resolver | <RegexURLResolver 'iep_site.urls' (None:None) ^/> |
callback_kwargs | {'pk': u'468510', 'slug': u'order-of-the-national-green-tribunal-regarding-disposal-of-sewage-water-at-village-kot-khurd-jalandhar-punjab-11092020'} |
response | <django.template.response.TemplateResponse object at 0x154aa250> |
urlconf | 'iep_site.urls' |
/home/cseuser/env/iep/lib/python2.6/site-packages/django/template/response.py
in render
If the content has already been rendered, this is a no-op.
Returns the baked response instance.
"""
retval = self
if not self._is_rendered:
self.content = self.rendered_content...
for post_callback in self._post_render_callbacks:
newretval = post_callback(retval)
if newretval is not None:
retval = newretval
return retval
Variable | Value |
---|---|
self | <django.template.response.TemplateResponse object at 0x154aa250> |
retval | <django.template.response.TemplateResponse object at 0x154aa250> |
/home/cseuser/env/iep/lib/python2.6/site-packages/django/template/response.py
in rendered_content
This *does not* set the final content of the response. To set the
response content, you must either call render(), or set the
content explicitly using the value of this property.
"""
template = self.resolve_template(self.template_name)
context = self.resolve_context(self.context_data)
content = template.render(context)...
return content
def add_post_render_callback(self, callback):
"""Adds a new post-rendering callback.
If the response has already been rendered,
Variable | Value |
---|---|
self | <django.template.response.TemplateResponse object at 0x154aa250> |
context | [{'False': False, 'None': None, 'True': True}, {'node': <Node: Order of the National Green Tribunal regarding disposal of sewage water at village Kot Khurd, Jalandhar, Punjab, 11/09/2020>, 'social_url': '/node/468510/', 'form': <iep.forms.SearchAllForm object at 0x154aa890>, 'format': 'full', 'search_form': <iep.forms.SearchAllForm object at 0x154aa890>, u'object': <Node: Order of the National Green Tribunal regarding disposal of sewage water at village Kot Khurd, Jalandhar, Punjab, 11/09/2020>, 'disqus_url': 'http://www.indiaenvironmentportal.org.in/node/468510', 'related_content': [], 'canonical_url': '/content/468510/order-of-the-national-green-tribunal-regarding-disposal-of-sewage-water-at-village-kot-khurd-jalandhar-punjab-11092020/', u'view': <iep.views.ContentView object at 0x160f5890>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x154aac50>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x15ec2e90>, 'user': <SimpleLazyObject: <function <lambda> at 0x1584bcf8>>}, {}, {u'LANGUAGES': (('en', 'English'),), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Asia/Kolkata'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x160f5c50>}, {u'request': <WSGIRequest path:/content/468510/order-of-the-national-green-tribunal-regarding-disposal-of-sewage-water-at-village-kot-khurd-jalandhar-punjab-11092020/, GET:<QueryDict: {u'page': [u'']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'NesugCcVtWMY3GCSmxFarVnHqakaRy8Z', 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'sa.indiaenvironmentportal.org.in', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '54.242.220.142', 'PATH_INFO': u'/content/468510/order-of-the-national-green-tribunal-regarding-disposal-of-sewage-water-at-village-kot-khurd-jalandhar-punjab-11092020/', 'QUERY_STRING': 'page=', 'RAW_URI': '/content/468510/order-of-the-national-green-tribunal-regarding-disposal-of-sewage-water-at-village-kot-khurd-jalandhar-punjab-11092020/?page=', 'REMOTE_ADDR': '54.242.220.142', 'REMOTE_PORT': '80', 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'sa.indiaenvironmentportal.org.in', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'gunicorn/18.0', 'gunicorn.socket': <socket._socketobject object at 0x1586ef30>, 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x2b22e8cd81e0>, 'wsgi.file_wrapper': <class gunicorn.http.wsgi.FileWrapper at 0x137cb7d0>, 'wsgi.input': <gunicorn.http.body.Body object at 0x160f5ad0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {'block': <Block Node: header. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x15963590>, <Text Node: ' '>]>}, {}] |
template | <django.template.base.Template object at 0x154aa590> |
/home/cseuser/env/iep/lib/python2.6/site-packages/django/template/base.py
in render
def _render(self, context):
return self.nodelist.render(context)
def render(self, context):
"Display stage -- can be called many times"
context.render_context.push()
try:
return self._render(context)...
finally:
context.render_context.pop()
def compile_string(template_string, origin):
"Compiles template_string into NodeList ready for rendering"
if settings.TEMPLATE_DEBUG:
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x154aa590> |
context | [{'False': False, 'None': None, 'True': True}, {'node': <Node: Order of the National Green Tribunal regarding disposal of sewage water at village Kot Khurd, Jalandhar, Punjab, 11/09/2020>, 'social_url': '/node/468510/', 'form': <iep.forms.SearchAllForm object at 0x154aa890>, 'format': 'full', 'search_form': <iep.forms.SearchAllForm object at 0x154aa890>, u'object': <Node: Order of the National Green Tribunal regarding disposal of sewage water at village Kot Khurd, Jalandhar, Punjab, 11/09/2020>, 'disqus_url': 'http://www.indiaenvironmentportal.org.in/node/468510', 'related_content': [], 'canonical_url': '/content/468510/order-of-the-national-green-tribunal-regarding-disposal-of-sewage-water-at-village-kot-khurd-jalandhar-punjab-11092020/', u'view': <iep.views.ContentView object at 0x160f5890>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x154aac50>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x15ec2e90>, 'user': <SimpleLazyObject: <function <lambda> at 0x1584bcf8>>}, {}, {u'LANGUAGES': (('en', 'English'),), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Asia/Kolkata'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x160f5c50>}, {u'request': <WSGIRequest path:/content/468510/order-of-the-national-green-tribunal-regarding-disposal-of-sewage-water-at-village-kot-khurd-jalandhar-punjab-11092020/, GET:<QueryDict: {u'page': [u'']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'NesugCcVtWMY3GCSmxFarVnHqakaRy8Z', 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'sa.indiaenvironmentportal.org.in', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '54.242.220.142', 'PATH_INFO': u'/content/468510/order-of-the-national-green-tribunal-regarding-disposal-of-sewage-water-at-village-kot-khurd-jalandhar-punjab-11092020/', 'QUERY_STRING': 'page=', 'RAW_URI': '/content/468510/order-of-the-national-green-tribunal-regarding-disposal-of-sewage-water-at-village-kot-khurd-jalandhar-punjab-11092020/?page=', 'REMOTE_ADDR': '54.242.220.142', 'REMOTE_PORT': '80', 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'sa.indiaenvironmentportal.org.in', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'gunicorn/18.0', 'gunicorn.socket': <socket._socketobject object at 0x1586ef30>, 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x2b22e8cd81e0>, 'wsgi.file_wrapper': <class gunicorn.http.wsgi.FileWrapper at 0x137cb7d0>, 'wsgi.input': <gunicorn.http.body.Body object at 0x160f5ad0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {'block': <Block Node: header. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x15963590>, <Text Node: ' '>]>}, {}] |
/home/cseuser/env/iep/lib/python2.6/site-packages/django/template/base.py
in _render
def __iter__(self):
for node in self.nodelist:
for subnode in node:
yield subnode
def _render(self, context):
return self.nodelist.render(context)...
def render(self, context):
"Display stage -- can be called many times"
context.render_context.push()
try:
return self._render(context)
Variable | Value |
---|