[ckan-dev] CKAN 2.2.2 errors when creating datasets and resources

Adrià Mercader adria.mercader at okfn.org
Mon Mar 9 18:58:57 UTC 2015


Hi,

I've now replicated issue 1. This will be backported to the next patch
release:

https://github.com/ckan/ckan/issues/2341

Note that this only affects datasets which are created with no resources
(which can only currently be done via the API). If you add the resources as
part of the package_create call you won't have this problem.

I can't reproduce issue 2. Can you tell me the exact call and JSON object
you are using ton replicate it?

Thanks,

Adrià
On 9 Mar 2015 18:16, "Adrià Mercader" <adria.mercader at okfn.org> wrote:

> Thanks for the report Milica, I'll have a look asap.
>
> See comments below:
>
> On 9 Mar 2015 16:06, "Milica Knezevic" <knezevic.milica at gmail.com> wrote:
>
> > 1. package_create is successful and calling
> package_show?id=<newly_created_package_name> returns info about the newly
> created package (dataset). But when trying to access this package via web
> UI, I get Internal server error and here's the log:
>
> Just to clarify, you are creating a dataset with a resource using the API
> (ie calling package_create)
>
> > 2. resource_add returns Internal server error and here's the log:
>
> Do you mean resource_create? And again, is this via the API or the UI?
>
> Thanks,
>
> Adrià
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20150309/982c0a9b/attachment-0003.html>


More information about the ckan-dev mailing list