← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 1365090] [NEW] Mythexport error in MCC startup

 

Public bug reported:

Users get the following during MCC startup due to python2 vs python3
differences.

daryl@daryl-A780L3C:~$ mythbuntu-control-centre
Reading package lists... Done
Building dependency tree       
Reading state information... Done

below is a GUI popup:

 Exception in captureState of plugin MythExport

and then after closing the popup:

Traceback (most recent call last):
  File "/usr/lib/python3.4/configparser.py", line 1116, in _unify_values
    sectiondict = self._sections[section]
KeyError: 'cfg'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/mythbuntu-control-centre", line 377, in refreshState
    plugin.captureState()
  File "/usr/share/mythbuntu/plugins/python/mythexport.py", line 53, in captureState
    self.changes['dir'] = self.config.get("cfg", "dir")
  File "/usr/lib/python3.4/configparser.py", line 754, in get
    d = self._unify_values(section, vars)
  File "/usr/lib/python3.4/configparser.py", line 1119, in _unify_values
    raise NoSectionError(section)
configparser.NoSectionError: No section: 'cfg'

** Affects: mythbuntu
     Importance: Medium
     Assignee: Thomas Mashos (tgm4883)
         Status: Fix Committed

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

Title:
  Mythexport error in MCC startup

Status in Mythbuntu, Ubuntu derivative focused upon MythTV:
  Fix Committed

Bug description:
  Users get the following during MCC startup due to python2 vs python3
  differences.

  daryl@daryl-A780L3C:~$ mythbuntu-control-centre
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done

  below is a GUI popup:

   Exception in captureState of plugin MythExport

  and then after closing the popup:

  Traceback (most recent call last):
    File "/usr/lib/python3.4/configparser.py", line 1116, in _unify_values
      sectiondict = self._sections[section]
  KeyError: 'cfg'

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "/usr/bin/mythbuntu-control-centre", line 377, in refreshState
      plugin.captureState()
    File "/usr/share/mythbuntu/plugins/python/mythexport.py", line 53, in captureState
      self.changes['dir'] = self.config.get("cfg", "dir")
    File "/usr/lib/python3.4/configparser.py", line 754, in get
      d = self._unify_values(section, vars)
    File "/usr/lib/python3.4/configparser.py", line 1119, in _unify_values
      raise NoSectionError(section)
  configparser.NoSectionError: No section: 'cfg'

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


Follow ups

References