geosolutions-it / C195-azure-workspace

1 stars 2 forks source link

Multiple declarations of dcat plugins #29

Closed etj closed 2 years ago

etj commented 3 years ago

CKAN crashes with

2021-04-23 21:25:20,916 INFO  [rdflib] RDFLib Version: 4.2.1
Traceback (most recent call last):
  File "/usr/lib/ckan/venv/bin/ckan", line 33, in <module>
    sys.exit(load_entry_point('ckan', 'console_scripts', 'ckan')())
  File "/usr/lib/ckan/venv/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/ckan/venv/lib/python3.7/site-packages/click/core.py", line 781, in main
    with self.make_context(prog_name, args, **extra) as ctx:
  File "/usr/lib/ckan/venv/lib/python3.7/site-packages/click/core.py", line 700, in make_context
    self.parse_args(ctx, args)
  File "/usr/lib/ckan/venv/lib/python3.7/site-packages/click/core.py", line 1212, in parse_args
    rest = Command.parse_args(self, ctx, args)
  File "/usr/lib/ckan/venv/lib/python3.7/site-packages/click/core.py", line 1048, in parse_args
    value, args = param.handle_parse_result(ctx, opts, args)
  File "/usr/lib/ckan/venv/lib/python3.7/site-packages/click/core.py", line 1630, in handle_parse_result
    value = invoke_param_callback(self.callback, ctx, self, value)
  File "/usr/lib/ckan/venv/lib/python3.7/site-packages/click/core.py", line 123, in invoke_param_callback
    return callback(ctx, param, value)
  File "/usr/lib/ckan/venv/src/ckan/ckan/cli/cli.py", line 100, in _init_ckan_config
    ctx.obj = CkanCommand(value)
  File "/usr/lib/ckan/venv/src/ckan/ckan/cli/cli.py", line 50, in __init__
    self.app = make_app(self.config)
  File "/usr/lib/ckan/venv/src/ckan/ckan/config/middleware/__init__.py", line 24, in make_app
    load_environment(conf)
  File "/usr/lib/ckan/venv/src/ckan/ckan/config/environment.py", line 122, in load_environment
    p.load_all()
  File "/usr/lib/ckan/venv/src/ckan/ckan/plugins/core.py", line 165, in load_all
    load(*plugins)
  File "/usr/lib/ckan/venv/src/ckan/ckan/plugins/core.py", line 177, in load
    raise Exception('Plugin `%s` already loaded' % plugin)
Exception: Plugin `dcat` already loaded

The ckan ini files looks like: image