Currently I am testing my plugins against OP 1.4.0rcX and Python 3.
Some of my plugins are related to other plugins to I check the availability like this:
if "preheat" in self._plugin_manager.plugins: plugin = self._plugin_manager.plugins["preheat"] if plugin != None and plugin.enabled == True: ... do some usefull stuff with the plugin ...
Now I realized that only checking against "enabled" is not enough, because the "preHeat-Plugin" is currently not Python 3 compatible.
- Why is the plugin still enabled and not disabled if incompatibility is detected?
- In the Plugin Manager UI the plugin is still listed, but could not be used. Only in the octoprint.log it is reflected. Is it planed to improve the UI as well?