[ckan-dev] Unable to set permission to DataStore
Harald von Waldow
harald.vonwaldow at eawag.ch
Thu Jan 14 19:41:33 UTC 2016
Remove pdf_view from ckan.plugins in your production.ini or,
alternatively, install ckanext-pdfview
(https://github.com/ckan/ckanext-pdfview).
Cheers,
Harald
On 14.01.2016 20:09, Natalia Queiroz wrote:
> 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
>
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
--
Harald von Waldow
Eawag
ICT Services
Ueberlandstrasse 133
8600 Duebendorf
http://www.eawag.ch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20160114/8276f835/attachment-0003.sig>
More information about the ckan-dev
mailing list