[ckan-dev] CKANv2.7.2 - API Issue

Matthew Fullerton matt.fullerton at gmail.com
Wed Oct 4 10:28:24 UTC 2017


Hi Luis,
I have this morning looked at this some more and it looks (though I am no
expert here) like in master neither the flask or pylons app internally
offers these API routes. Why this would only be happening on certain
deployments, I don't know. Anyway, I have "fixed" this now by doing:

git checkout b2e0db728243f90f61853398e83880e0a177857a

for the CKAN source and rebuilding. This is the 2.7.2 release tag (
https://github.com/ckan/ckan/releases/tag/ckan-2.7.2). Maybe this helps you.

Best,

Matt

On 4 October 2017 at 11:44, Luis Almeida <lpalmeida at ua.pt> wrote:

> Hi Adrià,
>
> I was using v2.7.2 master..
>
> Thanks
>
>
> On 3 Oct 2017, at 13:50, Adrià Mercader <adria.mercader at okfn.org> wrote:
>
> Hi Luis,
>
> What version exactly were you using in your initial Vagrant box? Was it
> master?
>
> Thanks
>
> On 3 October 2017 at 13:42, Luis Almeida <lpalmeida at ua.pt> wrote:
>
>> Hey Alessio,
>>
>> I used your repo and yes, it’s working. Thank’s a lot! But I’d still
>> wanted to know why the api is not working on my vagrant box. Do you have
>> any idea about that?
>>
>> Thanks,
>> Luís Almeida
>>
>> On 3 Oct 2017, at 13:15, Alessio Dragoni <alessio.dragoni at gmail.com>
>> wrote:
>>
>> Hi Louis,
>> I've not tested the standard vagrant box for ckan 2.7.2 but we have
>> released a vagrant setup that is working smoothly and include some
>> additional goodies like recent versions of Postegres, SOLR and few common
>> extensions.
>>
>> If you want give it a try is available here: https://gitlab.com/sciam
>> lab/ckan-vagrant
>>
>> Ciao,
>> Alessio
>>
>>
>> On Oct 3, 2017 13:46, "Luis Almeida" <lpalmeida at ua.pt> wrote:
>>
>> Hello,
>>
>> I've made an installation of CKAN from source with Vagrant. Everything
>> works fine with the user interface but when I try to interact with ckan
>> instance using the Action API, I receive always the same response, 404
>> Resource Not Found.
>>
>> Example: I have one dataset called 'test'. If I make a curl request to '
>> http://localhost:5000/dataset/test' I get the html corresponding to
>> dataset but if I make a curl request to 'http://localhost:5000/api/3/a
>> ction/package_list', I got nothing.
>>
>>
>> Output with curl + /api -> https://gist.github.com/ano
>> nymous/7bc42783dfffe6cef74b10c4b9704d46
>>
>> Ckan log when I make a api request -> https://gist.github.com/ano
>> nymous/ffbd09335f8c8d70b68c433233b635a2
>>
>>
>> I did everything what's said in the docs during the installation and
>> configuration of my instance.
>>
>> Can you help me?
>>
>> Thanks,
>> Luís Almeida
>>
>> _______________________________________________
>> 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
>>
>>
>> _______________________________________________
>> 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
>>
>>
>>
>> _______________________________________________
>> 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
>>
>>
> _______________________________________________
> 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
>
>
>
> _______________________________________________
> 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/20171004/8c75a46b/attachment-0003.html>


More information about the ckan-dev mailing list