[ckan-dev] ckanext-validation validation problems

Adrià Mercader adria.mercader at okfn.org
Thu Apr 5 12:59:26 UTC 2018


Hi Isabel,

Can you paste a link to the file that is failing? When you say that the
field is large, do you mean the contents, the name?

Regarding 3 there is currently no way to skip the validation for a
particular resource, although it sounds like a useful feature. I've created
an issue to track it:

https://github.com/frictionlessdata/ckanext-validation/issues/33

Thanks,

Adrià

On 5 April 2018 at 14:08, Isabel M Ruiz Mellado <isaruizmellado at gmail.com>
wrote:

> Hi all,
>
> I have installed and configure ckanext-validation (and ckanext-scheming)
> plugin and I have some problems with it... maybe someone can solve them:
>
> 1- If I load a CSV with a large field, validation returns *"message':
> u'field larger than field limit (131072)'*, I configure JSON field as
> "type": "string", "type": "object" and "any"...but it doesnt work (This
> file was loaded in datastore correctly). Is there any type to load large
> field?
>
> 2- validation returns *message': u'("Connection broken: error(14, \'Bad
> address\')", error(14, \'Bad address\'))* but URL file is correct, if I
> split it, validation returns ok, it seems a very long files breaks
> validation.... Can you confirm this?
>
> 3- After point 1 and 2, my CKAN shows "data|invalid" on these CSV files. I
> want these messages to desappear, so I edit resource and clear "Data
> Schema" field, but after "Update Resource" button, validation is executed
> again and "data|invalid" is shown. How can it desappear ?
>
> Thanks !!!!!
>
> --
> Isabel M. Ruiz Mellado
> http://about.me/isabelruiz
>
> _______________________________________________
> 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/20180405/5edd1b46/attachment-0003.html>


More information about the ckan-dev mailing list