[ckan-dev] Dataset Edit
Marek Bell
marek at marekbell.com
Mon Sep 30 11:22:41 UTC 2013
Pabitra, is it possible you are using a production.ini with Apache and a development.ini when running from paster? As you can set edit permissions via config options this could cause the behaviour you are seeing.
On 30 Sep 2013, at 11:53, ckan-dev-request at lists.okfn.org wrote:
> Send ckan-dev mailing list submissions to
> ckan-dev at lists.okfn.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> or, via email, send a message with subject or body 'help' to
> ckan-dev-request at lists.okfn.org
>
> You can reach the person managing the list at
> ckan-dev-owner at lists.okfn.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of ckan-dev digest..."
>
>
> Today's Topics:
>
> 1. Re: Dataset Edit (Nigel Babu)
> 2. Missing documentation on "Create, update and delete datasets,
> resources and other objects". (Henrik Aagaard S?rensen)
> 3. "HTTPException: Deadline exceeded while waiting..." even
> though limit is set high (Henrik Aagaard S?rensen)
> 4. Re: Upload file through the API. (Henrik Aagaard S?rensen)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 30 Sep 2013 11:29:48 +0530
> From: Nigel Babu <nigel.babu at okfn.org>
> Subject: Re: [ckan-dev] Dataset Edit
> To: CKAN Development Discussions <ckan-dev at lists.okfn.org>
> Message-ID:
> <CALGFUD6-+co7pKrHK5L6vsku8pU0LQ_N8J0_qbEaPNm-e0BzDw at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi Pabitra,
>
> What are you comparing running CKAN with paster against? Running it with
> Apache?
>
> Nigel Babu
>
> Developer | @nigelbabu <https://twitter.com/nigelbabu>
>
> The Open Knowledge Foundation <http://okfn.org/>
>
> Empowering through Open Knowledge
>
> http://okfn.org/ | @okfn <http://twitter.com/OKFN> | OKF on
> Facebook<https://www.facebook.com/OKFNetwork> |
> Blog <http://blog.okfn.org/> | Newsletter<http://okfn.org/about/newsletter>
>
> CKAN | http://ckan.org/ | @CKANproject
> <http://twitter.com/CKANproject> |the world?s leading open-source data
> portal platform
>
>
> On 28 September 2013 01:24, Pabitra Dash <pkdash_reena at hotmail.com> wrote:
>
>> In my CKAN development VM, when I run ckan with paster command I suddenly
>> don't see the Edit button for any dataset including those I own. I see the
>> edit button though for individual resources within any dataset. Any idea
>> why I am missing Edit for the Dataset?
>>
>> Thanks,
>> Pabitra
>>
>> _______________________________________________
>> ckan-dev mailing list
>> ckan-dev at lists.okfn.org
>> http://lists.okfn.org/mailman/listinfo/ckan-dev
>> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>>
>>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130930/baec0541/attachment-0001.htm>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 30 Sep 2013 09:40:12 +0200
> From: Henrik Aagaard S?rensen <BU1G at tmf.kk.dk>
> Subject: [ckan-dev] Missing documentation on "Create, update and
> delete datasets, resources and other objects".
> To: CKAN Development Discussions <ckan-dev at lists.okfn.org>
> Message-ID:
> <95DD7D5AB5B1A64BA977B280E2A37F5A500B9DCACD at KK-MAILBOX01.kk.dk>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Are there any documentation on the topic "Create, update and delete datasets, resources and other objects"?
>
> Especially on updating a specific resource (I've earlier discussed the ability to update a specific file within a specific resource)?
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130930/b8dafb07/attachment-0001.htm>
>
> ------------------------------
>
> Message: 3
> Date: Mon, 30 Sep 2013 10:04:31 +0200
> From: Henrik Aagaard S?rensen <BU1G at tmf.kk.dk>
> Subject: [ckan-dev] "HTTPException: Deadline exceeded while
> waiting..." even though limit is set high
> To: CKAN Development Discussions <ckan-dev at lists.okfn.org>
> Message-ID:
> <95DD7D5AB5B1A64BA977B280E2A37F5A500B9DCACE at KK-MAILBOX01.kk.dk>
> Content-Type: text/plain; charset="iso-8859-1"
>
> I'm getting the error " HTTPException: Deadline exceeded while waiting for HTTP response from URL" even though I've changed:
> MAX_FILE_SIZE in controller.py
> my.timeout in recline(.min).js
> client_max_body_size in nginx.conf
>
> It's this dataset:
> http://data.kk.dk/dataset/veje/resource/19a2ba4c-3798-42e2-bfa4-548d493111a4#<http://data.kk.dk/dataset/veje/resource/19a2ba4c-3798-42e2-bfa4-548d493111a4>
>
> Any idea on where I should change anything for previewing the dataset? Small datasets does work fine.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130930/41ccb71b/attachment-0001.htm>
>
> ------------------------------
>
> Message: 4
> Date: Mon, 30 Sep 2013 12:53:30 +0200
> From: Henrik Aagaard S?rensen <BU1G at tmf.kk.dk>
> Subject: Re: [ckan-dev] Upload file through the API.
> To: 'CKAN Development Discussions' <ckan-dev at lists.okfn.org>
> Message-ID:
> <95DD7D5AB5B1A64BA977B280E2A37F5A500B9DCAD1 at KK-MAILBOX01.kk.dk>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Just to answer myself, it was due to the fact the file already existed.
>
> I've modified CKAN to accept overwrites of already existing files, so I can update files in existing resources.
>
> However, this leaves one issue, and that is due to the revision id and revision timestamp including the preview of the data. It does not get updated.
>
> Are there an automatic way to update a resource with a new revision id and timestamp, so preview and developers using the API can know that the file has been updated?
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130930/81b3230b/attachment.htm>
>
> ------------------------------
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/optionss/ckan-dev
>
>
> End of ckan-dev Digest, Vol 35, Issue 64
> ****************************************
More information about the ckan-dev
mailing list