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 OctoPrint 1.5.2 Python 3.7.3 OctoPi 0.17.0 #3

Closed
ZeekWorld opened this issue Jan 18, 2021 · 6 comments
Closed

Not working on OctoPrint 1.5.2 Python 3.7.3 OctoPi 0.17.0 #3

ZeekWorld opened this issue Jan 18, 2021 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@ZeekWorld
Copy link

Installed plugin via URL.
Message shows as successful.
Reload.
Plugin is not listed, nor shows on the plugin manager.

@ZeekWorld ZeekWorld changed the title Not working on OctoPrint 1.5.2Python 3.7.3OctoPi 0.17.0 Not working on OctoPrint 1.5.2 Python 3.7.3 OctoPi 0.17.0 Jan 18, 2021
@herrwusel
Copy link

herrwusel commented Jan 18, 2021

To give some more feedback from the logs:

ERROR - Error loading plugin webdavbackup
Traceback (most recent call last):
  File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/plugin/core.py", line 1298, in _import_plugin
    module = _load_module(module_name, spec)
  File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/plugin/core.py", line 69, in _load_module
    return imp.load_module(name, f, filename, details)
  File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/vendor/imp.py", line 238, in load_module
    return load_package(name, filename)
  File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/vendor/imp.py", line 212, in load_package
    return _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/pi/oprint/lib/python3.7/site-packages/octoprint_webdavbackup/__init__.py", line 6, in <module>
    from webdav3.client import Client
  File "/home/pi/oprint/lib/python3.7/site-packages/webdav3/client.py", line 12, in <module>
    import lxml.etree as etree
ImportError: libxslt.so.1: cannot open shared object file: No such file or directory

EDIT: Which can be solved by apt-get install libxslt-dev.

@Lecl0ne
Copy link

Lecl0ne commented Jan 19, 2021

Exactly the same here.

@edekeijzer
Copy link
Owner

I'll try to find a Raspberry Pi to install OctoPi and look into this.

@edekeijzer edekeijzer self-assigned this Jan 19, 2021
@edekeijzer edekeijzer added duplicate This issue or pull request already exists bug Something isn't working and removed duplicate This issue or pull request already exists labels Jan 19, 2021
@edekeijzer
Copy link
Owner

I've finally been able to look into this. The issue never appeared while testing my plugin on the Docker image. It seems that for amd64 there is n installable package available for lxml, but for ARM (Raspberry Pi) there isn't, so it has to be compiled from source which requires the libxml2-dev and libxslt-dev packages to be installed.
There's no way to really fix this for me, but I will put the dev packages into the requirements list.

@Lecl0ne
Copy link

Lecl0ne commented Feb 1, 2021

So we just have to install this packages?

@ZeekWorld
Copy link
Author

So you mean there is no way to make it work on octopi??
Ok, signing off then. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants