[ckan-dev] CKAN-EXT harvester execution problems

Kevin Brochet-Nguyen kevin at viderum.com
Fri Jan 18 11:54:58 UTC 2019


Hi Daniel,

You need to pip install -r ckanext-harvest/dev-requirements.txt in order to
run the harvester tests. That will resolve your second issue. Not sure
about the first one.

Kind regards,
Kevin

On Fri, Jan 18, 2019 at 12:35 PM Bäuml, Daniel <
daniel.baeuml at scs.fraunhofer.de> wrote:

> Hi to everyone,
>
> I installed CKAN 2.8.2 and the ckan harvester extension.
> However, I got some problem when trying to run the harvester.
>
> First, if I try to execute the tests for the harvester with the command:
>         nosetests --reset-db --ckan --with-pylons=test-core.ini
> ckanext/harvest/tests
> I get an error message - FATAL: password authentication failed for user
> "ckan_default".
> But if I can login with the credentials to postgres on the command line
> and everything works.
> The credentials are also changed in the config file and the init command
> works fine.
>
> Secondly, trying to execute the harverster import on command line with:
>         paster --plugin=ckanext-harvest harvester run_test
> --config=/etc/ckan/default/production.ini
> This leads me always to the python error - "ImportError: No module named
> factory"
>
> Any hints what I'm doing wrong?
> Thanks!
>
> Greetings
> Daniel
> _______________________________________________
> 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/20190118/021d46a5/attachment-0002.html>


More information about the ckan-dev mailing list