Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working on my 2.9 / Python 3 installation #43

Open
armori opened this issue Jun 18, 2021 · 7 comments
Open

Not working on my 2.9 / Python 3 installation #43

armori opened this issue Jun 18, 2021 · 7 comments

Comments

@armori
Copy link

armori commented Jun 18, 2021

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.

@reinevizcarra
Copy link

Hi @armori did you ever figure this out? I currently have the same problem.

@armori
Copy link
Author

armori commented Sep 27, 2021

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

@reinevizcarra
Copy link

reinevizcarra commented Sep 27, 2021

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

@crstn-aiw
Copy link

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

@reinevizcarra
Copy link

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!

@crstn-aiw
Copy link

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

@reinevizcarra
Copy link

Hey @crstn-aiw,
pip uninstall ckanext-pdfview should do the trick :) pip list to list all of the plugins that you have installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants