[ckan-dev] Unable to set permission to DataStore

Natalia Queiroz queiroz.nati at gmail.com
Thu Jan 14 19:09:52 UTC 2016


Hello group,

I'm following the ckan documentation to install DataStore on my environment.

http://docs.ckan.org/en/ckan-2.4.1/maintaining/datastore.html#datapusher-automatically-add-data-to-the-datastore

In the topic Set permissions, this is the error from the command

root at localhost:/etc/ckan/default# . /usr/lib/ckan/default/bin/activate
(default)root at localhost:/etc/ckan/default# cd /usr/lib/ckan/default/src/ckan
(default)root at localhost:/usr/lib/ckan/default/src/ckan# paster
--plugin=ckan datastore set-permissions postgres -c
/etc/ckan/default/production.ini
Traceback (most recent call last):
  File "/usr/lib/ckan/default/bin/paster", line 9, in <module>
    load_entry_point('PasteScript==1.7.5', 'console_scripts', 'paster')()
  File
"/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/script/command.py",
line 104, 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 143, in invoke
    exit_code = runner.run(args)
  File
"/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/script/command.py",
line 238, in run
    result = self.command()
  File "/usr/lib/ckan/default/src/ckan/ckanext/datastore/commands.py", line
70, in command
    self._load_config()
  File "/usr/lib/ckan/default/src/ckan/ckan/lib/cli.py", line 147, in
_load_config
    load_environment(conf.global_conf, conf.local_conf)
  File "/usr/lib/ckan/default/src/ckan/ckan/config/environment.py", line
232, in load_environment
    p.load_all(config)
  File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 134, in
load_all
    load(*plugins)
  File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 148, in
load
    service = _get_service(plugin)
  File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 255, in
_get_service
    raise PluginNotFoundException(plugin_name)
ckan.plugins.core.PluginNotFoundException: pdf_view

Any idea?

-- 


Natália Oliveira
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20160114/457ae706/attachment-0002.html>


More information about the ckan-dev mailing list