This is the error message I got when I tried to add plugins in MCC:

Traceback (most recent call last):
  File "/usr/share/mythbuntu/plugins/python/plugins.py", line 145, in 
toggle_plugins
    if self.mythweb_password_combobox.get_active() != 2 or \
AttributeError: 'MythPluginsPlugin' object has no attribute 
'mythweb_password_combobox'

And here is how I fixed it (diff file follows):

$ cd /usr/share/mythbuntu/plugins/python
$ diff plugins.py.original plugins.py
139c139,140
<                     self.mythweb_password_combobox.set_active(0)
---
>                     ### JJP: another error waiting to happen?
>                     self.mythweb_password_combobox1.set_active(0)
145c146,149
<                 if self.mythweb_password_combobox.get_active() != 2 or \
---
>                 ### `JJP: This is where it blows chunks because 
>                 ###     there is no such attribute 'combobox' --
>                 ###     it should be combobox1 
>                 if self.mythweb_password_combobox1.get_active() != 2 or \

-- 
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to Mythbuntu.
https://bugs.launchpad.net/bugs/1581971

Title:
  Mythbuntu Control Centre Errors when Opening

Status in Mythbuntu:
  Fix Committed
Status in Mythbuntu 16.04 series:
  New
Status in Mythbuntu 16.10 series:
  New

Bug description:
  [Impact]
  When starting mythbuntu-control-centre an error is thrown "Exception in 
applyStateToGUI of plugin Plugins. Disabling Plugin.". This is due to a missed 
field rename when getting this to run on 16.04. This is resolved by renaming 
the missed fields.

  [Test Case]
  Open an unpatched mythbuntu-control-centre via command line and note the 
error "AttributeError: 'MythPluginsPlugin' object has no attribute 
'mythweb_password_combobox'"

  IMPORTANT: There is a second error you may see on the command line
  "configparser.NoSectionError: No section: 'General'" that is due to
  bug LP:1612001 which is caused in another package and will throw the
  same GUI error until patched.

  [Regression Potential]
  Low. The field names were changed inside the plugins.py file, so even if 
there was a regression it would be limited to a single tab inside 
mythbuntu-control-centre

To manage notifications about this bug go to:
https://bugs.launchpad.net/mythbuntu/+bug/1581971/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~mythbuntu-bugs
Post to     : mythbuntu-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mythbuntu-bugs
More help   : https://help.launchpad.net/ListHelp

Reply via email to