[ckan-dev] new resource plugin trouble/suggestions

Adrià Mercader adria.mercader at okfn.org
Wed Sep 17 12:45:28 UTC 2014


On 17 September 2014 13:25, Maurizio "Graffio" Mazzoneschi
<graffio at lynxlab.com> wrote:
> I've tried to use after_upload implementing IResourceUpload, but when
> the server start (paster) this message is showed and the server do not
> start:
> p.implements(p.IResourceUpload)
> AttributeError: 'module' object has no attribute 'IResourceUpload'
It looks like this interface got lost at some point, I guess that
during work on https://github.com/ckan/ckan/pull/1875

@Sean, @Tryggvi can you clarify what happened? It looks to me that the
after_upload method was missed all together, so not sure how the
DataPackager will work:

https://github.com/ckan/ckanext-datapackager/blob/master/ckanext/datapackager/plugin.py#L403



More information about the ckan-dev mailing list