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
Hi
I'm running CKAN 2.10.3 in my ubuntu 22.04 VM.
While installing the dataset_approval plugin I'm getting the following error
Traceback (most recent call last):
File "/usr/lib/ckan/default/bin/ckan", line 8, in <module>
sys.exit(ckan())
File "/usr/lib/ckan/default/lib/python3.10/site-packages/click/core.py", line 1130, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/ckan/default/lib/python3.10/site-packages/click/core.py", line 1054, in main
with self.make_context(prog_name, args, **extra) as ctx:
File "/usr/lib/ckan/default/lib/python3.10/site-packages/click/core.py", line 920, in make_context
self.parse_args(ctx, args)
File "/usr/lib/ckan/default/src/ckan/ckan/cli/cli.py", line 121, in parse_args
result = super().parse_args(ctx, args)
File "/usr/lib/ckan/default/lib/python3.10/site-packages/click/core.py", line 1613, in parse_args
rest = super().parse_args(ctx, args)
File "/usr/lib/ckan/default/lib/python3.10/site-packages/click/core.py", line 1378, in parse_args
value, args = param.handle_parse_result(ctx, opts, args)
File "/usr/lib/ckan/default/lib/python3.10/site-packages/click/core.py", line 2360, in handle_parse_result
value = self.process_value(ctx, value)
File "/usr/lib/ckan/default/lib/python3.10/site-packages/click/core.py", line 2322, in process_value
value = self.callback(ctx, self, value)
File "/usr/lib/ckan/default/src/ckan/ckan/cli/cli.py", line 131, in _init_ckan_config
_add_ctx_object(ctx, value)
File "/usr/lib/ckan/default/src/ckan/ckan/cli/cli.py", line 140, in _add_ctx_object
ctx.obj = CtxObject(path)
File "/usr/lib/ckan/default/src/ckan/ckan/cli/cli.py", line 57, in __init__
self.app = make_app(raw_config)
File "/usr/lib/ckan/default/src/ckan/ckan/config/middleware/__init__.py", line 27, in make_app
load_environment(conf)
File "/usr/lib/ckan/default/src/ckan/ckan/config/environment.py", line 69, in load_environment
p.load_all()
File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 222, in load_all
load(*plugins)
File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 238, in load
service = _get_service(plugin)
File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 345, in _get_service
return plugin.load()(name=plugin_name)
File "/usr/lib/ckan/default/lib/python3.10/site-packages/pkg_resources/__init__.py", line 2465, in load
return self.resolve()
File "/usr/lib/ckan/default/lib/python3.10/site-packages/pkg_resources/__init__.py", line 2471, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/lib/ckan/default/src/ckanext-datasetapproval/ckanext/datasetapproval/plugin.py", line 6, in <module>
from ckanext.datasetapproval import auth, actions, blueprints, helpers, validation
File "/usr/lib/ckan/default/src/ckanext-datasetapproval/ckanext/datasetapproval/actions.py", line 9, in <module>
from ckanext.datasetapproval.mailer import mail_package_review_request_to_admins
File "/usr/lib/ckan/default/src/ckanext-datasetapproval/ckanext/datasetapproval/mailer.py", line 7, in <module>
from ckan.lib.base import render_jinja2
ImportError: cannot import name 'render_jinja2' from 'ckan.lib.base' (/usr/lib/ckan/default/src/ckan/ckan/lib/base.py)
Any help in this will be really appreciated
Thanks
Gokul
The text was updated successfully, but these errors were encountered:
Hi
I'm running CKAN 2.10.3 in my ubuntu 22.04 VM.
While installing the dataset_approval plugin I'm getting the following error
Any help in this will be really appreciated
Thanks
Gokul
The text was updated successfully, but these errors were encountered: