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

Alex Gartner alexandru.gartner+ckan at gmail.com
Tue Jul 3 14:07:50 UTC 2018


Sure. Thanks for the reply.

On Tue, Jul 3, 2018 at 5:03 PM Ian Ward <ian at excess.org> wrote:

> Yes, that was an oversight. Do you mind submitting a PR that removes the
> `self.` from that call?
>
> On Mon, Jun 25, 2018 at 11:54 AM, Alex Gartner <
> alexandru.gartner+ckan at gmail.com> wrote:
>
>> 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
>>
>> _______________________________________________
>> 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
>>
>>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20180703/c05e8d71/attachment-0002.html>


More information about the ckan-dev mailing list