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

Plugin doesn't work/cannot be installed #79

Closed
Chodec80 opened this issue May 22, 2021 · 3 comments
Closed

Plugin doesn't work/cannot be installed #79

Chodec80 opened this issue May 22, 2021 · 3 comments

Comments

@Chodec80
Copy link

Chodec80 commented May 22, 2021

I figured out few days ago that this plugin doesn't work in Octodash v. 2.2.0 and I was surprised that this plugin is missing in my Octoprint. I tried to install via Octoprint, via new installation of the Octodash and also manually via terminal.
Installation via terminal shows me following message:

Could not import OctoPrint's setuptools, are you sure you are running that under the same python installation that OctoPrint is installed under?

Command "python setup.py egg_info" failed with error code 255 in /tmp/pip-req-build-GAdpuv/

octoprint.log
plugin_pluginmanager_console.log

@jneilliii
Copy link
Owner

Yes, so in your octoprint.log error it shows the same error as described in #78. This should be resolved by SSH'ing to the device and running sudo apt install libopenjp2-7. You may need to sudo apt update and sudo apt upgrade as well. Once libopenjp2-7 is installed restarting OctoPrint should allow the plugin to initialize.

@Chodec80
Copy link
Author

Chodec80 commented May 23, 2021

omg, based on your advice at Discord I tried to install missing dependency before I wrote this post, but I god still the same error about code 255 as I mentioned above. But fact is, that plugin works despite the "error 255".

So, sorry for this unnecessary Issue, you had right with the missing dependency. Many thanks for your help.

@cbrherms
Copy link

@jneilliii ran in to this issue myself (fresh raspi-lite install with octoprint installed on top).
installing libopenjp2-7 seperately cleared that error, but on reload of octoprint the plugin still would not load.

this time giving the erorr:
ImportError: libtiff.so.5: cannot open shared object file: No such file or directory

Had to then install libtiff separately so:
sudo apt install libtiff5

That then got me all up and running with the plugin loading correctly.

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