[ckan-dev] i have a problem with reindex-fast on CKAN 2.7.4

Alex Gartner alexandru.gartner+ckan at gmail.com
Mon Jun 25 15:54:34 UTC 2018


Hello everyone,

did anybody have any issue with the *reindex-fast *command ( *paster
--plugin=ckan search-index rebuild_fast --config=prod.ini*). I get the
following error:

*  File "/srv/ckan/ckan/lib/cli.py", line 605, in rebuild_fast*
*    conf = self._get_config()*
*AttributeError: 'SearchIndexCommand' object has no attribute '_get_config'*

The error is at this line:
https://github.com/ckan/ckan/blob/ckan-2.7.4/ckan/lib/cli.py#L605
More precisely, the *_get_config() *function seems to have been moved
outside of the CkanCommand class:
https://github.com/ckan/ckan/blob/ckan-2.7.4/ckan/lib/cli.py#L185

Let me know if I'm missing something. Thanks for the help,
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20180625/4aeda929/attachment.html>


More information about the ckan-dev mailing list