[ckan-dev] datastore error

Nigel Babu nigel.babu at okfn.org
Tue Jun 24 03:39:13 UTC 2014


Hi Roger,

Could you please do the following and try again?

1. Go to your datapusher source directory

> cd /usr/lib/ckan/datapusher/src/datapusher

2. Pull the latest source code

> sudo git pull origin master

3. Restart apache

> sudo service apache2 restart



Nigel Babu
Developer, Open Knowledge


On 19 June 2014 07:22, roger <roger_ke at 163.com> wrote:

> Hello,
> I installed ckan 2.2 from package and setup the DataStore and DataPusher.
> When I upload a CSV or XLS  file to a dataset on localhost url, datapusher
> will automatically upload the resource to the datastore. Howerver it shows
> Error: Process completed but unable to post to result_url.
>
> To bypass it, I run the command
>
> curl -X POST http://127.0.0.1:5000/api/3/action/datastore_create -H "Authorization: {YOUR-API-KEY}" -d '{"resource_id": "{RESOURCE-ID}", *"force" : true* }'
>
> it shows success, then I click the *Upload to Datastore* button mannually, it shows Successfully pushed 1033 entries to "19720e3b-7008-477c-a552-01f0cfd65531" which is my resource id. And I can preview the CSV or XLS file into graph and map.
>
> Can your tell me why? How to solve the Error: Process completed but unable to post to result_url ? Is it because of missing
> *"force" : true *somewhere?
>
> Thanks,
>
> Roger
>
>
>
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20140624/d0db578c/attachment-0003.html>


More information about the ckan-dev mailing list