Open keithamoss opened 9 years ago
@keithamoss This was a bug on CKAN core (https://github.com/ckan/ckan/pull/1500) that was fixed and backported to the 2.2.x line. You should always run the latest patch release for CKAN (currently 2.2.2).
This should be straightforward, just follow this instructions to update:
http://docs.ckan.org/en/latest/maintaining/upgrading/upgrade-package-to-patch-release.html
Hope this helps!
I was able to go through all the steps with the latest version of CKAN, attempting to import a dcat json format from ESRI Open Data portal. The problem I am having is that the import does not actually happen. The CKAN Harvest job tells me the "job" is running but nothing ever happens from there. Any advice on what were missing ?
http://doc.arcgis.com/en/open-data/provider/federating-with-ckan.htm
I get this error when running: paster --plugin=ckanext-harvest harvester fetch_consumer --config='/path/to/your config.ini'
Traceback (most recent call last):
File "/usr/lib/ckan/default/bin/paster", line 9, in <module>
load_entry_point('PasteScript==1.7.5', 'console_scripts', 'paster')()
File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/script/command.py", line 104, in run
invoke(command, command_name, options, args[1:])
File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/script/command.py", line 143, in invoke
exit_code = runner.run(args)
File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/script/command.py", line 238, in run
result = self.command()
File "/usr/lib/ckan/default/src/ckanext-harvest/ckanext/harvest/commands/harvester.py", line 97, in command
self._load_config()
File "/usr/lib/ckan/default/src/ckanext-harvest/ckanext/harvest/commands/harvester.py", line 156, in _load_config
super(Harvester, self)._load_config()
File "/usr/lib/ckan/default/src/ckan/ckan/lib/cli.py", line 86, in _load_config
load_environment(conf.global_conf, conf.local_conf)
File "/usr/lib/ckan/default/src/ckan/ckan/config/environment.py", line 135, in load_environment
p.load_all(config)
File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 95, in load_all
find_user_plugins(config)
File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 177, in find_user_plugins
raise PluginNotFoundException(name)
ckan.plugins.core.PluginNotFoundException: text_view
I'm not completely sure if this is a ckanext-dcat issue or further upstream, so I'm starting at the bottom :)
This is running CKAN 2.2 on a 64bit AWS Linux AMI base and ckanext-harvest commands are being invoked by hand e.g.
et cetera
In using ckanext-dcat to harvest a DCAT document (http://vicroadsopendata.vicroadsmaps.opendata.arcgis.com/data.json) from ESRI (see: http://doc.arcgis.com/en/open-data/provider/federating-with-ckan.htm) ckanext-harvest's gather_consumer is retrieving 18 records successfully.
But I'm running into this error from ckanext-harvest's fetch_consumer component.
I'm not nearly deep enough into how CKAN extensions knit together with the CKAN core to determine which extension should be supplying the user in this instance.