Comment 5 for bug 1581971

Revision history for this message
Jim Poltrone (jim-poltrone) wrote :

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 \