[ckan-dev] CKAN-EXT harvester execution problems
kevin at viderum.com
Fri Jan 18 12:03:01 UTC 2019
Regarding the first issue, did you set the password for the ckan_default to
`pass`? That's what test-core.ini uses. I ran into problems in the past
when I setup CKAN and gave the ckan_default user a different password. I
don't think the instructions for installing CKAN ever mention that the
tests require that your ckan_default user's password has to be `pass`.
On Fri, Jan 18, 2019 at 12:54 PM Kevin Brochet-Nguyen <kevin at viderum.com>
> 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,
> 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
>> I get an error message - FATAL: password authentication failed for user
>> 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
>> This leads me always to the python error - "ImportError: No module named
>> Any hints what I'm doing wrong?
>> ckan-dev mailing list
>> ckan-dev at lists.okfn.org
>> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ckan-dev