Skip to content

bug(plugins): plugin fails to enable #251

Description

@cfobel

After "Update all..." button is clicked in "Plugin manager" dialog, the following error occurs when clicking on an Enable button next to one of the plugins:

(<type 'exceptions.AttributeError'>, AttributeError("'PluginController' object has no attribute 'service'",), <traceback object at 0x126D73F0>) {}
  File "C:\Users\chris\Miniconda2-x86\envs\md-i247\lib\site-packages\microdrop\gui\plugin_manager_controller.py", line 240, in on_button_enable_clicked
    self.toggle_enabled()
  File "C:\Users\chris\Miniconda2-x86\envs\md-i247\lib\site-packages\microdrop\gui\plugin_manager_controller.py", line 104, in toggle_enabled
    if not self.enabled():
  File "C:\Users\chris\Miniconda2-x86\envs\md-i247\lib\site-packages\microdrop\gui\plugin_manager_controller.py", line 87, in enabled
    return not(self.service is None or not self.service.enabled())
(<type 'exceptions.AttributeError'>, AttributeError("'PluginController' object has no attribute 'service'",), <traceback object at 0x12756350>) {}
  File "C:\Users\chris\Miniconda2-x86\envs\md-i247\lib\site-packages\microdrop\gui\plugin_manager_controller.py", line 240, in on_button_enable_clicked
    self.toggle_enabled()
  File "C:\Users\chris\Miniconda2-x86\envs\md-i247\lib\site-packages\microdrop\gui\plugin_manager_controller.py", line 104, in toggle_enabled
    if not self.enabled():
  File "C:\Users\chris\Miniconda2-x86\envs\md-i247\lib\site-packages\microdrop\gui\plugin_manager_controller.py", line 87, in enabled
    return not(self.service is None or not self.service.enabled())

Workaround

Close Plugin manager and re-open.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions