Renaud11232 / OctoPrint-Marlin-Flasher

Arduino/Marlin firmware flasher for OctoPrint
MIT License
38 stars 10 forks source link

Plugin is not enabled after an update #48

Closed Renaud11232 closed 4 years ago

Renaud11232 commented 4 years ago

Sometimes, an error occurs during octoprint startup.

2020-03-28 14:52:47,438 - octoprint.server.views - ERROR - Error while retrieving template data for plugin marlin_flasher, ignoring it
Traceback (most recent call last):
  File "/home/renaud/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint/server/views.py", line 686, in fetch_template_data
    wizard_required = implementation.is_wizard_required()
  File "/home/renaud/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint_marlin_flasher/__init__.py", line 87, in is_wizard_required
    if self.__flasher.check_setup_errors():
AttributeError: 'MarlinFlasherPlugin' object has no attribute '_MarlinFlasherPlugin__flasher

While waiting for a fix, just restart Octoprint once more and the plugin should now be enabled