You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If user is not logged in and clicks on Samples, the page crashes. Container logs show below message:
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/flask/app.py", line 1516, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/lib/python3.10/site-packages/flask/app.py", line 1502, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
File "/srv/app/src/ckan/ckan/config/middleware/../../views/dataset.py", line 387, in search
return base.render(
File "/srv/app/src/ckan/ckan/lib/base.py", line 107, in render
return flask_render_template(template_name, **extra_vars)
File "/usr/lib/python3.10/site-packages/flask/templating.py", line 147, in render_template
return _render(
File "/usr/lib/python3.10/site-packages/flask/templating.py", line 128, in _render
rv = template.render(context)
File "/usr/lib/python3.10/site-packages/jinja2/environment.py", line 1301, in render
self.environment.handle_exception()
File "/usr/lib/python3.10/site-packages/jinja2/environment.py", line 936, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/usr/lib/python3.10/site-packages/ckanext/igsn_theme/templates/package/search.html", line 1, in top-level template code
{% ckan_extends %}
File "/srv/app/src/ckanext-dcat/ckanext/dcat/plugins/../templates/package/search.html", line 1, in top-level template code
{% ckan_extends %}
File "/srv/app/src/ckan/ckan/templates/package/search.html", line 2, in top-level template code
{% import 'macros/form.html' as form %}
File "/usr/lib/python3.10/site-packages/ckanext/igsn_theme/templates/page.html", line 3, in top-level template code
{% set display_secondary = not (h.is_creating_or_editing_dataset() or h.is_creating_or_editing_org())%}
File "/shared/templates/page.html", line 3, in top-level template code
{% set is_creating_or_editing_dataset = h.is_creating_or_editing_dataset() %}
File "/srv/app/src/ckan/ckan/templates/page.html", line 1, in top-level template code
{% extends "base.html" %}
File "/usr/lib/python3.10/site-packages/ckanext/igsn_theme/templates/base.html", line 1, in top-level template code
{% ckan_extends %}
File "/srv/app/src/ckanext-scheming/ckanext/scheming/templates/base.html", line 1, in top-level template code
{% ckan_extends %}
File "/srv/app/src/ckan/ckan/templates/base.html", line 108, in top-level template code
{%- block page %}{% endblock -%}
File "/srv/app/src/ckan/ckan/templates/page.html", line 19, in block 'page'
{%- block content %}
File "/srv/app/src/ckan/ckan/templates/page.html", line 22, in block 'content'
{% block main_content %}
File "/srv/app/src/ckan/ckan/templates/page.html", line 74, in block 'main_content'
{% block primary %}
File "/usr/lib/python3.10/site-packages/ckanext/igsn_theme/templates/page.html", line 38, in block 'primary'
{% block primary_content %}
File "/srv/app/src/ckan/ckan/templates/package/search.html", line 37, in block 'primary_content'
{% block package_search_results_list %}
File "/srv/app/src/ckan/ckan/templates/package/search.html", line 38, in block 'package_search_results_list'
{{ h.snippet('snippets/package_list.html', packages=page.items) }}
File "/srv/app/src/ckan/ckan/lib/helpers.py", line 1776, in snippet
return base.render_snippet(template_name, **kw)
File "/srv/app/src/ckan/ckan/lib/base.py", line 72, in render_snippet
output = render(template_name, extra_vars=kw)
File "/srv/app/src/ckan/ckan/lib/base.py", line 107, in render
return flask_render_template(template_name, **extra_vars)
File "/usr/lib/python3.10/site-packages/flask/templating.py", line 147, in render_template
return _render(
File "/usr/lib/python3.10/site-packages/flask/templating.py", line 128, in _render
rv = template.render(context)
File "/usr/lib/python3.10/site-packages/jinja2/environment.py", line 1301, in render
self.environment.handle_exception()
File "/usr/lib/python3.10/site-packages/jinja2/environment.py", line 936, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/usr/lib/python3.10/site-packages/ckanext/igsn_theme/templates/snippets/package_list.html", line 11, in top-level template code
{% block package_list %}
File "/usr/lib/python3.10/site-packages/ckanext/igsn_theme/templates/snippets/package_list.html", line 26, in block 'package_list'
{% block package_list_inner %}
File "/usr/lib/python3.10/site-packages/ckanext/igsn_theme/templates/snippets/package_list.html", line 28, in block 'package_list_inner'
{% snippet 'snippets/package_item.html', package=package, item_class=item_class, hide_resources=hide_resources %}
File "/srv/app/src/ckan/ckan/lib/jinja_extensions.py", line 277, in _call
return base.render_snippet(*args, **kwargs)
File "/srv/app/src/ckan/ckan/lib/base.py", line 72, in render_snippet
output = render(template_name, extra_vars=kw)
File "/srv/app/src/ckan/ckan/lib/base.py", line 107, in render
return flask_render_template(template_name, **extra_vars)
File "/usr/lib/python3.10/site-packages/flask/templating.py", line 147, in render_template
return _render(
File "/usr/lib/python3.10/site-packages/flask/templating.py", line 128, in _render
rv = template.render(context)
File "/usr/lib/python3.10/site-packages/jinja2/environment.py", line 1301, in render
self.environment.handle_exception()
File "/usr/lib/python3.10/site-packages/jinja2/environment.py", line 936, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/usr/lib/python3.10/site-packages/ckanext/igsn_theme/templates/snippets/package_item.html", line 16, in top-level template code
{% set pkg = h.get_package(parent_id) %} {# Attempt to fetch the package details by ID #}
File "/usr/lib/python3.10/site-packages/ckanext/igsn_theme/helpers.py", line 66, in get_package
return toolkit.get_action('package_show')(context, {'id': package_id})
File "/srv/app/src/ckan/ckan/logic/init.py", line 551, in wrapped
result = _action(context, data_dict, **kw)
File "/srv/app/src/ckan/ckan/logic/action/get.py", line 1021, in package_show
_check_access('package_show', context, data_dict)
File "/srv/app/src/ckan/ckan/logic/init.py", line 362, in check_access
raise NotAuthorized(msg)
ckan.logic.NotAuthorized: Action package_show requires an authenticated user
The text was updated successfully, but these errors were encountered:
If user is not logged in and clicks on Samples, the page crashes. Container logs show below message:
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/flask/app.py", line 1516, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/lib/python3.10/site-packages/flask/app.py", line 1502, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
File "/srv/app/src/ckan/ckan/config/middleware/../../views/dataset.py", line 387, in search
return base.render(
File "/srv/app/src/ckan/ckan/lib/base.py", line 107, in render
return flask_render_template(template_name, **extra_vars)
File "/usr/lib/python3.10/site-packages/flask/templating.py", line 147, in render_template
return _render(
File "/usr/lib/python3.10/site-packages/flask/templating.py", line 128, in _render
rv = template.render(context)
File "/usr/lib/python3.10/site-packages/jinja2/environment.py", line 1301, in render
self.environment.handle_exception()
File "/usr/lib/python3.10/site-packages/jinja2/environment.py", line 936, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/usr/lib/python3.10/site-packages/ckanext/igsn_theme/templates/package/search.html", line 1, in top-level template code
{% ckan_extends %}
File "/srv/app/src/ckanext-dcat/ckanext/dcat/plugins/../templates/package/search.html", line 1, in top-level template code
{% ckan_extends %}
File "/srv/app/src/ckan/ckan/templates/package/search.html", line 2, in top-level template code
{% import 'macros/form.html' as form %}
File "/usr/lib/python3.10/site-packages/ckanext/igsn_theme/templates/page.html", line 3, in top-level template code
{% set display_secondary = not (h.is_creating_or_editing_dataset() or h.is_creating_or_editing_org())%}
File "/shared/templates/page.html", line 3, in top-level template code
{% set is_creating_or_editing_dataset = h.is_creating_or_editing_dataset() %}
File "/srv/app/src/ckan/ckan/templates/page.html", line 1, in top-level template code
{% extends "base.html" %}
File "/usr/lib/python3.10/site-packages/ckanext/igsn_theme/templates/base.html", line 1, in top-level template code
{% ckan_extends %}
File "/srv/app/src/ckanext-scheming/ckanext/scheming/templates/base.html", line 1, in top-level template code
{% ckan_extends %}
File "/srv/app/src/ckan/ckan/templates/base.html", line 108, in top-level template code
{%- block page %}{% endblock -%}
File "/srv/app/src/ckan/ckan/templates/page.html", line 19, in block 'page'
{%- block content %}
File "/srv/app/src/ckan/ckan/templates/page.html", line 22, in block 'content'
{% block main_content %}
File "/srv/app/src/ckan/ckan/templates/page.html", line 74, in block 'main_content'
{% block primary %}
File "/usr/lib/python3.10/site-packages/ckanext/igsn_theme/templates/page.html", line 38, in block 'primary'
{% block primary_content %}
File "/srv/app/src/ckan/ckan/templates/package/search.html", line 37, in block 'primary_content'
{% block package_search_results_list %}
File "/srv/app/src/ckan/ckan/templates/package/search.html", line 38, in block 'package_search_results_list'
{{ h.snippet('snippets/package_list.html', packages=page.items) }}
File "/srv/app/src/ckan/ckan/lib/helpers.py", line 1776, in snippet
return base.render_snippet(template_name, **kw)
File "/srv/app/src/ckan/ckan/lib/base.py", line 72, in render_snippet
output = render(template_name, extra_vars=kw)
File "/srv/app/src/ckan/ckan/lib/base.py", line 107, in render
return flask_render_template(template_name, **extra_vars)
File "/usr/lib/python3.10/site-packages/flask/templating.py", line 147, in render_template
return _render(
File "/usr/lib/python3.10/site-packages/flask/templating.py", line 128, in _render
rv = template.render(context)
File "/usr/lib/python3.10/site-packages/jinja2/environment.py", line 1301, in render
self.environment.handle_exception()
File "/usr/lib/python3.10/site-packages/jinja2/environment.py", line 936, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/usr/lib/python3.10/site-packages/ckanext/igsn_theme/templates/snippets/package_list.html", line 11, in top-level template code
{% block package_list %}
File "/usr/lib/python3.10/site-packages/ckanext/igsn_theme/templates/snippets/package_list.html", line 26, in block 'package_list'
{% block package_list_inner %}
File "/usr/lib/python3.10/site-packages/ckanext/igsn_theme/templates/snippets/package_list.html", line 28, in block 'package_list_inner'
{% snippet 'snippets/package_item.html', package=package, item_class=item_class, hide_resources=hide_resources %}
File "/srv/app/src/ckan/ckan/lib/jinja_extensions.py", line 277, in _call
return base.render_snippet(*args, **kwargs)
File "/srv/app/src/ckan/ckan/lib/base.py", line 72, in render_snippet
output = render(template_name, extra_vars=kw)
File "/srv/app/src/ckan/ckan/lib/base.py", line 107, in render
return flask_render_template(template_name, **extra_vars)
File "/usr/lib/python3.10/site-packages/flask/templating.py", line 147, in render_template
return _render(
File "/usr/lib/python3.10/site-packages/flask/templating.py", line 128, in _render
rv = template.render(context)
File "/usr/lib/python3.10/site-packages/jinja2/environment.py", line 1301, in render
self.environment.handle_exception()
File "/usr/lib/python3.10/site-packages/jinja2/environment.py", line 936, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/usr/lib/python3.10/site-packages/ckanext/igsn_theme/templates/snippets/package_item.html", line 16, in top-level template code
{% set pkg = h.get_package(parent_id) %} {# Attempt to fetch the package details by ID #}
File "/usr/lib/python3.10/site-packages/ckanext/igsn_theme/helpers.py", line 66, in get_package
return toolkit.get_action('package_show')(context, {'id': package_id})
File "/srv/app/src/ckan/ckan/logic/init.py", line 551, in wrapped
result = _action(context, data_dict, **kw)
File "/srv/app/src/ckan/ckan/logic/action/get.py", line 1021, in package_show
_check_access('package_show', context, data_dict)
File "/srv/app/src/ckan/ckan/logic/init.py", line 362, in check_access
raise NotAuthorized(msg)
ckan.logic.NotAuthorized: Action package_show requires an authenticated user
The text was updated successfully, but these errors were encountered: