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://www.indiaenvironmentportal.org.in/content/451795/using-herbarium-derived-dnas-to-assemble-a-large-scale-dna-barcode-library-for-the-vascular-plants-of-canada/ |
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:46:29 +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 0x152cc320>, args=(), kwargs={'pk': u'451795', 'slug': u'using-herbarium-derived-dnas-to-assemble-a-large-scale-dna-barcode-library-for-the-vascular-plants-of-canada'}, url_name='content-page', app_name='None', namespace='') |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x150701d0>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x14ebdf50> |
request | "<WSGIRequest\npath:/content/451795/using-herbarium-derived-dnas-to-assemble-a-large-scale-dna-barcode-library-for-the-vascular-plants-of-canada/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{u'CSRF_COOKIE': u'GB6jbA0Sb5kvTXTqsm6ixMVzv3wj3yxy',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_CONNECTION': 'close',\n 'HTTP_HOST': 'www.indiaenvironmentportal.org.in',\n 'HTTP_USER_AGENT': 'claudebot',\n 'HTTP_X_FORWARDED_FOR': '54.242.220.142',\n 'PATH_INFO': u'/content/451795/using-herbarium-derived-dnas-to-assemble-a-large-scale-dna-barcode-library-for-the-vascular-plants-of-canada/',\n 'QUERY_STRING': '',\n 'RAW_URI': '/content/451795/using-herbarium-derived-dnas-to-assemble-a-large-scale-dna-barcode-library-for-the-vascular-plants-of-canada/',\n 'REMOTE_ADDR': '54.242.220.142',\n 'REMOTE_PORT': '80',\n 'REQUEST_METHOD': 'GET',\n 'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'www.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 0x13ba4360>,\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 0x165b7390>,\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 0x152cc320> |
wrapped_callback | <function ContentView at 0x152cc320> |
resolver | <RegexURLResolver 'iep_site.urls' (None:None) ^/> |
callback_kwargs | {'pk': u'451795', 'slug': u'using-herbarium-derived-dnas-to-assemble-a-large-scale-dna-barcode-library-for-the-vascular-plants-of-canada'} |
response | <django.template.response.TemplateResponse object at 0x161dcd90> |
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 0x161dcd90> |
retval | <django.template.response.TemplateResponse object at 0x161dcd90> |
/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 0x161dcd90> |
context | [{'False': False, 'None': None, 'True': True}, {'node': <Node: Using herbarium-derived DNAs to assemble a large-scale DNA barcode library for the vascular plants of Canada>, 'social_url': '/node/451795/', 'form': <iep.forms.SearchAllForm object at 0x161dc890>, 'format': 'full', 'search_form': <iep.forms.SearchAllForm object at 0x161dc890>, u'object': <Node: Using herbarium-derived DNAs to assemble a large-scale DNA barcode library for the vascular plants of Canada>, 'disqus_url': 'http://www.indiaenvironmentportal.org.in/node/451795', 'related_content': [], 'canonical_url': '/content/451795/using-herbarium-derived-dnas-to-assemble-a-large-scale-dna-barcode-library-for-the-vascular-plants-of-canada/', u'view': <iep.views.ContentView object at 0x165b7790>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x161dc090>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x16b2bc10>, 'user': <SimpleLazyObject: <function <lambda> at 0x15e00c80>>}, {}, {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 0x165b7810>}, {u'request': <WSGIRequest path:/content/451795/using-herbarium-derived-dnas-to-assemble-a-large-scale-dna-barcode-library-for-the-vascular-plants-of-canada/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'GB6jbA0Sb5kvTXTqsm6ixMVzv3wj3yxy', 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'www.indiaenvironmentportal.org.in', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '54.242.220.142', 'PATH_INFO': u'/content/451795/using-herbarium-derived-dnas-to-assemble-a-large-scale-dna-barcode-library-for-the-vascular-plants-of-canada/', 'QUERY_STRING': '', 'RAW_URI': '/content/451795/using-herbarium-derived-dnas-to-assemble-a-large-scale-dna-barcode-library-for-the-vascular-plants-of-canada/', 'REMOTE_ADDR': '54.242.220.142', 'REMOTE_PORT': '80', 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.indiaenvironmentportal.org.in', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'gunicorn/18.0', 'gunicorn.socket': <socket._socketobject object at 0x13ba4360>, '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 0x165b7390>, '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 0x15563b50>, <Text Node: ' '>]>}, {}] |
template | <django.template.base.Template object at 0x161dc850> |
/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 0x161dc850> |
context | [{'False': False, 'None': None, 'True': True}, {'node': <Node: Using herbarium-derived DNAs to assemble a large-scale DNA barcode library for the vascular plants of Canada>, 'social_url': '/node/451795/', 'form': <iep.forms.SearchAllForm object at 0x161dc890>, 'format': 'full', 'search_form': <iep.forms.SearchAllForm object at 0x161dc890>, u'object': <Node: Using herbarium-derived DNAs to assemble a large-scale DNA barcode library for the vascular plants of Canada>, 'disqus_url': 'http://www.indiaenvironmentportal.org.in/node/451795', 'related_content': [], 'canonical_url': '/content/451795/using-herbarium-derived-dnas-to-assemble-a-large-scale-dna-barcode-library-for-the-vascular-plants-of-canada/', u'view': <iep.views.ContentView object at 0x165b7790>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x161dc090>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x16b2bc10>, 'user': <SimpleLazyObject: <function <lambda> at 0x15e00c80>>}, {}, {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 0x165b7810>}, {u'request': <WSGIRequest path:/content/451795/using-herbarium-derived-dnas-to-assemble-a-large-scale-dna-barcode-library-for-the-vascular-plants-of-canada/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'GB6jbA0Sb5kvTXTqsm6ixMVzv3wj3yxy', 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'www.indiaenvironmentportal.org.in', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '54.242.220.142', 'PATH_INFO': u'/content/451795/using-herbarium-derived-dnas-to-assemble-a-large-scale-dna-barcode-library-for-the-vascular-plants-of-canada/', 'QUERY_STRING': '', 'RAW_URI': '/content/451795/using-herbarium-derived-dnas-to-assemble-a-large-scale-dna-barcode-library-for-the-vascular-plants-of-canada/', 'REMOTE_ADDR': '54.242.220.142', 'REMOTE_PORT': '80', 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.indiaenvironmentportal.org.in', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'gunicorn/18.0', 'gunicorn.socket': <socket._socketobject object at 0x13ba4360>, '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 0x165b7390>, '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 0x15563b50>, <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 |
---|---|
self | <django.template.base.Template object at 0x161dc850> |
context | [{'False': False, 'None': Non |