Not working on my 2.9 / Python 3 installation
Installed in a 2.8 / Python 2 it works like a charm, but in 2.9 / Python 3 when I open the view page, it automatically downloads the PDF to my PC and the view is just a blank.
Hi @armori did you ever figure this out? I currently have the same problem.
@rvizcarra-eclipse unfortunately I couldn't. And this isn't the only extension that just doesn't work properly in CKAN 2.9 / Python 3.
@armori I tried to ask someone on the gitter chat regarding this and they said that it's running fine in the demo and that there is something wrong with our chrome build which I'm not entirely sure what they mean.
Hi, I encountered a similar error with this and tried what I have read here but it is still throwing me the error. I have the latest ckan 2.9, python 3.8 on ubuntu 20.04 from package Any ideas? thank you =======================errror========================== File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 282, in _get_service raise PluginNotFoundException(plugin_name) ckan.plugins.core.PluginNotFoundException: pdf_view =======================errror==========================
Hi @crstn-aiw, When I had this issue, there weren't any errors in the log files but the pdf viewer wasn't showing up. Whenever the page was visited, it automatically downloaded the file and that's how we knew it was broken. Do you have the same issue? At that time, we fixed it by upgrading our python version to 3.8...
Your error suggests that it can't find that pdf_view plugin - did you install it before adding it to your .ini file?
Hope this helps!
Hi @rvizcarra-eclipse thanks for response, yes, it always downloads the pdf for me too, I did install the plugin first before adding to .ini file and my python is 3.8.10.. i've been poking around and think maybe i need to redo it. Would you know what is best way to do a clean re-install of the pdf_view plugin and remove any related references in some folders (I am new to linux & ckan)? thank you
Hey @crstn-aiw,
pip uninstall ckanext-pdfview should do the trick :) pip list to list all of the plugins that you have installed.