[ckan-dev] pdf_preview problem

Pabitra Dash pkdash_reena at hotmail.com
Fri May 16 20:42:38 UTC 2014


Hi All,
Upgrading CKAN from 2.1 to 2.1.2 fixed the problem of previewing pdf files.

Pabitra



From: pkdash_reena at hotmail.com
To: ckan-dev at lists.okfn.org
Date: Fri, 16 May 2014 10:36:09 -0500
Subject: Re: [ckan-dev] pdf_preview problem




My mistake. It works on my CKAN 2.2 instance but not on my CKAN 2.1 instance.
Pabitra




Date: Fri, 16 May 2014 11:55:37 +0200
From: ckanappoggio at gmail.com
To: ckan-dev at lists.okfn.org
Subject: Re: [ckan-dev] pdf_preview problem

I guess there is a problem with your CKAN configuration, because I did the intallation of CKAN 2.2 several time on several machine now, and I have never had that problem. Maybe it would help if you can describe what you have done to install and configure CKAN. 

Fabrizio

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




I tried to upload the same pdf file to demo.ckan.org and it works there. I also downloaded a pdf file (2 page) from demo ckan site and uploaded it to my instance and it did not work.

Pabitra




Date: Thu, 15 May 2014 18:34:26 +0200
From: ckanappoggio at gmail.com
To: ckan-dev at lists.okfn.org

Subject: Re: [ckan-dev] pdf_preview problem

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-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 		 	   		  

_______________________________________________

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/20140516/1ababfd5/attachment-0003.html>


More information about the ckan-dev mailing list