'DRE_Impacts'
Request Method: | GET |
---|---|
Request URL: | https://peak.powerforall.org/research/?DRE_Impacts=%5B%27Economic%27%2C+%27Cost-Benefit+Analysis%27%2C+%27Tools%27%5D&zoom=years&DRE_Economics=%5B%27Infrastructure%27%5D&limit=25&view=datasets&operator=OR&NOT_DRE_Impacts=%5B%27Security%27%2C+%27Health%27%5D&sort=newest&s=1&NOT_DRE_Technologies=%5B%27Wind%27%5D&synonyms=1&stemming=1 |
Django Version: | 1.11.4 |
Exception Type: | KeyError |
Exception Value: | 'DRE_Impacts' |
Exception Location: | /var/lib/opensemanticsearch/fact_finder/views.py in get_filters_links, line 2003 |
Python Executable: | /var/lib/opensemanticsearch/bin/python |
Python Version: | 3.5.2 |
Python Path: | ['/var/bin/python3', '/usr/lib/python35.zip', '/usr/lib/python3.5', '/usr/lib/python3.5/plat-x86_64-linux-gnu', '/usr/lib/python3.5/lib-dynload', '/usr/local/lib/python3.5/dist-packages', '/usr/lib/python3/dist-packages', '/var/lib/opensemanticsearch', '/usr/lib/python3/dist-packages', '/usr/lib/python3/dist-packages/opensemanticetl', 'env3/lib/site-packages/pdfminer', 'opensemanticetl', '/var/lib/opensemanticsearch/opensemanticetl', '/var/www', '/var/www'] |
Server time: | Fri, 29 Mar 2024 09:12:46 +0000 |
/usr/local/lib/python3.5/dist-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response, assigned=available_attrs(get_response))
def inner(request):
try:
response = get_response(request)...
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable | Value |
---|---|
exc | KeyError('DRE_Impacts',) |
get_response | <bound method BaseHandler._legacy_get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7faaf462f320>> |
request | <WSGIRequest: GET '/research/?DRE_Impacts=%5B%27Economic%27%2C+%27Cost-Benefit+Analysis%27%2C+%27Tools%27%5D&zoom=years&DRE_Economics=%5B%27Infrastructure%27%5D&limit=25&view=datasets&operator=OR&NOT_DRE_Impacts=%5B%27Security%27%2C+%27Health%27%5D&sort=newest&s=1&NOT_DRE_Technologies=%5B%27Wind%27%5D&synonyms=1&stemming=1'> |
/usr/local/lib/python3.5/dist-packages/django/core/handlers/base.py
in _legacy_get_response
# Apply request middleware
for middleware_method in self._request_middleware:
response = middleware_method(request)
if response:
break
if response is None:
response = self._get_response(request)...
return response
Variable | Value |
---|---|
middleware_method | <bound method SecurityMiddleware.process_request of <django.middleware.security.SecurityMiddleware object at 0x7faacaa6f940>> |
request | <WSGIRequest: GET '/research/?DRE_Impacts=%5B%27Economic%27%2C+%27Cost-Benefit+Analysis%27%2C+%27Tools%27%5D&zoom=years&DRE_Economics=%5B%27Infrastructure%27%5D&limit=25&view=datasets&operator=OR&NOT_DRE_Impacts=%5B%27Security%27%2C+%27Health%27%5D&sort=newest&s=1&NOT_DRE_Technologies=%5B%27Wind%27%5D&synonyms=1&stemming=1'> |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7faaf462f320> |
/usr/local/lib/python3.5/dist-packages/django/core/handlers/base.py
in _get_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:
response = self.process_exception_by_middleware(e, request)...
# Complain if the view returned None (a common error).
if response is None:
if isinstance(callback, types.FunctionType): # FBV
view_name = callback.__name__
else: # CBV
Variable | Value |
---|---|
callback | <function IndexView at 0x7faac947dbf8> |
callback_args | () |
callback_kwargs | {} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7faacaa61860>> |
request | <WSGIRequest: GET '/research/?DRE_Impacts=%5B%27Economic%27%2C+%27Cost-Benefit+Analysis%27%2C+%27Tools%27%5D&zoom=years&DRE_Economics=%5B%27Infrastructure%27%5D&limit=25&view=datasets&operator=OR&NOT_DRE_Impacts=%5B%27Security%27%2C+%27Health%27%5D&sort=newest&s=1&NOT_DRE_Technologies=%5B%27Wind%27%5D&synonyms=1&stemming=1'> |
resolver | <RegexURLResolver 'opensemanticsearch.urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=fact_finder.views.IndexView, args=(), kwargs={}, url_name=index, app_names=[], namespaces=['fact_finder']) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7faaf462f320> |
wrapped_callback | <function IndexView at 0x7faac947dbf8> |
/usr/local/lib/python3.5/dist-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:
response = self.process_exception_by_middleware(e, request)
# Complain if the view returned None (a common error).
if response is None:
if isinstance(callback, types.FunctionType): # FBV
Variable | Value |
---|---|
callback | <function IndexView at 0x7faac947dbf8> |
callback_args | () |
callback_kwargs | {} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7faacaa61860>> |
request | <WSGIRequest: GET '/research/?DRE_Impacts=%5B%27Economic%27%2C+%27Cost-Benefit+Analysis%27%2C+%27Tools%27%5D&zoom=years&DRE_Economics=%5B%27Infrastructure%27%5D&limit=25&view=datasets&operator=OR&NOT_DRE_Impacts=%5B%27Security%27%2C+%27Health%27%5D&sort=newest&s=1&NOT_DRE_Technologies=%5B%27Wind%27%5D&synonyms=1&stemming=1'> |
resolver | <RegexURLResolver 'opensemanticsearch.urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=fact_finder.views.IndexView, args=(), kwargs={}, url_name=index, app_names=[], namespaces=['fact_finder']) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7faaf462f320> |
wrapped_callback | <function IndexView at 0x7faac947dbf8> |
/var/lib/opensemanticsearch/fact_finder/views.py
in IndexView
# Pagination
pagination_params = pagination(result, params, start, limit)
# General Links
general_links_params = general_links(result, params, additional_params, date_params)
# general_links_params = []
facets_links_params = get_facets_links(result, params, facets_limit, selected_facets)
filters_links_params = get_filters_links(result, params, selected_facets, deselected_facets)...
render_html = 'doc-list.html'
if params['view'] == 'annotations':
render_html = 'annotations-list.html'
elif params['view'] == 'datasets':
render_html = 'datasets-list.html'
Variable | Value |
---|---|
additional_params | {'DRE_Economics': ['Infrastructure'], 'DRE_Impacts': ['Economic', 'Cost-Benefit Analysis', 'Tools'], 'NOT_DRE_Impacts': ['Security', 'Health'], 'NOT_DRE_Technologies': ['Wind'], 'NOT_path': [], 'annotation_sort': None, 'end_dt': None, 'limit': 25, 'operator': 'OR', 'path': None, 'q': None, 's': 1, 'sort': 'newest', 'start_dt': None, 'stemming': 1, 'synonyms': 1, 'view': 'datasets', 'zoom': 'years'} |
annotation_sort_params | {} |
date_params | {'date_label': '', 'downzoom': 'year', 'gap': '+1YEAR', 'upzoom': None, 'upzoom_end_dt': None, 'upzoom_label': '', 'upzoom_start_dt': None} |
deselected_facets | {'DRE_Impacts': ['Security', 'Health'], 'DRE_Technologies': ['Wind']} |
docs_pks | None |
facets_limit | {'tag_ss': 20} |
facets_links_params | [] |
general_links_params | {'datevalues': [], 'paths': {'all_paths': [], 'sub_paths': []}, 'uri_help': 'doc/help.en.html'} |
limit | 25 |
pagination_params | {'end': 25, 'is_next_page': True, 'is_prev_page': False, 'link_next': '?zoom=years&operator=OR&synonyms=1&DRE_Economics=%5B%27Infrastructure%27%5D&stemming=1&NOT_DRE_Impacts=%5B%27Security%27%2C+%27Health%27%5D&s=26&view=datasets&limit=25&sort=newest&NOT_DRE_Technologies=%5B%27Wind%27%5D&DRE_Impacts=%5B%27Economic%27%2C+%27Cost-Benefit+Analysis%27%2C+%27Tools%27%5D', 'link_prev': False, 'page': 1, 'pages': 68, 'start': 1, 'total_count': 1676} |
params | {'DRE_Economics': ['Infrastructure'], 'DRE_Impacts': ['Economic', 'Cost-Benefit Analysis', 'Tools'], 'NOT_DRE_Impacts': ['Security', 'Health'], 'NOT_DRE_Technologies': ['Wind'], 'NOT_path': [], 'annotation_sort': None, 'end_dt': None, 'limit': 25, 'operator': 'OR', 'path': None, 'q': None, 's': 1, 'sort': 'newest', 'start_dt': None, 'stemming': 1, 'synonyms': 1, 'view': 'datasets', 'zoom': 'years'} |
query | {} |
request | <WSGIRequest: GET '/research/?DRE_Impacts=%5B%27Economic%27%2C+%27Cost-Benefit+Analysis%27%2C+%27Tools%27%5D&zoom=years&DRE_Economics=%5B%27Infrastructure%27%5D&limit=25&view=datasets&operator=OR&NOT_DRE_Impacts=%5B%27Security%27%2C+%27Health%27%5D&sort=newest&s=1&NOT_DRE_Technologies=%5B%27Wind%27%5D&synonyms=1&stemming=1'> |
result | [<Dataset: Somalia Health Facilities Lacking Adequate Access To Electricity aa599bb4ec8f11ec81549604023238f8>, <Dataset: Ethiopia Electricity Generation by Source c5b7b1d2ec8c11ec81549604023238f8>, <Dataset: Africa Electricity Generation by Source b572d132ec8a11ec81549604023238f8>, <Dataset: Productive appliances users Energy data, Kitobo - Uganda 3df722e049a711e98e1abe7ef03840db>, <Dataset: Solar Water Pump Test Data_CSU2018 a01e6bf2203211e98e1abe7ef03840db>, <Dataset: Mill Test Data_CSU2018 66c97144203211e98e1abe7ef03840db>, <Dataset: Stick Welder Test Data_CSU2018 f304d00a203111e98e1abe7ef03840db>, <Dataset: Percent of Population Connected to Grid and Energy Uses in Uganda 2a48ce2c51c111eca5969604023238f8>, <Dataset: Independent and Grid-Injection Biomass in Congo 8d15b1fc4eb811eca5969604023238f8>, <Dataset: Independent and Grid-Injection Biomass in Congo db7dd32a4eb711eca5969604023238f8>, <Dataset: CO2 Emissions by Fuel 6f1d8e98065d11ec87d29604023238f8>, <Dataset: Primary Direct Energy Consumption by Source, World 1643061a041c11ec87d29604023238f8>, <Dataset: Global Power Plant Database around the World 2f116418f6e611eb87d29604023238f8>, <Dataset: Total Primary Energy Supply (TPES) and Total Final Energy Consumption in Sub-Sahara Africa 232e7018f6e711eb87d29604023238f8>, <Dataset: Total Energy Supply (TES) by Source, Africa 1990-2018 792c6d4096fb11eba4199604023238f8>, <Dataset: World Total Energy Consumption by Region and Fuel a3d8ce686d2411ebad9fbe7ef03840db>, <Dataset: Share of employed in agriculture - rural ccx_agr_pop_rur>, <Dataset: Share of employed in agriculture - urban ccx_agr_pop_urb>, <Dataset: Tanzania - Mini-Grid Locations abe894f6-4ece-11e9-9ad4-e6c4f05ca57c>, <Dataset: Volume of passenger transport relative to GDP tran_hv_pstra>, <Dataset: Angola 100m Population 2015 53885af8-9146-11e8-81a9-66fcc5219b6c>, <Dataset: Kenya population density 6278cc24-9235-11e8-81a9-66fcc5219b6c>, <Dataset: Africa - Electricity Transmission and Distribution Grid Map (2017) 1151942c-92dd-11e8-81a9-66fcc5219b6c>, <Dataset: Africa - Electricity Transmission and Distribution Grid Map (2017) a86e8d64-92e3-11e8-81a9-66fcc5219b6c>, <Dataset: Nigeria - NMIS health facility data (2014) c7202edc-92e5-11e8-81a9-66fcc5219b6c>, <Dataset: Nigeria - Population density (2015) 9cb844b0-96da-11e8-81a9-66fcc5219b6c>, <Dataset: Tanzania - Mini-Grid Locations (2017) mini-grid-locations-in-tanzania>, <Dataset: PM2.5 air pollution, population exposed to levels exceeding WHO guideline value (% of total) EN.ATM.PM25.MC.ZS>, <Dataset: ne_50m_admin_0_breakaway_disputed_areas ac8ced4c-652e-11e8-81a9-66fcc5219b6c>, <Dataset: ne_50m_admin_0_breakaway_disputed_areas 46667f8a-63ce-11e8-81a9-66fcc5219b6c>, <Dataset: If a generator is used, average proportion of electricity from a generator (%) IC.FRM.INFRA.IN10_C>, <Dataset: Percent of firms owning or sharing a generator IC.FRM.INFRA.IN9>, <Dataset: Global South - Renewable energy share in simulated mini-grids (2016) res-in-mini-grids>, <Dataset: Tanzania - Transmission Grid Network (2015) transmission-network-tanzania>, <Dataset: Tanzania - Prioritization of locations for off-grid rural electrification (2018) -tanzania---prioritization-of-locations-for-off-grid-rural-electrification--2018->, <Dataset: Locations of small micro-hydropower sites in Kenya 2a65004c-4392-11e8-a20f-66fcc5219b6c>, <Dataset: Tanzania - Solar Radiation Measurement Data (2015 - 2017) solarresource-measurements-tanzania-daressalaam-wb-esmap-header>, <Dataset: Nigeria - Kano Electricity Distribution Company - Grid Map (2016) edd1d1d2-4396-11e8-a20f-66fcc5219b6c>, <Dataset: Nigeria - Electricity Transmission Network (2015) 886a15a2-4396-11e8-a20f-66fcc5219b6c>, <Dataset: Kenya - Electricity Transmission Network 572a67c4-4393-11e8-a20f-66fcc5219b6c>, <Dataset: Census 2002 704093ac-5cb9-11e8-a20f-66fcc5219b6c>, <Dataset: Nigeria - Transmission Network (2015) Planned c4872df8-4397-11e8-a20f-66fcc5219b6c>, <Dataset: Nigeria - Transmission Network (2015) Existing feb10008-4397-11e8-a20f-66fcc52... <trimmed 151221 bytes string> |
result_list | [{'datetime': 'Jun 15, 2022', 'description': '', 'id': 36698, 'identifier': 'aa599bb4ec8f11ec81549604023238f8', 'is_geo': False, 'is_viz': True, 'pk': 36698, 'source': 'EnergyData.Info', 'title': 'Somalia Health Facilities Lacking Adequate Access To Electricity'}, {'datetime': 'Jun 15, 2022', 'description': '', 'id': 36697, 'identifier': 'c5b7b1d2ec8c11ec81549604023238f8', 'is_geo': False, 'is_viz': True, 'pk': 36697, 'source': 'Ember', 'title': 'Ethiopia Electricity Generation by Source'}, {'datetime': 'Jun 15, 2022', 'description': '', 'id': 36696, 'identifier': 'b572d132ec8a11ec81549604023238f8', 'is_geo': False, 'is_viz': True, 'pk': 36696, 'source': 'Ember', 'title': 'Africa Electricity Generation by Source'}, {'datetime': 'Dec 02, 2021', 'description': '', 'id': 36131, 'identifier': '3df722e049a711e98e1abe7ef03840db', 'is_geo': False, 'is_viz': True, 'pk': 36131, 'source': 'Absolute Energy', 'title': 'Productive appliances users Energy data, Kitobo - Uganda'}, {'datetime': 'Dec 02, 2021', 'description': 'The data included here is a result of laboratory testing in ' 'partnership between Factor[e] Ventures and Colorado State ' 'University. All testing was completed using a modified ' 'version of IEC 62253:2011. Metadata details, data ' 'interpretation, and further information can be found in a ' 'separate report titled "Laboratory Characterization of ' 'Income Generating Appliances" that is hosted on the PEAK ' 'database.', 'id': 36121, 'identifier': 'a01e6bf2203211e98e1abe7ef03840db', 'is_geo': False, 'is_viz': False, 'pk': 36121, 'source': 'Factor[e] Ventures', 'title': 'Solar Water Pump Test Data_CSU2018'}, {'datetime': 'Dec 02, 2021', 'description': 'The data included here is a result of laboratory testing in ' 'partnership between Factor[e] Ventures and Colorado State ' 'University. Metadata details, data interpretation, and ' 'further information can be found in a separate report titled ' '"Laboratory Characterization of Income Generating ' 'Appliances" that is hosted on the PEAK database.', 'id': 36120, 'identifier': '66c97144203211e98e1abe7ef03840db', 'is_geo': False, 'is_viz': False, 'pk': 36120, 'source': 'Factor[e] Ventures', 'title': 'Mill Test Data_CSU2018'}, {'datetime': 'Dec 02, 2021', 'description': 'The data included here is a result of laboratory testing in ' 'partnership between Factor[e] Ventures and Colorado State ' 'University. Metadata details, data interpretation, and ' 'further information can be found in a separate report titled ' '"Laboratory Characterization of Income Generating ' 'Appliances" that is hosted on the PEAK database.', 'id': 36119, 'identifier': 'f304d00a203111e98e1abe7ef03840db', 'is_geo': False, 'is_viz': False, 'pk': 36119, 'source': 'Factor[e] Ventures', 'title': 'Stick Welder Test Data_CSU2018'}, {'datetime': 'Nov 30, 2021', 'description': '', 'id': 36684, 'identifier': '2a48ce2c51c111eca5969604023238f8', 'is_geo': True, 'is_viz': True, 'pk': 36684, 'source': 'PEAK', 'title': 'Percent of Population Connected to Grid and Energy Uses in ' 'Uganda '}, {'datetime': 'Nov 26, 2021', 'description': '', 'id': 36680, 'identifier': '8d15b1fc4eb811eca5969604023238f8', 'is_geo': True, 'is_viz': True, 'pk': 36680, 'source': 'PEAK', 'title': 'Independent and Grid-Injection Biomass in Congo'}, {'datetime': 'Nov 26, 2021', 'description': '', 'id': 36679, 'identifier': 'db7dd32a4eb711eca5969604023238f8', 'is_geo': True, 'is_viz': True, 'pk': 36679, 'source': 'PEAK', 'title': 'Independent and Grid-Injection Biomass in Congo'}, {'datetime': 'Aug 27, 2021', 'description': '', 'id': 36641, 'identifier': '6f1d8e98065d11ec87d29... <trimmed 8193 bytes string> |
result_nr | 1676 |
select_links_params | {'annotations': '?zoom=years&operator=OR&synonyms=1&DRE_Economics=%5B%27Infrastructure%27%5D&stemming=1&NOT_DRE_Impacts=%5B%27Security%27%2C+%27Health%27%5D&s=1&view=annotations&limit=25&sort=newest&NOT_DRE_Technologies=%5B%27Wind%27%5D&DRE_Impacts=%5B%27Economic%27%2C+%27Cost-Benefit+Analysis%27%2C+%27Tools%27%5D', 'audios': '?zoom=years&operator=OR&synonyms=1&DRE_Economics=%5B%27Infrastructure%27%5D&stemming=1&NOT_DRE_Impacts=%5B%27Security%27%2C+%27Health%27%5D&s=1&view=audios&limit=25&sort=newest&NOT_DRE_Technologies=%5B%27Wind%27%5D&DRE_Impacts=%5B%27Economic%27%2C+%27Cost-Benefit+Analysis%27%2C+%27Tools%27%5D', 'conns': '?zoom=years&operator=OR&synonyms=1&DRE_Economics=%5B%27Infrastructure%27%5D&stemming=1&NOT_DRE_Impacts=%5B%27Security%27%2C+%27Health%27%5D&s=0&view=graph&limit=0&sort=newest&NOT_DRE_Technologies=%5B%27Wind%27%5D&DRE_Impacts=%5B%27Economic%27%2C+%27Cost-Benefit+Analysis%27%2C+%27Tools%27%5D', 'datasets': '?zoom=years&operator=OR&synonyms=1&DRE_Economics=%5B%27Infrastructure%27%5D&stemming=1&NOT_DRE_Impacts=%5B%27Security%27%2C+%27Health%27%5D&s=1&view=datasets&limit=25&sort=newest&NOT_DRE_Technologies=%5B%27Wind%27%5D&DRE_Impacts=%5B%27Economic%27%2C+%27Cost-Benefit+Analysis%27%2C+%27Tools%27%5D', 'graph': '?zoom=years&operator=OR&synonyms=1&DRE_Economics=%5B%27Infrastructure%27%5D&stemming=1&NOT_DRE_Impacts=%5B%27Security%27%2C+%27Health%27%5D&s=1&view=graph&limit=0&sort=newest&NOT_DRE_Technologies=%5B%27Wind%27%5D&DRE_Impacts=%5B%27Economic%27%2C+%27Cost-Benefit+Analysis%27%2C+%27Tools%27%5D', 'images': '?zoom=years&operator=OR&synonyms=1&DRE_Economics=%5B%27Infrastructure%27%5D&stemming=1&NOT_DRE_Impacts=%5B%27Security%27%2C+%27Health%27%5D&s=1&view=images&limit=25&sort=newest&NOT_DRE_Technologies=%5B%27Wind%27%5D&DRE_Impacts=%5B%27Economic%27%2C+%27Cost-Benefit+Analysis%27%2C+%27Tools%27%5D', 'list': '?zoom=years&operator=OR&synonyms=1&DRE_Economics=%5B%27Infrastructure%27%5D&stemming=1&NOT_DRE_Impacts=%5B%27Security%27%2C+%27Health%27%5D&s=1&view=list&limit=25&sort=newest&NOT_DRE_Technologies=%5B%27Wind%27%5D&DRE_Impacts=%5B%27Economic%27%2C+%27Cost-Benefit+Analysis%27%2C+%27Tools%27%5D', 'preview': '?zoom=years&operator=OR&synonyms=1&DRE_Economics=%5B%27Infrastructure%27%5D&stemming=1&NOT_DRE_Impacts=%5B%27Security%27%2C+%27Health%27%5D&s=1&view=preview&limit=1&sort=newest&NOT_DRE_Technologies=%5B%27Wind%27%5D&DRE_Impacts=%5B%27Economic%27%2C+%27Cost-Benefit+Analysis%27%2C+%27Tools%27%5D', 'table': '?zoom=years&operator=OR&synonyms=1&DRE_Economics=%5B%27Infrastructure%27%5D&stemming=1&NOT_DRE_Impacts=%5B%27Security%27%2C+%27Health%27%5D&s=1&view=table&limit=20&sort=newest&NOT_DRE_Technologies=%5B%27Wind%27%5D&DRE_Impacts=%5B%27Economic%27%2C+%27Cost-Benefit+Analysis%27%2C+%27Tools%27%5D', 'trend': '?zoom=years&operator=OR&synonyms=1&DRE_Economics=%5B%27Infrastructure%27%5D&stemming=1&NOT_DRE_Impacts=%5B%27Security%27%2C+%27Health%27%5D&s=0&view=trend&limit=0&sort=newest&NOT_DRE_Technologies=%5B%27Wind%27%5D&DRE_Impacts=%5B%27Economic%27%2C+%27Cost-Benefit+Analysis%27%2C+%27Tools%27%5D', 'videos': '?zoom=years&operator=OR&synonyms=1&DRE_Economics=%5B%27Infrastructure%27%5D&stemming=1&NOT_DRE_Impacts=%5B%27Security%27%2C+%27Health%27%5D&s=1&view=videos&limit=25&sort=newest&NOT_DRE_Technologies=%5B%27Wind%27%5D&DRE_Impacts=%5B%27Economic%27%2C+%27Cost-Benefit+Analysis%27%2C+%27Tools%27%5D', 'words': '?zoom=years&operator=OR&synonyms=1&DRE_Economics=%5B%27Infrastructure%27%5D&stemming=1&NOT_DRE_Impacts=%5B%27Security%27%2C+%27Health%27%5D&s=0&view=words&limit=25&sort=newest&NOT_DRE_Technologies=%5B%27Wind%27%5D&DRE_Impacts=%5B%27Economic%27%2C+%27Cost-Benefit+Analysis%27%2C+%27Tools%27%5D'} |
selected_facets | {'DRE_Economics': ['Infrastructure'], 'DRE_Impacts': ['Economic', 'Cost-Benefit Analysis', 'Tools']} |
sort_links_params | {'newest': '?zoom=years&operator=OR&synonyms=1&DRE_Economics=%5B%27Infrastructure%27%5D&stemming=1&NOT_DRE_Impacts=%5B%27Security%27%2C+%27Health%27%5D&s=1&view=datasets&limit=25&sort=newest&NOT_DRE_Technologies=%5B%27Wind%27%5D&DRE_Impacts=%5B%27Economic%27%2C+%27Cost-Benefit+Analysis%27%2C+%27Tools%27%5D', 'oldest': '?zoom=years&operator=OR&synonyms=1&DRE_Economics=%5B%27Infrastructure%27%5D&stemming=1&NOT_DRE_Impacts=%5B%27Security%27%2C+%27Health%27%5D&s=1&view=datasets&limit=25&sort=oldest&NOT_DRE_Technologies=%5B%27Wind%27%5D&DRE_Impacts=%5B%27Economic%27%2C+%27Cost-Benefit+Analysis%27%2C+%27Tools%27%5D', 'relevance': '?zoom=years&operator=OR&synonyms=1&DRE_Economics=%5B%27Infrastructure%27%5D&stemming=1&NOT_DRE_Impacts=%5B%27Security%27%2C+%27Health%27%5D&s=1&view=datasets&limit=25&NOT_DRE_Technologies=%5B%27Wind%27%5D&DRE_Impacts=%5B%27Economic%27%2C+%27Cost-Benefit+Analysis%27%2C+%27Tools%27%5D'} |
start | 1 |
/var/lib/opensemanticsearch/fact_finder/views.py
in get_filters_links
#
# get links for selected facets
#
for facet_field in selected_facets:
for facet_value in selected_facets[facet_field]:
facet_link = buildurl_delvalue(params, facet_field, facet_value, 's', 1)
filters_links.append({'label':CFG['facets'][facet_field]['label']+": "+facet_value, 'link':facet_link})...
#
# get links for deselected facets
#
for facet_field in deselected_facets:
for facet_value in deselected_facets[facet_field]:
Variable | Value |
---|---|
deselected_facets | {'DRE_Impacts': ['Security', 'Health'], 'DRE_Technologies': ['Wind']} |
facet_field | 'DRE_Impacts' |
facet_link | '?zoom=years&operator=OR&synonyms=1&DRE_Economics=%5B%27Infrastructure%27%5D&stemming=1&NOT_DRE_Impacts=%5B%27Security%27%2C+%27Health%27%5D&s=1&view=datasets&limit=25&sort=newest&NOT_DRE_Technologies=%5B%27Wind%27%5D&DRE_Impacts=%5B%27Cost-Benefit+Analysis%27%2C+%27Tools%27%5D' |
facet_value | 'Economic' |
filters_links | [] |
params | {'DRE_Economics': ['Infrastructure'], 'DRE_Impacts': ['Economic', 'Cost-Benefit Analysis', 'Tools'], 'NOT_DRE_Impacts': ['Security', 'Health'], 'NOT_DRE_Technologies': ['Wind'], 'NOT_path': [], 'annotation_sort': None, 'end_dt': None, 'limit': 25, 'operator': 'OR', 'path': None, 'q': None, 's': 1, 'sort': 'newest', 'start_dt': None, 'stemming': 1, 'synonyms': 1, 'view': 'datasets', 'zoom': 'years'} |
search_result | [<Dataset: Somalia Health Facilities Lacking Adequate Access To Electricity aa599bb4ec8f11ec81549604023238f8>, <Dataset: Ethiopia Electricity Generation by Source c5b7b1d2ec8c11ec81549604023238f8>, <Dataset: Africa Electricity Generation by Source b572d132ec8a11ec81549604023238f8>, <Dataset: Productive appliances users Energy data, Kitobo - Uganda 3df722e049a711e98e1abe7ef03840db>, <Dataset: Solar Water Pump Test Data_CSU2018 a01e6bf2203211e98e1abe7ef03840db>, <Dataset: Mill Test Data_CSU2018 66c97144203211e98e1abe7ef03840db>, <Dataset: Stick Welder Test Data_CSU2018 f304d00a203111e98e1abe7ef03840db>, <Dataset: Percent of Population Connected to Grid and Energy Uses in Uganda 2a48ce2c51c111eca5969604023238f8>, <Dataset: Independent and Grid-Injection Biomass in Congo 8d15b1fc4eb811eca5969604023238f8>, <Dataset: Independent and Grid-Injection Biomass in Congo db7dd32a4eb711eca5969604023238f8>, <Dataset: CO2 Emissions by Fuel 6f1d8e98065d11ec87d29604023238f8>, <Dataset: Primary Direct Energy Consumption by Source, World 1643061a041c11ec87d29604023238f8>, <Dataset: Global Power Plant Database around the World 2f116418f6e611eb87d29604023238f8>, <Dataset: Total Primary Energy Supply (TPES) and Total Final Energy Consumption in Sub-Sahara Africa 232e7018f6e711eb87d29604023238f8>, <Dataset: Total Energy Supply (TES) by Source, Africa 1990-2018 792c6d4096fb11eba4199604023238f8>, <Dataset: World Total Energy Consumption by Region and Fuel a3d8ce686d2411ebad9fbe7ef03840db>, <Dataset: Share of employed in agriculture - rural ccx_agr_pop_rur>, <Dataset: Share of employed in agriculture - urban ccx_agr_pop_urb>, <Dataset: Tanzania - Mini-Grid Locations abe894f6-4ece-11e9-9ad4-e6c4f05ca57c>, <Dataset: Volume of passenger transport relative to GDP tran_hv_pstra>, <Dataset: Angola 100m Population 2015 53885af8-9146-11e8-81a9-66fcc5219b6c>, <Dataset: Kenya population density 6278cc24-9235-11e8-81a9-66fcc5219b6c>, <Dataset: Africa - Electricity Transmission and Distribution Grid Map (2017) 1151942c-92dd-11e8-81a9-66fcc5219b6c>, <Dataset: Africa - Electricity Transmission and Distribution Grid Map (2017) a86e8d64-92e3-11e8-81a9-66fcc5219b6c>, <Dataset: Nigeria - NMIS health facility data (2014) c7202edc-92e5-11e8-81a9-66fcc5219b6c>, <Dataset: Nigeria - Population density (2015) 9cb844b0-96da-11e8-81a9-66fcc5219b6c>, <Dataset: Tanzania - Mini-Grid Locations (2017) mini-grid-locations-in-tanzania>, <Dataset: PM2.5 air pollution, population exposed to levels exceeding WHO guideline value (% of total) EN.ATM.PM25.MC.ZS>, <Dataset: ne_50m_admin_0_breakaway_disputed_areas ac8ced4c-652e-11e8-81a9-66fcc5219b6c>, <Dataset: ne_50m_admin_0_breakaway_disputed_areas 46667f8a-63ce-11e8-81a9-66fcc5219b6c>, <Dataset: If a generator is used, average proportion of electricity from a generator (%) IC.FRM.INFRA.IN10_C>, <Dataset: Percent of firms owning or sharing a generator IC.FRM.INFRA.IN9>, <Dataset: Global South - Renewable energy share in simulated mini-grids (2016) res-in-mini-grids>, <Dataset: Tanzania - Transmission Grid Network (2015) transmission-network-tanzania>, <Dataset: Tanzania - Prioritization of locations for off-grid rural electrification (2018) -tanzania---prioritization-of-locations-for-off-grid-rural-electrification--2018->, <Dataset: Locations of small micro-hydropower sites in Kenya 2a65004c-4392-11e8-a20f-66fcc5219b6c>, <Dataset: Tanzania - Solar Radiation Measurement Data (2015 - 2017) solarresource-measurements-tanzania-daressalaam-wb-esmap-header>, <Dataset: Nigeria - Kano Electricity Distribution Company - Grid Map (2016) edd1d1d2-4396-11e8-a20f-66fcc5219b6c>, <Dataset: Nigeria - Electricity Transmission Network (2015) 886a15a2-4396-11e8-a20f-66fcc5219b6c>, <Dataset: Kenya - Electricity Transmission Network 572a67c4-4393-11e8-a20f-66fcc5219b6c>, <Dataset: Census 2002 704093ac-5cb9-11e8-a20f-66fcc5219b6c>, <Dataset: Nigeria - Transmission Network (2015) Planned c4872df8-4397-11e8-a20f-66fcc5219b6c>, <Dataset: Nigeria - Transmission Network (2015) Existing feb10008-4397-11e8-a20f-66fcc52... <trimmed 151221 bytes string> |
selected_facets | {'DRE_Economics': ['Infrastructure'], 'DRE_Impacts': ['Economic', 'Cost-Benefit Analysis', 'Tools']} |
AnonymousUser
Variable | Value |
---|---|
zoom | 'years' |
operator | 'OR' |
DRE_Impacts | "['Economic', 'Cost-Benefit Analysis', 'Tools']" |
DRE_Economics | "['Infrastructure']" |
stemming | '1' |
limit | '25' |
NOT_DRE_Impacts | "['Security', 'Health']" |
s | '1' |
view | 'datasets' |
sort | 'newest' |
NOT_DRE_Technologies | "['Wind']" |
synonyms | '1' |
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
CONTEXT_DOCUMENT_ROOT | '/var/www/html' |
CONTEXT_PREFIX | '' |
DOCUMENT_ROOT | '/var/www/html' |
GATEWAY_INTERFACE | 'CGI/1.1' |
HTTP_ACCEPT | '*/*' |
HTTP_HOST | 'peak.powerforall.org' |
HTTP_USER_AGENT | 'claudebot' |
PATH_INFO | '/research/' |
PATH_TRANSLATED | '/var/lib/opensemanticsearch/opensemanticsearch/wsgi.py/research/' |
QUERY_STRING | 'DRE_Impacts=%5B%27Economic%27%2C+%27Cost-Benefit+Analysis%27%2C+%27Tools%27%5D&zoom=years&DRE_Economics=%5B%27Infrastructure%27%5D&limit=25&view=datasets&operator=OR&NOT_DRE_Impacts=%5B%27Security%27%2C+%27Health%27%5D&sort=newest&s=1&NOT_DRE_Technologies=%5B%27Wind%27%5D&synonyms=1&stemming=1' |
REMOTE_ADDR | '52.55.19.189' |
REMOTE_PORT | '58274' |
REQUEST_METHOD | 'GET' |
REQUEST_SCHEME | 'https' |
REQUEST_URI | '/research/?DRE_Impacts=%5B%27Economic%27%2C+%27Cost-Benefit+Analysis%27%2C+%27Tools%27%5D&zoom=years&DRE_Economics=%5B%27Infrastructure%27%5D&limit=25&view=datasets&operator=OR&NOT_DRE_Impacts=%5B%27Security%27%2C+%27Health%27%5D&sort=newest&s=1&NOT_DRE_Technologies=%5B%27Wind%27%5D&synonyms=1&stemming=1' |
SCRIPT_FILENAME | '/var/lib/opensemanticsearch/opensemanticsearch/wsgi.py' |
SCRIPT_NAME | '' |
SERVER_ADDR | '10.1.1.67' |
SERVER_ADMIN | '[no address given]' |
SERVER_NAME | 'peak.powerforall.org' |
SERVER_PORT | '443' |
SERVER_PROTOCOL | 'HTTP/1.1' |
SERVER_SIGNATURE | ('<address>Apache/2.4.18 (Ubuntu) Server at peak.powerforall.org Port ' '443</address>\n') |
SERVER_SOFTWARE | 'Apache/2.4.18 (Ubuntu)' |
SSL_TLS_SNI | 'peak.powerforall.org' |
apache.version | (2, 4, 18) |
mod_wsgi.application_group | 'peak202.percepticon.net|' |
mod_wsgi.callable_object | 'application' |
mod_wsgi.daemon_connects | '1' |
mod_wsgi.daemon_restarts | '0' |
mod_wsgi.daemon_start | '1711703565222673' |
mod_wsgi.enable_sendfile | '0' |
mod_wsgi.handler_script | '' |
mod_wsgi.input_chunked | '0' |
mod_wsgi.listener_host | '' |
mod_wsgi.listener_port | '443' |
mod_wsgi.process_group | 'peak' |
mod_wsgi.queue_start | '1711703565222562' |
mod_wsgi.request_handler | 'wsgi-script' |
mod_wsgi.request_start | '1711703565222390' |
mod_wsgi.script_reloading | '1' |
mod_wsgi.script_start | '1711703565290562' |
mod_wsgi.version | (4, 3, 0) |
wsgi.errors | <_io.TextIOWrapper encoding='utf-8'> |
wsgi.file_wrapper | '' |
wsgi.input | <mod_wsgi.Input object at 0x7faac84b5cf0> |
wsgi.multiprocess | False |
wsgi.multithread | True |
wsgi.run_once | False |
wsgi.url_scheme | 'https' |
wsgi.version | (1, 0) |
opensemanticsearch.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ACCOUNT_ADAPTER | 'accounts.adapter.AccountAdapter' |
ACCOUNT_AUTHENTICATION_METHOD | 'email' |
ACCOUNT_CONFIRM_EMAIL_ON_GET | False |
ACCOUNT_DEFAULT_HTTP_PROTOCOL | 'https' |
ACCOUNT_EMAIL_CONFIRMATION_ANONYMOUS_REDIRECT_URL | '/accounts/inactive' |
ACCOUNT_EMAIL_CONFIRMATION_AUTHENTICATED_REDIRECT_URL | '/accounts/email_confirmation_redirect' |
ACCOUNT_EMAIL_CONFIRMATION_EXPIRE_DAYS | 1 |
ACCOUNT_EMAIL_REQUIRED | True |
ACCOUNT_EMAIL_VERIFICATION | 'mandatory' |
ACCOUNT_LOGIN_ATTEMPTS_LIMIT | 5 |
ACCOUNT_LOGIN_ATTEMPTS_TIMEOUT | 300 |
ACCOUNT_LOGIN_ON_EMAIL_CONFIRMATION | False |
ACCOUNT_LOGOUT_ON_GET | True |
ACCOUNT_LOGOUT_ON_PASSWORD_CHANGE | '********************' |
ACCOUNT_LOGOUT_REDIRECT_URL | '/accounts/login/' |
ACCOUNT_PASSWORD_MIN_LENGTH | '********************' |
ACCOUNT_SESSION_REMEMBER | None |
ACCOUNT_SIGNUP_FORM_CLASS | 'accounts.forms.signup.RegistrationForm' |
ACCOUNT_UNIQUE_EMAIL | True |
ACCOUNT_USERNAME_REQUIRED | False |
ADMINS | [] |
ALLOWED_HOSTS | ['*'] |
APPEND_SLASH | True |
APPROVE_ALL_DOMAINS | True |
AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend', 'allauth.account.auth_backends.AuthenticationBackend', 'accounts.backends.EmailAuthBackend') |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'accounts.User' |
AUTO_APPROVE_DOC | True |
BASE_DIR | '/var/lib/opensemanticsearch' |
BASE_URL | 'https://peak.powerforall.org' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CELERY_IMPORTS | ('opensemanticetl.tasks', 'documents.tasks', 'google_analytics.tasks') |
CELERY_RESULT_BACKEND | 'amqp://guest@localhost:5672//' |
CFG | {'disable_view_graph': True, 'disable_view_words': True, 'facets': {'DRE_Economics': {'label': 'DRE Economics'}, 'DRE_Economics_match_shingle': {'label': 'DRE Economics (automatic ' 'shingeld match)'}, 'DRE_Impacts': {'label': 'DRE Impacts'}, 'DRE_Impacts_match_shingle': {'label': 'DRE Impacts (automatic ' 'shingeld match)'}, 'DRE_Policies': {'label': 'DRE Policies'}, 'DRE_Policies_match_shingle': {'label': 'DRE Policies (automatic ' 'shingeld match)'}, 'DRE_Technologies': {'label': 'DRE Technologies'}, 'DRE_Technologies_match_shingle': {'label': 'DRE Technologies ' '(automatic shingeld ' 'match)'}, 'East_Asia___Pacific': {'label': 'East Asia & Pacific'}, 'East_Asia___Pacific_match_shingle': {'label': 'East Asia & ' 'Pacific (automatic ' 'shingeld match)'}, 'Europe___Central_Asia': {'label': 'Europe & Central Asia'}, 'Europe___Central_Asia_match_shingle': {'label': 'Europe & Central ' 'Asia (automatic ' 'shingeld match)'}, 'Latin_America___Caribbean': {'label': 'Latin America & Caribbean'}, 'Latin_America___Caribbean_match_shingle': {'label': 'Latin ' 'America & ' 'Caribbean ' '(automatic ' 'shingeld ' 'match)'}, 'Middle_East___North_Africa': {'label': 'Middle East & North ' 'Africa'}, 'Middle_East___North_Africa_match_shingle': {'label': 'Middle East ' '& North ' 'Africa ' '(automatic ' 'shingeld ' 'match)'}, 'North_America': {'label': 'North America'}, 'North_America_match_shingle': {'label': 'North America (automatic ' 'shingeld match)'}, 'South_Asia': {'label': 'South Asia'}, 'South_Asia_match_shingle': {'label': 'South Asia (automatic ' 'shingeld match)'}, 'Sub-Saharan_Africa': {'label': 'Sub-Saharan Africa'}, 'Sub-Saharan_Africa_match_shingle': {'label': 'Sub-Saharan Africa ' '(automatic shingeld ' 'match)'}, 'World': {'label': 'World'}, 'World_match_shingle': {'label': 'World (automatic shingeld ' 'match)'}, 'tag_ss': {'facet_limit': 20, 'label': 'Tag', 'snippets_enabled': True, 'snippets_limit': 10}}, 'language': 'en', 'languages': ['en', 'es', 'fr', 'de', 'nl', 'pt', 'it', 'cz', 'ro', 'ar', 'fa'], 'metadata': {'server': '/search-apps/annotate/edit?uri='}, 'newest_on_empty_query': True, 'preview_allowed': True, 'snippetsize': 300, 'solr': {'admin': {'uri': False}, 'core': 'core1', 'host': 'localhost', 'path': '/solr', 'port': 8983}} |
CHARTS_URL | 'data/datasets/charts/' |
CSRF_COOKIE_AGE | 31449600 |
CSRF_COOKIE_DOMAIN | None |
CSRF_COOKIE_HTTPONLY | False |
CSRF_COOKIE_NAME | 'csrftoken' |
CSRF_COOKIE_PATH | '/' |
CSRF_COOKIE_SECURE | False |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_HEADER_NAME | 'HTTP_X_CSRFTOKEN' |
CSRF_TRUSTED_ORIGINS | [] |
CSRF_USE_SESSIONS | False |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.postgresql', 'HOST': 'localhost', 'NAME': 'peak', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '5432', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'sbarnard'}} |
DATABASE_ROUTERS | [] |
DATASET_IS_PRODUCTION | True |
DATASET_MANUAL_IMPORT_ERROR | 'data/datasets/manual_error/' |
DATASET_MANUAL_IMPORT_NOT_PROCESSED | 'data/datasets/manual_import/' |
DATASET_MANUAL_IMPORT_PROCESSED | 'data/datasets/manual_processed/' |
DATA_MANAGER | 'data_manager@powerforall.org' |
DATA_MANAGER_ID | 54 |
DATA_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
DATA_UPLOAD_MAX_NUMBER_FIELDS | 1000 |
DATETIME_FORMAT | 'N j, Y, P' |
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'] |
DATE_FORMAT | 'N j, Y' |
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'] |
DEBUG | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DEBUG_TOOLBAR_CONFIG | {'SHOW_TOOLBAR_CALLBACK': 'opensemanticsearch.settings.show_toolbar'} |
DEBUG_TOOLBAR_PANELS | ['debug_toolbar.panels.versions.VersionsPanel', 'debug_toolbar.panels.timer.TimerPanel', 'debug_toolbar.panels.settings.SettingsPanel', 'debug_toolbar.panels.headers.HeadersPanel', 'debug_toolbar.panels.request.RequestPanel', 'debug_toolbar.panels.sql.SQLPanel', 'debug_toolbar.panels.staticfiles.StaticFilesPanel', 'debug_toolbar.panels.templates.TemplatesPanel', 'debug_toolbar.panels.cache.CachePanel', 'debug_toolbar.panels.signals.SignalsPanel', 'debug_toolbar.panels.logging.LoggingPanel', 'debug_toolbar.panels.redirects.RedirectsPanel'] |
DECIMAL_SEPARATOR | '.' |
DEFAULT_CHARSET | 'utf-8' |
DEFAULT_CONTENT_TYPE | 'text/html' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL | 'peak@powerforall.org' |
DEFAULT_INDEX_TABLESPACE | '' |
DEFAULT_TABLESPACE | '' |
DELETED_IMAGES_FOLDER | 'data/images_deleted/' |
DISALLOWED_USER_AGENTS | [] |
DOCUMENT_MODEL | 'documents.document' |
DOC_DELETED_FILE | 'data/docs/deleted/' |
ELASTICSEARCH_INDEX | 'neonion' |
ELASTICSEARCH_URL | 'http://127.0.0.1:9200' |
EMAIL_BACKEND | 'sendgrid_backend.SendgridBackend' |
EMAIL_HOST | 'localhost' |
EMAIL_HOST_PASSWORD | '********************' |
EMAIL_HOST_USER | '' |
EMAIL_PORT | 25 |
EMAIL_SSL_CERTFILE | None |
EMAIL_SSL_KEYFILE | '********************' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
EMAIL_TIMEOUT | None |
EMAIL_USE_LOCALTIME | False |
EMAIL_USE_SSL | False |
EMAIL_USE_TLS | False |
ENDPOINT | 'http://localhost:8080/openrdf-sesame/repositories/neonion' |
ENDPOINT_ENABLED | False |
ENDPOINT_UPDATE | 'http://localhost:8080/openrdf-sesame/repositories/neonion/statements' |
ENV_OS | 'linux' |
EXCLUDE_COMMENT_BOX_URLS | ['data_visualization*', 'feedback_form', 'research*', 'my/edit_profile', 'geo_visualization*', 'datasets_list', 'maps_charts', 'my-docs-data'] |
FILE_CHARSET | 'utf-8' |
FILE_SIZE_LIMIT_FOR_OPTIMIZATION | 52428800 |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] |
FILE_UPLOAD_MAX_MEMORY_SIZE | 52428800 |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_TEMP_DIR | None |
FIRST_DAY_OF_WEEK | 0 |
FIXTURE_DIRS | [] |
FORCE_SCRIPT_NAME | None |
FORMAT_MODULE_PATH | None |
FORM_RENDERER | 'django.forms.renderers.DjangoTemplates' |
FROM_EMAIL | 'PEAK@powerforall.org' |
GEO_ORIGINAL | 'data/geo/originals/' |
GOOGLE_ANALYTICS | {'google_analytics_id': 'UA-51742646-1'} |
GOOGLE_ANALYTICS_IGNORE_PATH | ['/health/'] |
GOOGLE_TAG_ID | 'GTM-NBQR8H9' |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ('django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.sites', 'setup', 'allauth', 'allauth.account', 'allauth.socialaccount', 'rest_framework', 'django_filters', 'pipeline', 'leaflet', 'opensemanticsearch', 'thesaurus', 'crawler', 'files', 'datasources', 'annotate', 'search_list', 'fact_finder', 'csv_manager', 'rss_manager', 'ontologies', 'querytagger', 'morphology', 'hypothesis', 'neonion', 'api', 'store', 'documents', 'accounts', 'endpoint', 'annotationsets', 'django_social_share', 'gtm', 'snowpenguin.django.recaptcha2') |
INTERNAL_IPS | ['73.70.148.84', '73.70.148.84', '107.209.155.140'] |
INVITE_USER_EMAIL_CONFIRMATION_EXPIRE_DAYS | 3 |
INVITE_USER_SECRETE_KEY | '********************' |
KIBANA_URL | 'http://127.0.0.1:5601' |
LANGUAGES | [('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('dsb', 'Lower Sorbian'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-co', 'Colombian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gd', 'Scottish Gaelic'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hsb', 'Upper Sorbian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('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'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmål'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('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-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')] |
LANGUAGES_BIDI | ['he', 'ar', 'fa', 'ur'] |
LANGUAGE_CODE | 'en-us' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_NAME | 'django_language' |
LANGUAGE_COOKIE_PATH | '/' |
LEAFLET_CONFIG | {'OVERLAYS': [('Labels light ', 'https://api.mapbox.com/styles/v1/resourcewatch/cjgcf9rs05qnu2rrpp4qzucox/tiles/256/{z}/{x}/{y}?access_token=pk.eyJ1IjoicmVzb3VyY2V3YXRjaCIsImEiOiJjajFlcXZhNzcwMDBqMzNzMTQ0bDN6Y3U4In0.FRcIP_yusVaAy0mwAX1B8w', '<a href="https://www.mapbox.com/about/maps/" target="_blank">© ' 'Mapbox</a> <a href="http://www.openstreetmap.org/about/" ' 'target="_blank">© OpenStreetMap</a>'), ('Labels dark ', 'https://api.mapbox.com/styles/v1/resourcewatch/cjgcf9gqk9tmm2spd9zr0tml3/tiles/256/{z}/{x}/{y}?access_token=pk.eyJ1IjoicmVzb3VyY2V3YXRjaCIsImEiOiJjajFlcXZhNzcwMDBqMzNzMTQ0bDN6Y3U4In0.FRcIP_yusVaAy0mwAX1B8w', '<a href="https://www.mapbox.com/about/maps/" target="_blank">© ' 'Mapbox</a> <a href="http://www.openstreetmap.org/about/" ' 'target="_blank">© OpenStreetMap</a>'), ('Boundaries ', 'https://api.mapbox.com/styles/v1/resourcewatch/cjgcf8qdaai1x2rn6w3j4q805/tiles/256/{z}/{x}/{y}?access_token=pk.eyJ1IjoicmVzb3VyY2V3YXRjaCIsImEiOiJjajFlcXZhNzcwMDBqMzNzMTQ0bDN6Y3U4In0.FRcIP_yusVaAy0mwAX1B8w', '<a href="https://www.mapbox.com/about/maps/" target="_blank">© ' 'Mapbox</a> <a href="http://www.openstreetmap.org/about/" ' 'target="_blank">© OpenStreetMap</a>')], 'PLUGINS': {'ALL': {'css': <leaflet.utils.ListWithLazyItems object at 0x7faacaad4080>, 'js': <leaflet.utils.ListWithLazyItems object at 0x7faacaad4160>}, '__default__': {'css': <leaflet.utils.ListWithLazyItems object at 0x7faae5f75198>, 'js': <leaflet.utils.ListWithLazyItems object at 0x7faacaad4128>}, '__is_normalized__': True, 'esri-leaflet': {'auto-include': True, 'css': <leaflet.utils.ListWithLazyItems object at 0x7faacaad4198>, 'js': <leaflet.utils.ListWithLazyItems object at 0x7faacaad41d0>}, 'forms': {'auto-include': False, 'css': <leaflet.utils.ListWithLazyItems object at 0x7faacaa61588>, 'js': <leaflet.utils.ListWithLazyItems object at 0x7faacaa61630>}, 'leaflet-fullscreen': {'auto-include': True, 'css': <leaflet.utils.ListWithLazyItems object at 0x7faacaa61438>, 'js': <leaflet.utils.ListWithLazyItems object at 0x7faacaa614e0>}, 'leaflet-print': {'auto-include': True, 'css': <leaflet.utils.ListWithLazyItems object at 0x7faae5f67fd0>, 'js': <leaflet.utils.ListWithLazyItems object at 0x7faacaad40b8>}}, 'RESET_VIEW': False, 'SRID': 3857, 'TILES': [('Dark', 'https://api.mapbox.com/styles/v1/jcawri/cj0mhglox00a92slahe3obtpq/tiles/256/{z}/{x}/{y}?access_token=pk.eyJ1IjoiamNhd3JpIiwiYSI6ImNqMDd6N2NybzAwMHcyd29iZWlsems0enEifQ.eIqQeyQn5oCLkyivGtiVLg', '<a href="https://www.mapbox.com/about/maps/" target="_blank">© ' 'Mapbox</a> <a href="http://www.openstreetmap.org/about/" ' 'target="_blank">© OpenStreetMap</a>'), ('Light', 'https://api.mapbox.com/styles/v1/jcawri/cj0mhlipx00aa2slaxd738db2/tiles/256/{z}/{x}/{y}?access_token=pk.eyJ1IjoiamNhd3JpIiwiYSI6ImNqMDd6N2NybzAwMHcyd29iZWlsems0enEifQ.eIqQeyQn5oCLkyivGtiVLg', '<a href="https://www.mapbox.com/about/maps/" target="_blank">© ' 'Mapbox</a> <a href="http://www.openstreetmap.org/about/" ' 'target="_blank">© OpenStreetMap</a>'), ('Satellite', 'https://api.mapbox.com/styles/v1/jcawri/cj0cl6k8h00bu2sobqze86bcm/tiles/256/{z}/{x}/{y}?access_token=pk.eyJ1IjoiamNhd3JpIiwiYSI6ImNqMDd6N2NybzAwMHcyd29iZWlsems0enEifQ.eIqQeyQn5oCLkyivGtiVLg', '<a href="https://www.mapbox.com/about/maps/" target="_blank">© ' 'Mapbox</a> <a href="http://www.openstreetmap.org/about/" ' 'target="_blank">© OpenStreetMap</a>'), ('Terrain', 'https://api.mapbox.com/styles/v1/jcawri/cj8emql45a7g92suc538h2shw/tiles/256/{z}/{x}/{y}?access_token=pk.eyJ1IjoiamNhd3JpIiwiYSI6ImNqMDd6N2NybzAwMHcyd29iZWlsems0enEifQ.eIqQeyQn5oCLkyivGtiVLg', '<a href="https://www.mapbox.com/about/maps/" target="_blank">© ' 'Mapbox</a> <a href="http://www.openstreetmap.org/about/" ' 'target="_blank">© OpenStreetMap</a>')]} |
LOCALE_PATHS | ('/var/lib/opensemanticsearch/templates/locale',) |
LOCAL_SETTINGS | True |
LOGGING | {'disable_existing_loggers': False, 'formatters': {'simple': {'format': '%(asctime)s %(message)s'}}, 'handlers': {'console': {'class': 'logging.StreamHandler', 'formatter': 'simple', 'level': 'INFO'}}, 'loggers': {'accounts': {'handlers': ['console'], 'level': 'DEBUG'}, 'django': {'handlers': ['console'], 'level': 'INFO', 'propagate': True}, 'django.request': {'handlers': ['console'], 'level': 'ERROR', 'propagate': False}, 'documents': {'handlers': ['console'], 'level': 'DEBUG'}, 'store': {'handlers': ['console'], 'level': 'DEBUG'}}, 'version': 1} |
LOGGING_CONFIG | 'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | '/my-docs-data' |
LOGIN_URL | '/accounts/login/' |
LOGOUT_REDIRECT_URL | None |
MANAGERS | [] |
MANUAL_IMPORT_ERROR | 'data/docs/manual_error/' |
MANUAL_IMPORT_NOT_PROCESSED | 'data/docs/manual_import/' |
MANUAL_IMPORT_PROCESSED | 'data/docs/manual_processed/' |
MEDIA_ROOT | '/var/lib/opensemanticsearch/data/docs/uploads/' |
MEDIA_URL | '/var/lib/opensemanticsearch/data/docs/uploads/' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | None |
MIDDLEWARE_CLASSES | ('django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.auth.middleware.SessionAuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'django.middleware.security.SecurityMiddleware', 'django.middleware.gzip.GZipMiddleware', 'pipeline.middleware.MinifyHTMLMiddleware') |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | 'F j' |
NEONION_BASE_NAMESPACE | 'http://neonion.org/' |
NER_SERVICE_ENABLED | False |
NER_SERVICE_URL | 'http://localhost:6000' |
NONGEO_ORIGINAL | 'data/nongeo/originals/' |
NUMBER_GROUPING | 0 |
OCR_IMAGES_ROOT | '/var/lib/opensemanticsearch/data/images' |
OCR_IMAGES_URL | '/var/lib/opensemanticsearch/data/images/' |
OSS_FACETS_CONFIG | '/var/lib/opensemanticsearch/data/opensemanticsearch/config/' |
OSS_INDEX_FOR_FILE | '/var/lib/opensemanticsearch/data/docs/new/' |
OSS_MEDIA | '/var/lib/opensemanticsearch/data/docs/uploads/ontologies/' |
OSS_ONTOLOGIES_CONFIG | '/var/lib/opensemanticsearch/ontologies/config/' |
OSS_ONTOLOGIES_FILES | '/var/lib/opensemanticsearch/data/opensemanticsearch/ontologies/' |
PASSWORD_HASHERS | '********************' |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
PDFFIGURES_EXEC_JAR | '/var/lib/opensemanticsearch/pdffigures/pdffigures2-assembly-0.0.12.jar' |
PIPELINE | {'CSS_COMPRESSOR': False, 'JAVASCRIPT': {'angular_app': {'output_filename': 'js/angular_app.js', 'source_filenames': ('js/angular/app.js', 'js/angular/filters.js', 'js/angular/components.js', 'js/angular/root.js', 'js/angular/services/*.js', 'js/angular/controllers/**/*.js')}, 'annotator': {'output_filename': 'js/annotator.js', 'source_filenames': ('js/annotator/annotator.min.js', 'js/annotator.store.min.js', 'js/annotator/annotator.neonion.js', 'js/annotator/annotator.neonion.*.js', 'js/annotator/annotator.ner.js', 'js/pdf/pdf.js', 'js/pdf/text_layer_builder.js', 'js/pdf/ui_utils.js')}, 'stats': {'output_filename': 'js/stats.js', 'source_filenames': ('js/jquery.min.js', 'js/jquery-ui.min.js', 'js/angular/lib/angular.min.js', 'js/angular/lib/angular-cookies.min.js', 'js/angular/lib/angular-resource.min.js', 'js/angular/lib/angular-filter.min.js', 'js/angular/lib/ng-file-upload-shim.min.js', 'js/angular/lib/ng-file-upload.min.js', 'js/bootstrap.min.js')}}, 'JS_COMPRESSOR': False, 'PIPELINE_ENABLED': True} |
PIPELINE_CSS_COMPRESSOR | None |
PIPELINE_ENABLED | False |
PIPELINE_JS | {'angular_app': {'output_filename': 'js/angular_app.js', 'source_filenames': ('js/angular/app.js', 'js/angular/filters.js', 'js/angular/components.js', 'js/angular/root.js', 'js/angular/services/*.js', 'js/angular/controllers/**/*.js')}, 'annotator': {'output_filename': 'js/annotator.js', 'source_filenames': ('js/annotator/annotator.min.js', 'js/annotator.store.min.js', 'js/annotator/annotator.neonion.js', 'js/annotator/annotator.neonion.*.js', 'js/annotator/annotator.ner.js', 'js/pdf/pdf.js', 'js/pdf/text_layer_builder.js', 'js/pdf/ui_utils.js')}, 'stats': {'output_filename': 'js/stats.js', 'source_filenames': ('js/jquery.min.js', 'js/jquery-ui.min.js', 'js/angular/lib/angular.min.js', 'js/angular/lib/angular-cookies.min.js', 'js/angular/lib/angular-resource.min.js', 'js/angular/lib/angular-filter.min.js', 'js/angular/lib/ng-file-upload-shim.min.js', 'js/angular/lib/ng-file-upload.min.js', 'js/bootstrap.min.js')}} |
PIPELINE_JS_COMPRESSOR | None |
PREPEND_WWW | False |
PROJECT_PATH | '/var/lib/opensemanticsearch/opensemanticsearch/..' |
PUBLIC_ANNOTATOR_PASSWORD | '********************' |
PUBLIC_ANNOTATOR_USER | 'public@neonion.com' |
RECAPTCHA_PRIVATE_KEY | '********************' |
RECAPTCHA_PUBLIC_KEY | '********************' |
REST_FRAMEWORK | {'DEFAULT_AUTHENTICATION_CLASSES': ['rest_framework.authentication.SessionAuthentication'], 'DEFAULT_FILTER_BACKENDS': ('django_filters.rest_framework.DjangoFilterBackend',), 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',)} |
ROOT_URLCONF | 'opensemanticsearch.urls' |
SECRET_KEY | '********************' |
SECURE_BROWSER_XSS_FILTER | False |
SECURE_CONTENT_TYPE_NOSNIFF | False |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
SECURE_HSTS_PRELOAD | False |
SECURE_HSTS_SECONDS | 0 |
SECURE_PROXY_SSL_HEADER | None |
SECURE_REDIRECT_EXEMPT | [] |
SECURE_SSL_HOST | None |
SECURE_SSL_REDIRECT | False |
SENDGRID_API_KEY | '********************' |
SENDGRID_SANDBOX_MODE_IN_DEBUG | False |
SERVER_EMAIL | 'root@localhost' |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_AGE | 1209600 |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_HTTPONLY | True |
SESSION_COOKIE_NAME | 'sessionid' |
SESSION_COOKIE_PATH | '/' |
SESSION_COOKIE_SECURE | False |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
SESSION_FILE_PATH | None |
SESSION_SAVE_EVERY_REQUEST | False |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
SETTINGS_MODULE | 'opensemanticsearch.settings' |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
SHORT_DATE_FORMAT | 'm/d/Y' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
SITE_ID | 1 |
STATICFILES_DIRS | ('/var/lib/opensemanticsearch/common/static',) |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder', 'pipeline.finders.PipelineFinder') |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | '/var/lib/opensemanticsearch/static/' |
STATIC_URL | '/static/' |
SUMMARY_SORT_PRIORITY | {'org_is_partner': 2, 'power for all': 1} |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/var/lib/opensemanticsearch/common/templates', '/var/lib/opensemanticsearch/common/static'], 'OPTIONS': {'context_processors': ['django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'neonion.processors.system_settings', 'django.template.context_processors.i18n', 'django.template.context_processors.media', 'django.template.context_processors.static', 'django.template.context_processors.tz']}}] |
TEST_NON_SERIALIZED_APPS | [] |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
THOUSAND_SEPARATOR | ',' |
TIME_FORMAT | 'P' |
TIME_INPUT_FORMATS | ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] |
TIME_ZONE | 'UTC' |
UPLOAD_FILE_ORIGINAL | 'data/docs/original/' |
UPLOAD_NEW_FILE | '/var/lib/opensemanticsearch/data/docs/unindexed/' |
UPLOAD_NEW_FILE_INDEX | '/var/lib/opensemanticsearch/data/docs/new/' |
USER_LOGGING_ENABLED | True |
USE_ETAGS | False |
USE_I18N | True |
USE_L10N | True |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | True |
USE_X_FORWARDED_HOST | False |
USE_X_FORWARDED_PORT | False |
WSGI_APPLICATION | 'opensemanticsearch.wsgi.application' |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
YEAR_MONTH_FORMAT | 'F Y' |
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 page generated by the handler for this status code.