no matching index found. recommended index is: - kind: Event properties: - name: category - name: pub_date direction: desc The suggested index for this query is: - kind: Event properties: - name: category - name: pub_date direction: desc
Request Method: | GET |
---|---|
Request URL: | https://portoferreirahoje.com.br/eventos/geral |
Django Version: | 1.5 |
Exception Type: | NeedIndexError |
Exception Value: | no matching index found. recommended index is: - kind: Event properties: - name: category - name: pub_date direction: desc The suggested index for this query is: - kind: Event properties: - name: category - name: pub_date direction: desc |
Exception Location: | /base/alloc/tmpfs/dynamic_runtimes/python27g/25fef2553b936881/python27/python27_lib/versions/1/google/appengine/datastore/datastore_query.py in __query_result_hook, line 2945 |
Python Executable: | /base/alloc/tmpfs/dynamic_runtimes/python27g/25fef2553b936881/python27/python27_dist/python |
Python Version: | 2.7.18 |
Python Path: | ['/base/data/home/apps/s~local-news-hrd/2023-11-14-09h49m-gtm-3.456331201377088235', '/base/data/home/apps/s~local-news-hrd/2023-11-14-09h49m-gtm-3.456331201377088235', '/base/data/home/apps/s~local-news-hrd/2023-11-14-09h49m-gtm-3.456331201377088235/lib', '/base/alloc/tmpfs/dynamic_runtimes/python27g/25fef2553b936881/python27/python27_dist/lib/python27.zip', '/base/alloc/tmpfs/dynamic_runtimes/python27g/25fef2553b936881/python27/python27_dist/lib/python2.7', '/base/alloc/tmpfs/dynamic_runtimes/python27g/25fef2553b936881/python27/python27_dist/lib/python2.7/plat-linux2', '/base/alloc/tmpfs/dynamic_runtimes/python27g/25fef2553b936881/python27/python27_dist/lib/python2.7/lib-tk', '/base/alloc/tmpfs/dynamic_runtimes/python27g/25fef2553b936881/python27/python27_dist/lib/python2.7/lib-old', '/base/alloc/tmpfs/dynamic_runtimes/python27g/25fef2553b936881/python27/python27_dist/lib/python2.7/lib-dynload', '/base/alloc/tmpfs/dynamic_runtimes/python27g/25fef2553b936881/python27/python27_dist/lib/python2.7/site-packages', '/base/alloc/tmpfs/dynamic_runtimes/python27g/25fef2553b936881/python27/python27_lib/versions/1', '/base/alloc/tmpfs/dynamic_runtimes/python27g/25fef2553b936881/python27/python27_lib/versions/third_party/PIL-1.1.7', '/base/alloc/tmpfs/dynamic_runtimes/python27g/25fef2553b936881/python27/python27_lib/versions/third_party/PIL-1.1.7/PIL', '/base/alloc/tmpfs/dynamic_runtimes/python27g/25fef2553b936881/python27/python27_lib/versions/third_party/django-1.5', '/base/alloc/tmpfs/dynamic_runtimes/python27g/25fef2553b936881/python27/python27_lib/versions/third_party/protorpc-1.0', '/base/alloc/tmpfs/dynamic_runtimes/python27g/25fef2553b936881/python27/python27_lib/versions/third_party/pycrypto-2.6', '/base/alloc/tmpfs/dynamic_runtimes/python27g/25fef2553b936881/python27/python27_lib/versions/third_party/six-1.12.0', '/base/alloc/tmpfs/dynamic_runtimes/python27g/25fef2553b936881/python27/python27_lib/versions/third_party/webapp2-2.3', '/base/alloc/tmpfs/dynamic_runtimes/python27g/25fef2553b936881/python27/python27_lib/versions/third_party/webob-1.1.1', '/base/alloc/tmpfs/dynamic_runtimes/python27g/25fef2553b936881/python27/python27_lib/versions/third_party/yaml-3.10'] |
Server time: | Tue, 19 Mar 2024 09:43:32 +0000 |
/base/data/home/apps/s~local-news-hrd/2023-11-14-09h49m-gtm-3.456331201377088235/lib/django/core/handlers/base.py
in get_response
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs)
if response:
break
if response is None:
try:
response = 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 | NeedIndexError(u'no matching index found. recommended index is:\n- kind: Event\n properties:\n - name: category\n - name: pub_date\n direction: desc\n\nThe suggested index for this query is:\n- kind: Event\n properties:\n - name: category\n - name: pub_date\n direction: desc',) |
callback_args | () |
resolver_match | ResolverMatch(func=<function wrapped_f at 0x3eb8873c9450>, args=(), kwargs={'category': u'geral', 'type': u'eventos'}, url_name='views.wrapped_f', app_name='None', namespace='') |
middleware_method | <bound method AuthenticationMiddleware.process_request of <django.contrib.auth.middleware.AuthenticationMiddleware object at 0x3eb8aa59b890>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x3eb8aadc7ed0> |
request | "<WSGIRequest\npath:/eventos/geral,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'APPENGINE_RUNTIME': 'python27',\n 'APPLICATION_ID': 's~local-news-hrd',\n 'AUTH_DOMAIN': 'gmail.com',\n 'CLOUD_TRACE_ENABLE_STACK_TRACE': '0',\n 'CURRENT_MODULE_ID': 'default',\n 'CURRENT_VERSION_ID': '2023-11-14-09h49m-gtm-3.456331201377088235',\n 'DATACENTER': 'us17',\n 'DEFAULT_VERSION_HOSTNAME': 'local-news-hrd.appspot.com',\n 'GAE_APPLICATION': 's~local-news-hrd',\n 'GAE_DEPLOYMENT_ID': '456331201377088235',\n 'GAE_ENV': 'standard',\n 'GAE_INSTANCE': '00a22404dc3cf6f3d81ec9c3bf86000f53888848e3d1ebab4eab9479ffefaa346bb242df87455555094572fe82917f1c78dc8783f309f45e5bf70fffbcb3ec57a196',\n 'GAE_RUNTIME': 'python27',\n 'GAE_SERVICE': 'default',\n 'GAE_VERSION': '2023-11-14-09h49m-gtm-3',\n 'GCLOUD_PROJECT': 'local-news-hrd',\n 'GCONV_PATH': '/base/alloc/tmpfs/dynamic_runtimes/python27g/25fef2553b936881/python27/gconv',\n 'GOOGLE_CLOUD_PROJECT': 'local-news-hrd',\n 'HOME': '/base/data/home',\n 'HTTPS': 'on',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'portoferreirahoje.com.br',\n 'HTTP_TRACEPARENT': '00-8113fe45bb9550c73dcf63c9d8455ee5-62f0c3cc2a49fe61-00',\n 'HTTP_USER_AGENT': 'claudebot',\n 'HTTP_X_APPENGINE_CITY': 'ashburn',\n 'HTTP_X_APPENGINE_CITYLATLONG': '39.043757,-77.487442',\n 'HTTP_X_APPENGINE_COUNTRY': 'US',\n 'HTTP_X_APPENGINE_DEFAULT_NAMESPACE': 'gmail.com',\n 'HTTP_X_APPENGINE_REGION': 'va',\n 'HTTP_X_CLOUD_TRACE_CONTEXT': '8113fe45bb9550c73dcf63c9d8455ee5/7129413491777732193',\n 'HTTP_X_GOOGLE_APPS_METADATA': 'domain=gmail.com,host=portoferreirahoje.com.br',\n 'INSTANCE_ID': '00a22404dc3cf6f3d81ec9c3bf86000f53888848e3d1ebab4eab9479ffefaa346bb242df87455555094572fe82917f1c78dc8783f309f45e5bf70fffbcb3ec57a196',\n 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',\n 'PATH_INFO': u'/eventos/geral',\n 'PATH_TRANSLATED': '/base/data/home/apps/s~local-news-hrd/2023-11-14-09h49m-gtm-3.456331201377088235/django_bootstrap.py',\n 'PWD': '/',\n 'PYTHONUSERBASE': '/base/alloc/tmpfs/dynamic_runtimes/python27g/25fef2553b936881/python27/python27_dist',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '54.242.75.224',\n 'REQUEST_ID_HASH': '3D66B1B9',\n 'REQUEST_LOG_ID': '65f95e4300ff0e4acb3d66b1b90001737e6c6f63616c2d6e6577732d6872640001323032332d31312d31342d30396834396d2d67746d2d3300010125',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_URI': '/eventos/geral',\n 'S2A_ACCESS_TOKEN': '2c6a5f190095caf1d29942ae3eacb898d0f2cef8863939d277db0613cd992522',\n 'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'portoferreirahoje.com.br',\n 'SERVER_PORT': '443',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SOFTWARE': 'Google App Engine/1.9.91',\n 'TZ': 'UTC',\n 'USER': 'appengine',\n 'USER_EMAIL': '',\n 'USER_ID': '',\n 'USER_IS_ADMIN': '0',\n 'USER_NICKNAME': '',\n 'USER_ORGANIZATION': '',\n 'wsgi.errors': <google.appengine.api.logservice.logservice._LogsDequeBuffer object at 0x3eb8872b5790>,\n 'wsgi.input': <cStringIO.StringI object at 0x3eb8873f3a50>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'https',\n 'wsgi.version': (1, 0)}>" |
callback | <function wrapped_f at 0x3eb8873c9450> |
resolver | <RegexURLResolver 'urls' (None:None) ^/> |
callback_kwargs | {'category': u'geral', 'type': u'eventos'} |
response | None |
urlconf | 'urls' |
/base/data/home/apps/s~local-news-hrd/2023-11-14-09h49m-gtm-3.456331201377088235/views.py
in wrapped_f
def wrap(f):
def wrapped_f(*args,**kw):
request = args[0]
cached = memcache.get(request.path)
if cached:
return cached
else:
response = f(*args,**kw)...
memcache.add(request.path, response, time)
return response
return wrapped_f
return wrap
def cacheable(time=TIME):
Variable | Value |
---|---|
f | <function categories at 0x3eb8873c93d0> |
cached | None |
args | (<WSGIRequest path:/eventos/geral, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'APPENGINE_RUNTIME': 'python27', 'APPLICATION_ID': 's~local-news-hrd', 'AUTH_DOMAIN': 'gmail.com', 'CLOUD_TRACE_ENABLE_STACK_TRACE': '0', 'CURRENT_MODULE_ID': 'default', 'CURRENT_VERSION_ID': '2023-11-14-09h49m-gtm-3.456331201377088235', 'DATACENTER': 'us17', 'DEFAULT_VERSION_HOSTNAME': 'local-news-hrd.appspot.com', 'GAE_APPLICATION': 's~local-news-hrd', 'GAE_DEPLOYMENT_ID': '456331201377088235', 'GAE_ENV': 'standard', 'GAE_INSTANCE': '00a22404dc3cf6f3d81ec9c3bf86000f53888848e3d1ebab4eab9479ffefaa346bb242df87455555094572fe82917f1c78dc8783f309f45e5bf70fffbcb3ec57a196', 'GAE_RUNTIME': 'python27', 'GAE_SERVICE': 'default', 'GAE_VERSION': '2023-11-14-09h49m-gtm-3', 'GCLOUD_PROJECT': 'local-news-hrd', 'GCONV_PATH': '/base/alloc/tmpfs/dynamic_runtimes/python27g/25fef2553b936881/python27/gconv', 'GOOGLE_CLOUD_PROJECT': 'local-news-hrd', 'HOME': '/base/data/home', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'portoferreirahoje.com.br', 'HTTP_TRACEPARENT': '00-8113fe45bb9550c73dcf63c9d8455ee5-62f0c3cc2a49fe61-00', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_APPENGINE_CITY': 'ashburn', 'HTTP_X_APPENGINE_CITYLATLONG': '39.043757,-77.487442', 'HTTP_X_APPENGINE_COUNTRY': 'US', 'HTTP_X_APPENGINE_DEFAULT_NAMESPACE': 'gmail.com', 'HTTP_X_APPENGINE_REGION': 'va', 'HTTP_X_CLOUD_TRACE_CONTEXT': '8113fe45bb9550c73dcf63c9d8455ee5/7129413491777732193', 'HTTP_X_GOOGLE_APPS_METADATA': 'domain=gmail.com,host=portoferreirahoje.com.br', 'INSTANCE_ID': '00a22404dc3cf6f3d81ec9c3bf86000f53888848e3d1ebab4eab9479ffefaa346bb242df87455555094572fe82917f1c78dc8783f309f45e5bf70fffbcb3ec57a196', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'PATH_INFO': u'/eventos/geral', 'PATH_TRANSLATED': '/base/data/home/apps/s~local-news-hrd/2023-11-14-09h49m-gtm-3.456331201377088235/django_bootstrap.py', 'PWD': '/', 'PYTHONUSERBASE': '/base/alloc/tmpfs/dynamic_runtimes/python27g/25fef2553b936881/python27/python27_dist', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.242.75.224', 'REQUEST_ID_HASH': '3D66B1B9', 'REQUEST_LOG_ID': '65f95e4300ff0e4acb3d66b1b90001737e6c6f63616c2d6e6577732d6872640001323032332d31312d31342d30396834396d2d67746d2d3300010125', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/eventos/geral', 'S2A_ACCESS_TOKEN': '2c6a5f190095caf1d29942ae3eacb898d0f2cef8863939d277db0613cd992522', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'portoferreirahoje.com.br', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'Google App Engine/1.9.91', 'TZ': 'UTC', 'USER': 'appengine', 'USER_EMAIL': '', 'USER_ID': '', 'USER_IS_ADMIN': '0', 'USER_NICKNAME': '', 'USER_ORGANIZATION': '', 'wsgi.errors': <google.appengine.api.logservice.logservice._LogsDequeBuffer object at 0x3eb8872b5790>, 'wsgi.input': <cStringIO.StringI object at 0x3eb8873f3a50>, 'wsgi.multiprocess': True, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>,) |
request | "<WSGIRequest\npath:/eventos/geral,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'APPENGINE_RUNTIME': 'python27',\n 'APPLICATION_ID': 's~local-news-hrd',\n 'AUTH_DOMAIN': 'gmail.com',\n 'CLOUD_TRACE_ENABLE_STACK_TRACE': '0',\n 'CURRENT_MODULE_ID': 'default',\n 'CURRENT_VERSION_ID': '2023-11-14-09h49m-gtm-3.456331201377088235',\n 'DATACENTER': 'us17',\n 'DEFAULT_VERSION_HOSTNAME': 'local-news-hrd.appspot.com',\n 'GAE_APPLICATION': 's~local-news-hrd',\n 'GAE_DEPLOYMENT_ID': '456331201377088235',\n 'GAE_ENV': 'standard',\n 'GAE_INSTANCE': '00a22404dc3cf6f3d81ec9c3bf86000f53888848e3d1ebab4eab9479ffefaa346bb242df87455555094572fe82917f1c78dc8783f309f45e5bf70fffbcb3ec57a196',\n 'GAE_RUNTIME': 'python27',\n 'GAE_SERVICE': 'default',\n 'GAE_VERSION': '2023-11-14-09h49m-gtm-3',\n 'GCLOUD_PROJECT': 'local-news-hrd',\n 'GCONV_PATH': '/base/alloc/tmpfs/dynamic_runtimes/python27g/25fef2553b936881/python27/gconv',\n 'GOOGLE_CLOUD_PROJECT': 'local-news-hrd',\n 'HOME': '/base/data/home',\n 'HTTPS': 'on',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'portoferreirahoje.com.br',\n 'HTTP_TRACEPARENT': '00-8113fe45bb9550c73dcf63c9d8455ee5-62f0c3cc2a49fe61-00',\n 'HTTP_USER_AGENT': 'claudebot',\n 'HTTP_X_APPENGINE_CITY': 'ashburn',\n 'HTTP_X_APPENGINE_CITYLATLONG': '39.043757,-77.487442',\n 'HTTP_X_APPENGINE_COUNTRY': 'US',\n 'HTTP_X_APPENGINE_DEFAULT_NAMESPACE': 'gmail.com',\n 'HTTP_X_APPENGINE_REGION': 'va',\n 'HTTP_X_CLOUD_TRACE_CONTEXT': '8113fe45bb9550c73dcf63c9d8455ee5/7129413491777732193',\n 'HTTP_X_GOOGLE_APPS_METADATA': 'domain=gmail.com,host=portoferreirahoje.com.br',\n 'INSTANCE_ID': '00a22404dc3cf6f3d81ec9c3bf86000f53888848e3d1ebab4eab9479ffefaa346bb242df87455555094572fe82917f1c78dc8783f309f45e5bf70fffbcb3ec57a196',\n 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',\n 'PATH_INFO': u'/eventos/geral',\n 'PATH_TRANSLATED': '/base/data/home/apps/s~local-news-hrd/2023-11-14-09h49m-gtm-3.456331201377088235/django_bootstrap.py',\n 'PWD': '/',\n 'PYTHONUSERBASE': '/base/alloc/tmpfs/dynamic_runtimes/python27g/25fef2553b936881/python27/python27_dist',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '54.242.75.224',\n 'REQUEST_ID_HASH': '3D66B1B9',\n 'REQUEST_LOG_ID': '65f95e4300ff0e4acb3d66b1b90001737e6c6f63616c2d6e6577732d6872640001323032332d31312d31342d30396834396d2d67746d2d3300010125',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_URI': '/eventos/geral',\n 'S2A_ACCESS_TOKEN': '2c6a5f190095caf1d29942ae3eacb898d0f2cef8863939d277db0613cd992522',\n 'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'portoferreirahoje.com.br',\n 'SERVER_PORT': '443',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SOFTWARE': 'Google App Engine/1.9.91',\n 'TZ': 'UTC',\n 'USER': 'appengine',\n 'USER_EMAIL': '',\n 'USER_ID': '',\n 'USER_IS_ADMIN': '0',\n 'USER_NICKNAME': '',\n 'USER_ORGANIZATION': '',\n 'wsgi.errors': <google.appengine.api.logservice.logservice._LogsDequeBuffer object at 0x3eb8872b5790>,\n 'wsgi.input': <cStringIO.StringI object at 0x3eb8873f3a50>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'https',\n 'wsgi.version': (1, 0)}>" |
kw | {'category': u'geral', 'type': u'eventos'} |
time | 604800 |
/base/data/home/apps/s~local-news-hrd/2023-11-14-09h49m-gtm-3.456331201377088235/views.py
in categories
link = category
cat = 'policia' if link == 'policia' else None
category = Category.query().filter(Category.link == category).filter(Category.type == type).get()
query = ctx.model.query()
query = query.order(-ctx.model.pub_date)
query = query.filter(ctx.model.category == category.key)
query = query.filter(ctx.model.pub_date <= helpers.get_date())#.fetch(PAGE_SIZE, PAGE_SIZE*int(page))
entities = query.fetch(limit=PAGE_SIZE,offset=int(page)*PAGE_SIZE)...
context = {'entities':entities, 'page': str(int(page) + 1), 'view': ctx.view + '/' + link}
if type == 'empresas' and len(entities) > 0:
multiplan = entities[0].plan != 2
context.update({'multiplan':multiplan})
context.update(side_context(ctx, cat))
context.update({"category":category})
Variable | Value |
---|---|
category | Category(key=Key('Category', 4617002), active=False, link=u'geral', name=u'GERAL', pub_date=datetime.datetime(2011, 4, 2, 20, 8, 59), type=u'eventos') |
request | "<WSGIRequest\npath:/eventos/geral,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'APPENGINE_RUNTIME': 'python27',\n 'APPLICATION_ID': 's~local-news-hrd',\n 'AUTH_DOMAIN': 'gmail.com',\n 'CLOUD_TRACE_ENABLE_STACK_TRACE': '0',\n 'CURRENT_MODULE_ID': 'default',\n 'CURRENT_VERSION_ID': '2023-11-14-09h49m-gtm-3.456331201377088235',\n 'DATACENTER': 'us17',\n 'DEFAULT_VERSION_HOSTNAME': 'local-news-hrd.appspot.com',\n 'GAE_APPLICATION': 's~local-news-hrd',\n 'GAE_DEPLOYMENT_ID': '456331201377088235',\n 'GAE_ENV': 'standard',\n 'GAE_INSTANCE': '00a22404dc3cf6f3d81ec9c3bf86000f53888848e3d1ebab4eab9479ffefaa346bb242df87455555094572fe82917f1c78dc8783f309f45e5bf70fffbcb3ec57a196',\n 'GAE_RUNTIME': 'python27',\n 'GAE_SERVICE': 'default',\n 'GAE_VERSION': '2023-11-14-09h49m-gtm-3',\n 'GCLOUD_PROJECT': 'local-news-hrd',\n 'GCONV_PATH': '/base/alloc/tmpfs/dynamic_runtimes/python27g/25fef2553b936881/python27/gconv',\n 'GOOGLE_CLOUD_PROJECT': 'local-news-hrd',\n 'HOME': '/base/data/home',\n 'HTTPS': 'on',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'portoferreirahoje.com.br',\n 'HTTP_TRACEPARENT': '00-8113fe45bb9550c73dcf63c9d8455ee5-62f0c3cc2a49fe61-00',\n 'HTTP_USER_AGENT': 'claudebot',\n 'HTTP_X_APPENGINE_CITY': 'ashburn',\n 'HTTP_X_APPENGINE_CITYLATLONG': '39.043757,-77.487442',\n 'HTTP_X_APPENGINE_COUNTRY': 'US',\n 'HTTP_X_APPENGINE_DEFAULT_NAMESPACE': 'gmail.com',\n 'HTTP_X_APPENGINE_REGION': 'va',\n 'HTTP_X_CLOUD_TRACE_CONTEXT': '8113fe45bb9550c73dcf63c9d8455ee5/7129413491777732193',\n 'HTTP_X_GOOGLE_APPS_METADATA': 'domain=gmail.com,host=portoferreirahoje.com.br',\n 'INSTANCE_ID': '00a22404dc3cf6f3d81ec9c3bf86000f53888848e3d1ebab4eab9479ffefaa346bb242df87455555094572fe82917f1c78dc8783f309f45e5bf70fffbcb3ec57a196',\n 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',\n 'PATH_INFO': u'/eventos/geral',\n 'PATH_TRANSLATED': '/base/data/home/apps/s~local-news-hrd/2023-11-14-09h49m-gtm-3.456331201377088235/django_bootstrap.py',\n 'PWD': '/',\n 'PYTHONUSERBASE': '/base/alloc/tmpfs/dynamic_runtimes/python27g/25fef2553b936881/python27/python27_dist',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '54.242.75.224',\n 'REQUEST_ID_HASH': '3D66B1B9',\n 'REQUEST_LOG_ID': '65f95e4300ff0e4acb3d66b1b90001737e6c6f63616c2d6e6577732d6872640001323032332d31312d31342d30396834396d2d67746d2d3300010125',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_URI': '/eventos/geral',\n 'S2A_ACCESS_TOKEN': '2c6a5f190095caf1d29942ae3eacb898d0f2cef8863939d277db0613cd992522',\n 'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'portoferreirahoje.com.br',\n 'SERVER_PORT': '443',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SOFTWARE': 'Google App Engine/1.9.91',\n 'TZ': 'UTC',\n 'USER': 'appengine',\n 'USER_EMAIL': '',\n 'USER_ID': '',\n 'USER_IS_ADMIN': '0',\n 'USER_NICKNAME': '',\n 'USER_ORGANIZATION': '',\n 'wsgi.errors': <google.appengine.api.logservice.logservice._LogsDequeBuffer object at 0x3eb8872b5790>,\n 'wsgi.input': <cStringIO.StringI object at 0x3eb8873f3a50>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'https',\n 'wsgi.version': (1, 0)}>" |
ctx | <views.EntityContext instance at 0x3eb8873d55a0> |
cat | None |
link | u'geral' |
query | Query(kind='Event', filters=AND(FilterNode('category', '=', datastore_types.Key.from_path(u'Category', 4617002, _app=u's~local-news-hrd')), FilterNode('pub_date', '<=', datetime.datetime(2024, 3, 19, 6, 43, 32))), orders=...) |
type | u'eventos' |
page | 0 |
/base/alloc/tmpfs/dynamic_runtimes/python27g/25fef2553b936881/python27/python27_lib/versions/1/google/appengine/ext/ndb/utils.py
in positional_wrapper
if len(args) > max_pos_args:
plural_s = ''
if max_pos_args != 1:
plural_s = 's'
raise TypeError(
'%s() takes at most %d positional argument%s (%d given)' %
(wrapped.__name__, max_pos_args, plural_s, len(args)))
return wrapped(*args, **kwds)...
return positional_wrapper
return positional_decorator
def decorator(wrapped_decorator):
"""Converts a function into a decorator that optionally accepts keyword
Variable | Value |
---|---|
wrapped | <function fetch at 0x3eb8a80751d0> |
__ndb_debug__ | 'SKIP' |
args | (Query(kind='Event', filters=AND(FilterNode('category', '=', datastore_types.Key.from_path(u'Category', 4617002, _app=u's~local-news-hrd')), FilterNode('pub_date', '<=', datetime.datetime(2024, 3, 19, 6, 43, 32))), orders=...),) |
kwds | {'limit': 20, 'offset': 0} |
max_pos_args | 2 |
/base/alloc/tmpfs/dynamic_runtimes/python27g/25fef2553b936881/python27/python27_lib/versions/1/google/appengine/ext/ndb/query.py
in fetch
Args:
limit: How many results to retrieve at most.
**q_options: All query options keyword arguments are supported.
Returns:
A list of results.
"""
return self.fetch_async(limit, **q_options).get_result()...
@utils.positional(2)
def fetch_async(self, limit=None, **q_options):
"""Fetch a list of query results, up to a limit.
This is the asynchronous version of Query.fetch().
Variable | Value |
---|---|
self | Query(kind='Event', filters=AND(FilterNode('category', '=', datastore_types.Key.from_path(u'Category', 4617002, _app=u's~local-news-hrd')), FilterNode('pub_date', '<=', datetime.datetime(2024, 3, 19, 6, 43, 32))), orders=...) |
limit | 20 |
q_options | {'offset': 0} |
/base/alloc/tmpfs/dynamic_runtimes/python27g/25fef2553b936881/python27/python27_lib/versions/1/google/appengine/ext/ndb/tasklets.py
in get_result
def check_success(self):
self.wait()
if self._exception is not None:
raise self._exception.__class__, self._exception, self._traceback
def get_result(self):
self.check_success()...
return self._result
# TODO: Have a tasklet that does this
@classmethod
def wait_any(cls, futures):
# TODO: Flatten MultiRpcs.
Variable | Value |
---|---|
self | <Future 3eb8873933d0 created by fetch_async(query.py:1239) for tasklet _run_to_list(query.py:987); exception NeedIndexError: no matching index found. recommended index is: - kind: Event properties: - name: category - name: pub_date direction: desc The suggested index for this query is: - kind: Event properties: - name: category - name: pub_date direction: desc> |
/base/alloc/tmpfs/dynamic_runtimes/python27g/25fef2553b936881/python27/python27_lib/versions/1/google/appengine/ext/ndb/tasklets.py
in _help_tasklet_along
if ns != save_namespace:
namespace_manager.set_namespace(ns)
if ds_conn is not save_ds_connection:
datastore._SetConnection(ds_conn)
if exc is not None:
_logging_debug('Throwing %s(%s) into %s',
exc.__class__.__name__, exc, info)
value = gen.throw(exc.__class__, exc, tb)...
else:
_logging_debug('Sending %r to %s', val, info)
value = gen.send(val)
self._context = get_context()
finally:
ns = namespace_manager.get_namespace()
Variable | Value |
---|---|
info | 'suspended generator _run_to_list(query.py:995)' |
ds_conn | <google.appengine.datastore.datastore_rpc.Connection object at 0x3eb887393990> |
exc | NeedIndexError(u'no matching index found. recommended index is:\n- kind: Event\n properties:\n - name: category\n - name: pub_date\n direction: desc\n\nThe suggested index for this query is:\n- kind: Event\n properties:\n - name: category\n - name: pub_date\n direction: desc',) |
err | NeedIndexError(u'no matching index found. recommended index is:\n- kind: Event\n properties:\n - name: category\n - name: pub_date\n direction: desc\n\nThe suggested index for this query is:\n- kind: Event\n properties:\n - name: category\n - name: pub_date\n direction: desc',) |
save_namespace | '' |
save_ds_connection | <google.appengine.datastore.datastore_rpc.Connection object at 0x3eb887393990> |
gen | <generator object _run_to_list at 0x3eb886d2d960> |
val | None |
save_context | <google.appengine.ext.ndb.context.Context object at 0x3eb885a9a5d0> |
__ndb_debug__ | 'suspended generator _run_to_list(query.py:995)' |
ns | '' |
tb | <traceback object at 0x3eb886cb3fa0> |
self | <Future 3eb8873933d0 created by fetch_async(query.py:1239) for tasklet _run_to_list(query.py:987); exception NeedIndexError: no matching index found. recommended index is: - kind: Event properties: - name: category - name: pub_date direction: desc The suggested index for this query is: - kind: Event properties: - name: category - name: pub_date direction: desc> |
_ | NeedIndexError(u'no matching index found. recommended index is:\n- kind: Event\n properties:\n - name: category\n - name: pub_date\n direction: desc\n\nThe suggested index for this query is:\n- kind: Event\n properties:\n - name: category\n - name: pub_date\n direction: desc',) |
/base/alloc/tmpfs/dynamic_runtimes/python27g/25fef2553b936881/python27/python27_lib/versions/1/google/appengine/ext/ndb/query.py
in _run_to_list
def _run_to_list(self, results, options=None):
# Internal version of run_to_queue(), without a queue.
ctx = tasklets.get_context()
conn = ctx._conn
dsquery = self._get_query(conn)
rpc = dsquery.run_async(conn, options)
while rpc is not None:
batch = yield rpc...
if (batch.skipped_results and
datastore_query.FetchOptions.offset(options)):
offset = options.offset - batch.skipped_results
options = datastore_query.FetchOptions(offset=offset, config=options)
rpc = batch.next_batch_async(options)
for result in batch.results:
Variable | Value |
---|---|
self | Query(kind='Event', filters=AND(FilterNode('category', '=', datastore_types.Key.from_path(u'Category', 4617002, _app=u's~local-news-hrd')), FilterNode('pub_date', '<=', datetime.datetime(2024, 3, 19, 6, 43, 32))), orders=...) |
ctx | <google.appengine.ext.ndb.context.Context object at 0x3eb885a9a5d0> |
results | [] |
dsquery | Query(app='s~local-news-hrd', kind='Event', filter_predicate=CompositeFilter(AND, [PropertyFilter(u'=', <'category', datastore_types.Key.from_path(u'Category', 4617002, _app=u's~local-news-hrd')>), <google.appengine.datastore.datastore_query._PropertyRangeFilter object at 0x3eb8872ef690>]), order=CompositeOrder([PropertyOrder(<pub_date>, DESCENDING)])) |
rpc | <google.appengine.api.apiproxy_stub_map.UserRPC object at 0x3eb8872ef850> |
options | QueryOptions(batch_size=20, limit=20, offset=0) |
conn | <google.appengine.datastore.datastore_rpc.Connection object at 0x3eb885a9a8d0> |
/base/alloc/tmpfs/dynamic_runtimes/python27g/25fef2553b936881/python27/python27_lib/versions/1/google/appengine/ext/ndb/tasklets.py
in _on_rpc_completion
# TODO: emulate PEP 380 here?
raise NotImplementedError('Cannot defer to another generator.')
raise RuntimeError('A tasklet should not yield a plain value: '
'%.200s yielded %.200r' % (info, value))
def _on_rpc_completion(self, rpc, ns, ds_conn, gen):
try:
result = rpc.get_result()...
except GeneratorExit:
raise
except Exception, err:
_, _, tb = sys.exc_info()
self._help_tasklet_along(ns, ds_conn, gen, exc=err, tb=tb)
else:
Variable | Value |
---|---|
ds_conn | <google.appengine.datastore.datastore_rpc.Connection object at 0x3eb887393990> |
err | NeedIndexError(u'no matching index found. recommended index is:\n- kind: Event\n properties:\n - name: category\n - name: pub_date\n direction: desc\n\nThe suggested index for this query is:\n- kind: Event\n properties:\n - name: category\n - name: pub_date\n direction: desc',) |
self | <Future 3eb8873933d0 created by fetch_async(query.py:1239) for tasklet _run_to_list(query.py:987); exception NeedIndexError: no matching index found. recommended index is: - kind: Event properties: - name: category - name: pub_date direction: desc The suggested index for this query is: - kind: Event properties: - name: category - name: pub_date direction: desc> |
rpc | <google.appengine.api.apiproxy_stub_map.UserRPC object at 0x3eb8872ef850> |
ns | '' |
tb | <traceback object at 0x3eb87fee08c0> |
gen | <generator object _run_to_list at 0x3eb886d2d960> |
_ | NeedIndexError(u'no matching index found. recommended index is:\n- kind: Event\n properties:\n - name: category\n - name: pub_date\n direction: desc\n\nThe suggested index for this query is:\n- kind: Event\n properties:\n - name: category\n - name: pub_date\n direction: desc',) |
/base/alloc/tmpfs/dynamic_runtimes/python27g/25fef2553b936881/python27/python27_lib/versions/1/google/appengine/api/apiproxy_stub_map.py
in get_result
if self.__get_result_hook is None:
self.check_success()
return None
else:
return self.__get_result_hook(self)...
@classmethod
def __check_one(cls, rpcs):
"""Check the list of RPCs for one that is finished, or one that is running.
Args:
Variable | Value |
---|---|
self | <google.appengine.api.apiproxy_stub_map.UserRPC object at 0x3eb8872ef850> |
/base/alloc/tmpfs/dynamic_runtimes/python27g/25fef2553b936881/python27/python27_lib/versions/1/google/appengine/datastore/datastore_query.py
in __query_result_hook
yaml = datastore_index.IndexYamlForQuery(kind, ancestor, props)
xml = datastore_index.IndexXmlForQuery(kind, ancestor, props)
raise datastore_errors.NeedIndexError(
'\n'.join([str(exc), self._need_index_header, yaml]),
original_message=str(exc), header=self._need_index_header,
yaml_index=yaml, xml_index=xml)...
raise
query_result = rpc.response
self._batch_shared.process_batch(query_result)
if query_result.has_skipped_results_compiled_cursor():
Variable | Value |
---|---|
xml | ' <datastore-index kind="Event" ancestor="false">\n <property name="category" direction="asc" />\n <property name="pub_date" direction="desc" />\n </datastore-index>' |
kind | 'Event' |
exc | NeedIndexError('no matching index found. recommended index is:\n- kind: Event\n properties:\n - name: category\n - name: pub_date\n direction: desc\n',) |
self | <google.appengine.datastore.datastore_query.Batch object at 0x3eb8872ef610> |
yaml | '- kind: Event\n properties:\n - name: category\n - name: pub_date\n direction: desc' |
rpc | <google.appengine.api.apiproxy_stub_map.UserRPC object at 0x3eb8872ef850> |
props | Error in formatting: 2 |
ancestor | False |
_ | True |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
GAE_APPLICATION | 's~local-news-hrd' |
HTTP_X_GOOGLE_APPS_METADATA | 'domain=gmail.com,host=portoferreirahoje.com.br' |
REQUEST_ID_HASH | '3D66B1B9' |
SERVER_SOFTWARE | 'Google App Engine/1.9.91' |
SCRIPT_NAME | u'' |
HTTP_X_APPENGINE_CITYLATLONG | '39.043757,-77.487442' |
HTTP_X_CLOUD_TRACE_CONTEXT | '8113fe45bb9550c73dcf63c9d8455ee5/7129413491777732193' |
PATH_INFO | u'/eventos/geral' |
SERVER_PROTOCOL | 'HTTP/1.1' |
QUERY_STRING | '' |
HOME | '/base/data/home' |
HTTP_X_APPENGINE_DEFAULT_NAMESPACE | 'gmail.com' |
USER_ORGANIZATION | '' |
DEFAULT_VERSION_HOSTNAME | 'local-news-hrd.appspot.com' |
INSTANCE_ID | '00a22404dc3cf6f3d81ec9c3bf86000f53888848e3d1ebab4eab9479ffefaa346bb242df87455555094572fe82917f1c78dc8783f309f45e5bf70fffbcb3ec57a196' |
REQUEST_LOG_ID | '65f95e4300ff0e4acb3d66b1b90001737e6c6f63616c2d6e6577732d6872640001323032332d31312d31342d30396834396d2d67746d2d3300010125' |
APPENGINE_RUNTIME | 'python27' |
TZ | 'UTC' |
APPLICATION_ID | 's~local-news-hrd' |
SERVER_NAME | 'portoferreirahoje.com.br' |
REMOTE_ADDR | '54.242.75.224' |
GOOGLE_CLOUD_PROJECT | 'local-news-hrd' |
GCONV_PATH | '/base/alloc/tmpfs/dynamic_runtimes/python27g/25fef2553b936881/python27/gconv' |
wsgi.url_scheme | 'https' |
HTTP_TRACEPARENT | '00-8113fe45bb9550c73dcf63c9d8455ee5-62f0c3cc2a49fe61-00' |
GAE_ENV | 'standard' |
SERVER_PORT | '443' |
HTTP_X_APPENGINE_REGION | 'va' |
GCLOUD_PROJECT | 'local-news-hrd' |
PATH_TRANSLATED | '/base/data/home/apps/s~local-news-hrd/2023-11-14-09h49m-gtm-3.456331201377088235/django_bootstrap.py' |
GAE_DEPLOYMENT_ID | '456331201377088235' |
GAE_VERSION | '2023-11-14-09h49m-gtm-3' |
USER_IS_ADMIN | '0' |
CURRENT_MODULE_ID | 'default' |
CLOUD_TRACE_ENABLE_STACK_TRACE | '0' |
S2A_ACCESS_TOKEN | '2c6a5f190095caf1d29942ae3eacb898d0f2cef8863939d277db0613cd992522' |
CURRENT_VERSION_ID | '2023-11-14-09h49m-gtm-3.456331201377088235' |
GAE_SERVICE | 'default' |
PATH | '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' |
wsgi.input | <cStringIO.StringI object at 0x3eb8873f3a50> |
HTTP_USER_AGENT | 'claudebot' |
HTTP_HOST | 'portoferreirahoje.com.br' |
HTTPS | 'on' |
wsgi.multithread | True |
USER_ID | '' |
GAE_RUNTIME | 'python27' |
USER_EMAIL | '' |
REQUEST_URI | '/eventos/geral' |
HTTP_ACCEPT | '*/*' |
DATACENTER | 'us17' |
wsgi.version | (1, 0) |
HTTP_X_APPENGINE_CITY | 'ashburn' |
wsgi.run_once | False |
wsgi.errors | <google.appengine.api.logservice.logservice._LogsDequeBuffer object at 0x3eb8872b5790> |
wsgi.multiprocess | True |
HTTP_X_APPENGINE_COUNTRY | 'US' |
GAE_INSTANCE | '00a22404dc3cf6f3d81ec9c3bf86000f53888848e3d1ebab4eab9479ffefaa346bb242df87455555094572fe82917f1c78dc8783f309f45e5bf70fffbcb3ec57a196' |
PWD | '/' |
REQUEST_METHOD | 'GET' |
PYTHONUSERBASE | '/base/alloc/tmpfs/dynamic_runtimes/python27g/25fef2553b936881/python27/python27_dist' |
AUTH_DOMAIN | 'gmail.com' |
USER_NICKNAME | '' |
USER | 'appengine' |
settings
Setting | Value |
---|---|
USE_L10N | False |
USE_THOUSAND_SEPARATOR | False |
CSRF_COOKIE_SECURE | False |
LANGUAGE_CODE | 'en-us' |
ROOT_URLCONF | 'urls' |
MANAGERS | () |
DEFAULT_CHARSET | 'utf-8' |
STATIC_ROOT | '' |
ALLOWED_HOSTS | [] |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
DATABASE_HOST | '' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
SEND_BROKEN_LINK_EMAILS | False |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_NAME | 'sessionid' |
ADMIN_FOR | () |
TIME_INPUT_FORMATS | ('%H:%M:%S', '%H:%M') |
DATABASES | {} |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler') |
DEFAULT_CONTENT_TYPE | 'text/html' |
APPEND_SLASH | False |
FIRST_DAY_OF_WEEK | 0 |
DATABASE_ROUTERS | [] |
YEAR_MONTH_FORMAT | 'F Y' |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
SERVER_EMAIL | 'root@localhost' |
SESSION_COOKIE_PATH | '/' |
MIDDLEWARE_CLASSES | ('google.appengine.ext.appstats.recording.AppStatsDjangoMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware') |
USE_I18N | False |
THOUSAND_SEPARATOR | ',' |
SECRET_KEY | u'********************' |
LANGUAGE_COOKIE_NAME | 'django_language' |
FILE_UPLOAD_TEMP_DIR | None |
TRANSACTIONS_MANAGED | False |
LOGGING_CONFIG | 'django.utils.log.dictConfig' |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader') |
WSGI_APPLICATION | None |
TEMPLATE_DEBUG | True |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend',) |
FORCE_SCRIPT_NAME | None |
USE_X_FORWARDED_HOST | False |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SESSION_COOKIE_SECURE | False |
CSRF_COOKIE_DOMAIN | None |
FILE_CHARSET | 'utf-8' |
DEBUG | True |
SESSION_FILE_PATH | None |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
INSTALLED_APPS | ('django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions') |
LANGUAGES | (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')) |
DATABASE_ENGINE | '' |
DATABASE_NAME | '' |
PREPEND_WWW | False |
SECURE_PROXY_SSL_HEADER | None |
SESSION_COOKIE_HTTPONLY | True |
DATABASE_PORT | '' |
DEBUG_PROPAGATE_EXCEPTIONS | False |
MONTH_DAY_FORMAT | 'F j' |
LOGIN_URL | '/accounts/login/' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
TIME_FORMAT | 'P' |
AUTH_USER_MODEL | 'auth.User' |
DATE_INPUT_FORMATS | ('%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y') |
CSRF_COOKIE_NAME | 'csrftoken' |
EMAIL_HOST_PASSWORD | u'********************' |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
CACHE_MIDDLEWARE_ALIAS | 'default' |
SESSION_SAVE_EVERY_REQUEST | False |
ADMIN_MEDIA_PREFIX | '/media/' |
NUMBER_GROUPING | 0 |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_COOKIE_PATH | '/' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
DECIMAL_SEPARATOR | '.' |
IGNORABLE_404_URLS | () |
LOCALE_PATHS | () |
TEMPLATE_STRING_IF_INVALID | '' |
COMMENTS_ALLOW_PROFANITIES | False |
LOGOUT_URL | '/accounts/logout/' |
EMAIL_USE_TLS | False |
FIXTURE_DIRS | () |
EMAIL_HOST | 'localhost' |
DATE_FORMAT | 'N j, Y' |
MEDIA_ROOT | '' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
ADMINS | () |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
STATICFILES_DIRS | () |
MEDIA_URL | '' |
DATETIME_FORMAT | 'N j, Y, P' |
TEMPLATE_DIRS | ('/base/data/home/apps/s~local-news-hrd/2023-11-14-09h49m-gtm-3.456331201377088235/templates',) |
SITE_ID | 1 |
DISALLOWED_USER_AGENTS | () |
ALLOWED_INCLUDE_ROOTS | () |
LOGGING | {} |
SHORT_DATE_FORMAT | 'm/d/Y' |
DATABASE_USER | '' |
TEST_RUNNER | 'django.test.simple.DjangoTestSuiteRunner' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
TIME_ZONE | 'America/Los_Angeles' |
FILE_UPLOAD_MAX_MEMORY_SIZE | 13107200 |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
DEFAULT_TABLESPACE | '' |
TEMPLATE_CONTEXT_PROCESSORS | ('django.contrib.auth.context_processors.auth', 'django.core.context_processors.debug', 'django.core.context_processors.i18n', 'django.core.context_processors.media', 'django.core.context_processors.static', 'django.core.context_processors.tz', 'django.contrib.messages.context_processors.messages') |
SESSION_COOKIE_AGE | 1209600 |
SETTINGS_MODULE | 'settings' |
USE_ETAGS | False |
LANGUAGES_BIDI | ('he', 'ar', 'fa') |
DEFAULT_INDEX_TABLESPACE | '' |
INTERNAL_IPS | () |
STATIC_URL | None |
EMAIL_PORT | 25 |
USE_TZ | False |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
PASSWORD_HASHERS | u'********************' |
ABSOLUTE_URL_OVERRIDES | {} |
CACHE_MIDDLEWARE_SECONDS | 600 |
DATETIME_INPUT_FORMATS | ('%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y') |
DATABASE_PASSWORD | u'********************' |
EMAIL_HOST_USER | '' |
PROFANITIES_LIST | u'********************' |
You're seeing this error because you have DEBUG = True
in your
Django settings file. Change that to False
, and Django will
display a standard 500 page.