[ckan-dev] ckanext-harvest/Datapusher problem

Rodrigo Parra rodpar07 at gmail.com
Wed Sep 3 20:47:25 UTC 2014


Hello all,

I'm trying to setup ckanext-harvest to harvest datasets from a CKAN
instance (let's call it B) to my main instance (A).

For datasets with html resources everything works fine. However, datasets
with CSV resources are not imported and I get the following error:

  File "/home/desa4/ckan/lib/default/src/ckan/ckan/model/modification.py",
line 79, in notify
    observer.notify(entity, operation)
  File
"/home/desa4/ckan/lib/default/src/ckan/ckanext/datapusher/plugin.py", line
103, in notify
    'resource_id': entity.id
  File "/home/desa4/ckan/lib/default/src/ckan/ckan/logic/__init__.py", line
419, in wrapped
    result = _action(context, data_dict, **kw)
  File
"/home/desa4/ckan/lib/default/src/ckan/ckanext/datapusher/logic/action.py",
line 51, in datapusher_submit
    user = p.toolkit.get_action('user_show')(context, {'id':
context['user']})
KeyError: 'user'

Datapusher works fine on both A and B. Any ideas of what could be happening?
Thanks in advance.

Rodrigo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20140903/62a487e5/attachment-0002.html>


More information about the ckan-dev mailing list