ckan / ckanext-dcat

CKAN ♥ DCAT
164 stars 142 forks source link

"Internal server error" in ckanext-harvest #206

Closed keisuhase closed 2 years ago

keisuhase commented 2 years ago

Hi, I'm trying to test the RDF importing by CKAN(docker) and ckanext-dcat ,ckanext-harvest for the first time. After installing it, I've confirmed the new page "http://localhost:5000/harvest"

  1. Enter the followed url to "URL:" text box, https://opendata.swiss/en/dataset/verbreitung-der-steinbockkolonien.rdf
  2. Enter the title
  3. choose source type to "Generic DCAT RDF Harvester"
  4. "Save" button

After above operation, I've met "Internal server error" and container log:

"ERROR [ckan.config.middleware.flask_app] str cannot be used as validator because it is not a user-defined function Traceback (most recent call last): File "/usr/lib/ckan/venv/src/ckan/ckan/lib/navl/dictization_functions.py", line 222, in convert nargs = converter.code.co_argcount AttributeError: type object 'str' has no attribute 'code'"

What's wrong with my operation?

[Environment] host OS: ubuntu16.04 CKAN: latest(2.10.0a) plugins: datastore datapusher harvest ckan_harvester dcat dcat_rdf_harvester dcat_json_harvester dcat_json_interface structured_data

keisuhase commented 2 years ago

This issue was not occured on CKAN 2.9.5.