Closed student2017USA closed 7 months ago
Hello @student2017USA, I've the same issue. Have you found a solution? I cannot figure what's going wrong
Thanks!
when i go to dataset page
@student2017USA What exactly do you mean with that? Can you provide an example URL?
Does it work with the following setting
ckanext.dcat.enable_rdf_endpoints = True
Hello @student2017USA, I've the same issue. Have you found a solution? I cannot figure what's going wrong
Thanks!
Hi @filos1983 Can you provide some more information about what you have tried?
Hello @seitenbau-govdata, thanks for your help. I'm trying to install DCAT extension in CKAN 2.9 but, as Student2017Usa described in his post, the Dataset page gave me "Internal server error" when I add _dcat dcat_json_harvester dcat_json_interface structureddata in ckan.plugins. In logs the error message was
File "/usr/lib/ckan/default/lib/python3.6/site-packages/werkzeug/routing.py", line 2179, in build
raise BuildError(endpoint, values, method, self)
werkzeug.routing.BuildError: Could not build url for endpoint 'dcat.read_catalog' with values ['_format']. Did you mean 'dataset.read' instead?
According with your suggestion, I've inserted the line
ckanext.dcat.enable_rdf_endpoints = True
in my ckan.ini file and now it works.
Thank you very much
The problem is that the plugin tries to create the URL for the endpoints in the templates even if the routes are not registered in the blueprint (because ckanext.dcat.enable_rdf_endpoints = False
). I've created #259 to fix this
After installing ckanext-dcat, i enabled it in ckan.ini by adding following in ckan.plugins
dcat dcat_json_harvester dcat_json_interface structured_data
and added following 2 lines
Now when i go to dataset page, i am gettig error - "Internal server error"
In the console, i get following error