[CKAN-support] [Open Knowledge Foundation] Assignment: [via ckan.org] strange error in a .json file while uploading
Adam McGreggor
notifications-support at okfn.zendesk.com
Thu Mar 6 18:40:42 UTC 2014
##- Please type your reply above this line -##
[Open Knowledge Foundation] Assignment: [via ckan.org] strange error in a .json file while uploading
You have been assigned to this ticket (#10).
----------------------------------------------
Adam McGreggor, Mar 06 18:39 (private)
Not a client, but general enquiry. If this is a quick (< 10 mins) thing to reply to, please do (public reply), or point him to ckan-dev...
ta.
----------------------------------------------
Kenneth Elsner, Mar 04 19:48
Hello,
I am uploading a .json file to a ckan instance and am getting an error that I just can't trouble shoot.
Here is the error from the error report.
Identifier: FWS_ServCat_1107; Title: Mortality in Prairie Violet Plots (Regal Fritillary Project) : May, 1999; 1 Error(s) Found. ####### Error Message ####### u'1999-05-01T00:00:00Z' is not valid under any of the given schemas Failed validating u'anyOf' in schema[u'properties'][u'temporal']: {u'anyOf': [{u'pattern': u'^([\\+-]?\\d{4}(?!\\d{2}\\b))((-?)((0[1-9]|1[0-2])(\\3([12]\\d|0[1-9]|3[01]))?|W([0-4]\\d|5[0-2])(-?[1-7])?|(00[1-9]|0[1-9]\\d|[12]\\d{2}|3([0-5]\\d|6[1-6])))([T\\s]((([01]\\d|2[0-3])((:?)[0-5]\\d)?|24\\:?00)([\\.,]\\d+(?!:))?)?(\\17[0-5]\\d([\\.,]\\d+)?)?([zZ]|([\\+-])([01]\\d|2[0-3]):?([0-5]\\d)?)?)?)?(\\/)([\\+-]?\\d{4}(?!\\d{2}\\b))((-?)((0[1-9]|1[0-2])(\\3([12]\\d|0[1-9]|3[01]))?|W([0-4]\\d|5[0-2])(-?[1-7])?|(00[1-9]|0[1-9]\\d|[12]\\d{2}|3([0-5]\\d|6[1-6])))([T\\s]((([01]\\d|2[0-3])((:?)[0-5]\\d)?|24\\:?00)([\\.,]\\d+(?!:))?)?(\\17[0-5]\\d([\\.,]\\d+)?)?([zZ]|([\\+-])([01]\\d|2[0-3]):?([0-5]\\d)?)?)?)?$', u'type': u'string'}, {u'type': u'null'}], u'descript
ion': u'The range of temporal applicability of a dataset (i.e., a start and end date of applicability for the data).', u'title': u'Temporal'} On instance[u'temporal']: u'1999-05-01T00:00:00Z'
Can anyone tell me what date format the CKAN will take to solve this error?
--------------------------------
This email is a service from Open Knowledge Foundation.
[H4YR-ZWFJ]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.okfn.org/mailman/private/ckan-support/attachments/20140306/87008e14/attachment-0002.html>
More information about the ckan-support
mailing list