[ckan-dev] error when harvest fetch processing

aurelie.gole at orange.com aurelie.gole at orange.com
Fri Jun 16 12:39:51 UTC 2017


Hello

I had develop a custom harvester.

When when the fetch_consumer queue process the harvest_object I had the 
folowing error during the _create_or_update_package call method:

ERROR [ckanext.harvest.harvesters.base] {u'frequency': [u"Value must be 
one of: http://publications.europa.eu/resource/authority/frequency/CONT; 
http://publications.europa.eu/resource/authority/frequency/UPDATE_CONT; 
http://publications.europa.eu/resource/authority/frequency/DAILY_2; 
http://publications.europa.eu/resource/authority/frequency/DAILY; 
http://publications.europa.eu/resource/authority/frequency/WEEKLY_3; 
http://publications.europa.eu/resource/authority/frequency/WEEKLY_2; 
http://publications.europa.eu/resource/authority/frequency/WEEKLY; 
http://publications.europa.eu/resource/authority/frequency/BIWEEKLY; 
http://publications.europa.eu/resource/authority/frequency/MONTHLY_3; 
http://publications.europa.eu/resource/authority/frequency/MONTHLY_2; 
http://publications.europa.eu/resource/authority/frequency/MONTHLY; 
http://publications.europa.eu/resource/authority/frequency/BIMONTHLY; 
http://publications.europa.eu/resource/authority/frequency/QUARTERLY; 
http://publications.europa.eu/resource/authority/frequency/ANNUAL_3; 
http://publications.europa.eu/resource/authority/frequency/TRIENNIAL; 
http://publications.europa.eu/resource/authority/frequency/ANNUAL_2; 
http://publications.europa.eu/resource/authority/frequency/BIENNIAL; 
http://publications.europa.eu/resource/authority/frequency/ANNUAL; 
http://publications.europa.eu/resource/authority/frequency/IRREG; 
http://publications.europa.eu/resource/authority/frequency/NEVER; 
http://publications.europa.eu/resource/authority/frequency/UNKNOWN (not 
'annual')"], u'language': [u"Value must be one of: 
http://publications.europa.eu/resource/authority/language/FRE; 
http://publications.europa.eu/resource/authority/language/NOR; 
http://publications.europa.eu/resource/authority/language/ENG (not 'fr')"]}


_________________________________________________________________________________________________________________________

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.




More information about the ckan-dev mailing list