[ckan-dev] pdf_preview problem

Fabrizio Fornari ckanappoggio at gmail.com
Thu May 15 16:34:26 UTC 2014


Pabitra, you are right resource_proxy it's not needed for previewing local
file.

Have you tried different pdf files?
Have you tried to upload the file on demo.ckan.org to see if it works?
Are you sure you don't get any error in the log files?



On Thu, May 15, 2014 at 5:24 PM, Pabitra Dash <pkdash_reena at hotmail.com>wrote:

> Local resource I mean the pdf file is on the local disk of the ckan web
> server. Yes I have used the ckan.plugins in the ini file to enabled the
> pdf_preview. I have 2 instances of CKAN one running on 2.1 and the other
> one on 2.2. In both cases the pdf preview is not working for me.
>
> Pabitra
>
>
>
> ------------------------------
> From: nigel.babu at okfn.org
> Date: Thu, 15 May 2014 11:06:54 +0530
>
> To: ckan-dev at lists.okfn.org
> Subject: Re: [ckan-dev] pdf_preview problem
>
> What do you mean my local resources here? If you're on 2.2 and above, the
> name of the extension you should enter for ckan.plugins line is pdf_preview.
>
> Nigel Babu
> Developer, Open Knowledge
>
>
> On 14 May 2014 21:37, Pabitra Dash <pkdash_reena at hotmail.com> wrote:
>
> Is the resource_proxy extension needed for even local resources? Anyway I
> have enabled this extension. I am not sure what are the network
> requirements for the resource_proxy to work.
>
> I even tried using smaller (50KB) pdf file. Is there CKAN site where I can
> see the pdf preview working?
>
> Pabitra
>
>
>
>
> ------------------------------
> Date: Wed, 14 May 2014 17:58:34 +0200
>
> From: ckanappoggio at gmail.com
> To: ckan-dev at lists.okfn.org
> Subject: Re: [ckan-dev] pdf_preview problem
>
> It sounds strange to me, on my experience it should work. Also, I don't
> get why you don't have any error messages. Sometimes I get the dark grey
> view but it is because the resource is too big for the proxy and I get a
> message that tells me that or other kind of errors.
>
>
>
> On Tue, May 13, 2014 at 4:56 PM, Pabitra Dash <pkdash_reena at hotmail.com>wrote:
>
> Hi Fabrizio,
>
> Thanks for responding to my email. Yes, I have enabled the*
> resource_proxy* extension. I am not seeing any error message on the web
> front or in the log file.
>
> Pabitra
>
>
>
>
> ------------------------------
> Date: Tue, 13 May 2014 14:42:47 +0200
> From: ckanappoggio at gmail.com
> To: ckan-dev at lists.okfn.org
> Subject: Re: [ckan-dev] pdf_preview problem
>
>
> Hi Pabitra,
>
> does it give you any error message?
>
> Have you enabled the resource_proxy extension?
>
> - Fabrizio
>
>
> On Tue, May 13, 2014 at 7:27 AM, Pabitra Dash <pkdash_reena at hotmail.com>wrote:
>
> Hi All,
>
> I did include the extension *pdf_preview *in the config file. When trying
> to preview a local pdf file resource, I see only the pdf control (dark
> gray) but not any contents from the pdf file. Am I missing any other
> settings?
>
> Pabitra
>
>
>
> _______________________________________________
> 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-devUnsubscribe:
> 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-devUnsubscribe:
> 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-devUnsubscribe:
> 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/20140515/3a01c9fd/attachment-0003.html>


More information about the ckan-dev mailing list