[ckan-dev] ckanext-harvest/Datapusher problem

Rodrigo Parra rodpar07 at gmail.com
Thu Sep 4 13:04:13 UTC 2014


Already found the patch here:
https://github.com/ckan/ckan/commit/fdfc4cffa1812da2ce853c294c3c2069074a9e82
I guess it hasn't made to 2.2

However, I do have another problem. Any attempt to edit a Harvest Source
returns a 404 response. Any thoughts?
Just in case it matters, I'm using rabbitmq currently, but switching to
redis would not be an issue.

Cheers,
Rodrigo


2014-09-03 16:47 GMT-04:00 Rodrigo Parra <rodpar07 at gmail.com>:

> 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/20140904/6e172fd2/attachment-0003.html>


More information about the ckan-dev mailing list