Closed tpgmartin closed 2 years ago
Unfortunately ckanext-validation hasn't been updated to work on CKAN 2.9 / Python 3 yet. All these errors arise from that issue, sorry about that
@amercader many thanks for your reply, are the required changes relatively straightforward? If so, could you please advise what I'd need to change? Cheers
@tpgmartin The keitaroinc/ckanext-validation and qld-gov-au/ckanext-validation forks have Python 3 support.
Overview
I'm trying to add the ckanext-validation plug-in to my CKAN instance, which is running on EC2 Ubuntu 18.02 instance. I have followed the instructions to install and deploy CKAN from source, version 2.9.5. I've installed the plug-in following the instructions in the readme, but after I add the plugin "validation" to ckan.ini config file I get the following error:
This error is only raised if I include the "validation" plug-in in the
ckan.plugins
config options.I've added by the ckanext-validation and ckanext-scheming plug-ins and included these in the ckan.ini file as named plug-ins, I've also added the following to my ckan.ini file as per the readme,
Is this a consequence of where the ckanext-validaton and ckanext-scheming plugins are installed? If I install with pip by default they are installed to
/usr/lib/ckan/default/src
not/usr/lib/ckan/default/src/ckan/ckanext
as is usual for other plug-ins.Please preserve this line to notify @amercader (lead of this repository)