PrusaOwners / OctoPrint-PrusaMeshMap

This plugin performs a mesh bed leveling operation then returns the results as an easy to read heatmap.
MIT License
133 stars 31 forks source link

Missing dependencies in setup.py #4

Closed koenkooi closed 6 years ago

koenkooi commented 6 years ago

I'm using a minimal OS to run octoprint, so only python modules in setup.py will be installed, which triggered this:

Apr 02 16:48:59 raspberrypi2 octoprint[32504]: 2018-04-02 16:48:59,568 - octoprint.plugin.core - ERROR - Error loading plugin PrusaMeshMap
Apr 02 16:48:59 raspberrypi2 octoprint[32504]: Traceback (most recent call last):
Apr 02 16:48:59 raspberrypi2 octoprint[32504]:   File "/usr/lib/python2.7/site-packages/octoprint/plugin/core.py", line 829, in _import_plugin
Apr 02 16:48:59 raspberrypi2 octoprint[32504]:     instance = imp.load_module(key, f, filename, description)
Apr 02 16:48:59 raspberrypi2 octoprint[32504]:   File "/usr/lib/python2.7/site-packages/octoprint_PrusaMeshMap/__init__.py", line 14, in <module>
Apr 02 16:48:59 raspberrypi2 octoprint[32504]:     import matplotlib
Apr 02 16:48:59 raspberrypi2 octoprint[32504]:   File "/usr/lib/python2.7/site-packages/matplotlib/__init__.py", line 124, in <module>
Apr 02 16:48:59 raspberrypi2 octoprint[32504]:     from matplotlib.rcsetup import (defaultParams,
Apr 02 16:48:59 raspberrypi2 octoprint[32504]:   File "/usr/lib/python2.7/site-packages/matplotlib/rcsetup.py", line 32, in <module>
Apr 02 16:48:59 raspberrypi2 octoprint[32504]:     from matplotlib.fontconfig_pattern import parse_fontconfig_pattern
Apr 02 16:48:59 raspberrypi2 octoprint[32504]:   File "/usr/lib/python2.7/site-packages/matplotlib/fontconfig_pattern.py", line 25, in <module>
Apr 02 16:48:59 raspberrypi2 octoprint[32504]:     from pyparsing import Literal, ZeroOrMore, \
Apr 02 16:48:59 raspberrypi2 octoprint[32504]: ImportError: No module named pyparsing

After installing pyparsing ccycler is the next missing dep:

Apr 02 16:52:33 raspberrypi2 octoprint[32688]: 2018-04-02 16:52:33,522 - octoprint.plugin.core - ERROR - Error loading plugin PrusaMeshMap
Apr 02 16:52:33 raspberrypi2 octoprint[32688]: Traceback (most recent call last):
Apr 02 16:52:33 raspberrypi2 octoprint[32688]:   File "/usr/lib/python2.7/site-packages/octoprint/plugin/core.py", line 829, in _import_plugin
Apr 02 16:52:33 raspberrypi2 octoprint[32688]:     instance = imp.load_module(key, f, filename, description)
Apr 02 16:52:33 raspberrypi2 octoprint[32688]:   File "/usr/lib/python2.7/site-packages/octoprint_PrusaMeshMap/__init__.py", line 14, in <module>
Apr 02 16:52:33 raspberrypi2 octoprint[32688]:     import matplotlib
Apr 02 16:52:33 raspberrypi2 octoprint[32688]:   File "/usr/lib/python2.7/site-packages/matplotlib/__init__.py", line 124, in <module>
Apr 02 16:52:33 raspberrypi2 octoprint[32688]:     from matplotlib.rcsetup import (defaultParams,
Apr 02 16:52:33 raspberrypi2 octoprint[32688]:   File "/usr/lib/python2.7/site-packages/matplotlib/rcsetup.py", line 37, in <module>
Apr 02 16:52:33 raspberrypi2 octoprint[32688]:     from cycler import Cycler, cycler as ccycler
Apr 02 16:52:33 raspberrypi2 octoprint[32688]: ImportError: No module named cycler