← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 1310359] Re: MythBuntu Control Center Plugins Tab Issue

 

Not sure if it fits the description and errors originally in this bug.
However, I do see some issues on the plugins tab with mythbuntu-control-
centre 0.64.1 on recently upgraded Ubuntu 16.04 machine.  I can
reproduce it by clicking on the "Enable/Disable All MythTV Plugins"
CheckButton.

The error reported by apport is:

Traceback (most recent call last):
File "/usr/share/mythbuntu/plugins/python/plugins.py", line 133 in toggle_plugins
    if list[item].flags() & Gtk.SENSITIVE:
  AttributeError: 'CheckButton' object has no attribute 'flags'

Seems that the code expects there to be a 'flags' attribute on the
object:

127     def toggle_plugins(self,widget):
128         if widget is not None:
129             if widget.get_name() == 'selectall_plugins_checkbox':
130                 toggle=widget.get_active()
131                 for list in get_frontend_plugin_dictionary(self), get_backend_plugin_dictionary(self):
132                     for item in list:
133                         if list[item].flags() & Gtk.SENSITIVE:
134                             list[item].set_active(toggle)

-- 
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to mythbuntu-control-centre in Ubuntu.
https://bugs.launchpad.net/bugs/1310359

Title:
  MythBuntu Control Center Plugins Tab Issue

Status in mythbuntu-control-centre package in Ubuntu:
  Incomplete

Bug description:
  Whenever I attempt to make a change in the mythbuntu plugins tab I get
  a pop-up error

  The terminal displays:

  $ mythbuntu-control-centre 
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  Traceback (most recent call last):
    File "/usr/bin/mythbuntu-control-centre", line 360, in compareState
      plugin.compareState()
    File "/usr/share/mythbuntu/plugins/python/mysql_configuration.py", line 121, in compareState
      if self.mysql_service and self.enablemysql.get_active_text() == "Disable":
  AttributeError: 'ComboBox' object has no attribute 'get_active_text'

  
  Here are my installed packages

  ii  mythbuntu-common                      0.73                                               all          Mythbuntu application support functions
  ii  mythbuntu-control-centre              0.64.1                                             all          Mythbuntu Configuration Application

  I just updated from mythbuntu 12.04 to 14.04

  -Jack

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mythbuntu-control-centre/+bug/1310359/+subscriptions


References