[ckan-dev] Build a new Harvest plugin

aurelie.gole at orange.com aurelie.gole at orange.com
Tue Jun 6 12:13:14 UTC 2017


Hello Stefan

Yes my plugin is loaded in the production.ini but I have the following 
error:

  raise PluginNotFoundException(plugin_name)
[Tue Jun 06 14:04:57.527395 2017] [:error] [pid 20596:tid 
140631889151744] [remote 127.0.0.1:56175] PluginNotFoundException: 
odbostats_harvester

I had just wrote a custom harvester based on the main ckan-harvester.

Do I need to declare it in the setup.py script too and if yes how ckan 
make the relation between the new harvest class and the entrypoints from 
the setup.py?


Thanks

Aurélie


Le 06/06/2017 à 13:31, Stefan Oderbolz a écrit :
> Hi Aurélie,
>
> It's hard to tell without more details, here are a couple of things 
> you could check:
>
> - Make sure the plugin is loaded in your config-INI (e.g. production.ini)
> - Start the RabbitMQ or Redis services for the queues
> - Start the consumers (see 
> https://github.com/ckan/ckanext-harvest#harvester-run)
>
> Generally follow the instructions in the README of ckanext-harvest.
>
> - Stefan
>
> On Tue, Jun 6, 2017 at 9:14 AM, <aurelie.gole at orange.com 
> <mailto:aurelie.gole at orange.com>> wrote:
>
>     Hello
>
>     I am working on a new harvest plugin.
>
>     I'd like to know what it could e wrong because I can't able to
>     make it work:
>
>      - my harvest class implements the 3 interfaces; gather_stage,
>     import_stage and fetch_stage
>
>     - I had declared it into the entry_points of my setup.py file
>
>
>     Do I need to do something else so it works fine?
>
>
>     Thanks
>
>     Regards
>
>     Aurélie
>
>
>     _________________________________________________________________________________________________________________________
>
>     Ce message et ses pieces jointes peuvent contenir des informations
>     confidentielles ou privilegiees et ne doivent donc
>     pas etre diffuses, exploites ou copies sans autorisation. Si vous
>     avez recu ce message par erreur, veuillez le signaler
>     a l'expediteur et le detruire ainsi que les pieces jointes. Les
>     messages electroniques etant susceptibles d'alteration,
>     Orange decline toute responsabilite si ce message a ete altere,
>     deforme ou falsifie. Merci.
>
>     This message and its attachments may contain confidential or
>     privileged information that may be protected by law;
>     they should not be distributed, used or copied without authorisation.
>     If you have received this email in error, please notify the sender
>     and delete this message and its attachments.
>     As emails may be altered, Orange is not liable for messages that
>     have been modified, changed or falsified.
>     Thank you.
>
>     _______________________________________________
>     ckan-dev mailing list
>     ckan-dev at lists.okfn.org <mailto:ckan-dev at lists.okfn.org>
>     https://lists.okfn.org/mailman/listinfo/ckan-dev
>     <https://lists.okfn.org/mailman/listinfo/ckan-dev>
>     Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>     <https://lists.okfn.org/mailman/options/ckan-dev>
>
>
>
>
> -- 
> Liip AG  // Limmatstrasse 183 //  CH-8005 Zürich
> Tel +41 43 500 39 80 // GnuPG 0x7B588C67 //www.liip.ch 
> <http://www.liip.ch/>
>
>
> _______________________________________________
> 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


_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20170606/2d488790/attachment-0003.html>


More information about the ckan-dev mailing list