I am trying to import ckanext-malaga extension into my ckan installation. I have Ubuntu 18.04 running on my computer with Ckan 2.8.1. I have installed ckanext-geoview and ckanext-dcat. I have skipped ckanext-federador and ckanext-contact part because they seemed unnecessary at this point for me and seemed a little bit complicated to install. After have done all steps with first two extensions i have runned 'paster --plugin=ckan views create' comand to make sure all necessary plugins are installed. After that command i got the error below. I couldn't figure out what to do. So can you guys help me a little bit?
File "/usr/lib/ckan/default/bin/paster", line 8, in
sys.exit(run())
File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/script/command.py", line 102, in run
invoke(command, command_name, options, args[1:])
File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/script/command.py", line 141, in invoke
exit_code = runner.run(args)
File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/script/command.py", line 236, in run
result = self.command()
File "/home/polderadmin/ckan/lib/default/src/ckan/ckan/lib/cli.py", line 2141, in command
self._load_config()
File "/home/polderadmin/ckan/lib/default/src/ckan/ckan/lib/cli.py", line 330, in _load_config
self.site_user = load_config(self.options.config, load_site_user)
File "/home/polderadmin/ckan/lib/default/src/ckan/ckan/lib/cli.py", line 237, in load_config
load_environment(conf.global_conf, conf.local_conf)
File "/home/polderadmin/ckan/lib/default/src/ckan/ckan/config/environment.py", line 112, in load_environment
p.load_all()
File "/home/polderadmin/ckan/lib/default/src/ckan/ckan/plugins/core.py", line 140, in load_all
load(*plugins)
File "/home/polderadmin/ckan/lib/default/src/ckan/ckan/plugins/core.py", line 168, in load
plugins_update()
File "/home/polderadmin/ckan/lib/default/src/ckan/ckan/plugins/core.py", line 122, in plugins_update
environment.update_config()
File "/home/polderadmin/ckan/lib/default/src/ckan/ckan/config/environment.py", line 225, in update_config
routes_map = routing.make_map()
File "/home/polderadmin/ckan/lib/default/src/ckan/ckan/config/routing.py", line 98, in make_map
map = plugin.before_map(map)
File "/home/polderadmin/ckan/lib/default/src/ckanext-malaga/ckanext/malaga/plugin.py", line 144, in before_map
_mlgbeforemap = ast.literal_eval(config['ckan_mlg.before_map'])
File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/registry.py", line 146, in getitem
return self._current_obj()[key]
KeyError: 'ckan_mlg.before_map'
I am trying to import ckanext-malaga extension into my ckan installation. I have Ubuntu 18.04 running on my computer with Ckan 2.8.1. I have installed ckanext-geoview and ckanext-dcat. I have skipped ckanext-federador and ckanext-contact part because they seemed unnecessary at this point for me and seemed a little bit complicated to install. After have done all steps with first two extensions i have runned 'paster --plugin=ckan views create' comand to make sure all necessary plugins are installed. After that command i got the error below. I couldn't figure out what to do. So can you guys help me a little bit?
File "/usr/lib/ckan/default/bin/paster", line 8, in
sys.exit(run())
File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/script/command.py", line 102, in run
invoke(command, command_name, options, args[1:])
File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/script/command.py", line 141, in invoke
exit_code = runner.run(args)
File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/script/command.py", line 236, in run
result = self.command()
File "/home/polderadmin/ckan/lib/default/src/ckan/ckan/lib/cli.py", line 2141, in command
self._load_config()
File "/home/polderadmin/ckan/lib/default/src/ckan/ckan/lib/cli.py", line 330, in _load_config
self.site_user = load_config(self.options.config, load_site_user)
File "/home/polderadmin/ckan/lib/default/src/ckan/ckan/lib/cli.py", line 237, in load_config
load_environment(conf.global_conf, conf.local_conf)
File "/home/polderadmin/ckan/lib/default/src/ckan/ckan/config/environment.py", line 112, in load_environment
p.load_all()
File "/home/polderadmin/ckan/lib/default/src/ckan/ckan/plugins/core.py", line 140, in load_all
load(*plugins)
File "/home/polderadmin/ckan/lib/default/src/ckan/ckan/plugins/core.py", line 168, in load
plugins_update()
File "/home/polderadmin/ckan/lib/default/src/ckan/ckan/plugins/core.py", line 122, in plugins_update
environment.update_config()
File "/home/polderadmin/ckan/lib/default/src/ckan/ckan/config/environment.py", line 225, in update_config
routes_map = routing.make_map()
File "/home/polderadmin/ckan/lib/default/src/ckan/ckan/config/routing.py", line 98, in make_map
map = plugin.before_map(map)
File "/home/polderadmin/ckan/lib/default/src/ckanext-malaga/ckanext/malaga/plugin.py", line 144, in before_map
_mlgbeforemap = ast.literal_eval(config['ckan_mlg.before_map'])
File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/registry.py", line 146, in getitem
return self._current_obj()[key]
KeyError: 'ckan_mlg.before_map'