[mythtv-users] MCC woes

Daryl McDonald darylangela at gmail.com
Thu Sep 4 21:19:06 UTC 2014


On Wed, Sep 3, 2014 at 4:16 PM, Daryl McDonald <darylangela at gmail.com>
wrote:

>
>
>
> On Wed, Sep 3, 2014 at 1:31 PM, Thomas Mashos <thomas at mashos.com> wrote:
>
>> On Wed, Sep 3, 2014 at 10:03 AM, Daryl McDonald <darylangela at gmail.com>
>> wrote:
>> >
>> >
>> >
>> > On Wed, Sep 3, 2014 at 10:58 AM, Thomas Mashos <thomas at mashos.com>
>> wrote:
>> >>
>> >> On Wed, Sep 3, 2014 at 6:16 AM, Daryl McDonald <darylangela at gmail.com>
>> >> wrote:
>> >> >
>> >> > On Sep 3, 2014 12:19 AM, "Mark Perkins" <perkins1724 at hotmail.com>
>> wrote:
>> >> >>
>> >> >>
>> >> >>
>> >> >> > On 3 Sep 2014, at 10:10 am, "Thomas Mashos" <thomas at mashos.com>
>> >> >> > wrote:
>> >> >> >
>> >> >> >> On Tue, Sep 2, 2014 at 4:17 PM, Daryl McDonald
>> >> >> >> <darylangela at gmail.com>
>> >> >> >> wrote:
>> >> >> >> Are you suggesting that I "sudo rm -r mythexport"?
>> >> >> >>
>> >> >> >> Actually, my question was about the name of Mythbuntu Control
>> >> >> >> Center.
>> >> >> >> It is
>> >> >> >> only found in Software Center by typing "Mythbuntu Configutation
>> >> >> >> Application"  and I don't know what it is called within
>> "apt-get".
>> >> >> >>
>> >> >> >> Thanks Daryl
>> >> >> >>
>> >> >> >>
>> >> >> >>> On Tue, Sep 2, 2014 at 5:04 PM, Thomas Mashos <
>> thomas at mashos.com>
>> >> >> >>> wrote:
>> >> >> >>>
>> >> >> >>> On Mon, Sep 1, 2014 at 10:44 AM, Daryl McDonald
>> >> >> >>> <darylangela at gmail.com>
>> >> >> >>> wrote:
>> >> >> >>>> Hey Thomas, I just reinstalled MCC, via software center, and
>> when
>> >> >> >>>> I
>> >> >> >>>> try
>> >> >> >>>> to
>> >> >> >>>> open it from the dash I get the Error "Exception in
>> captureState
>> >> >> >>>> of
>> >> >> >>>> plugin
>> >> >> >>>> MythExport"
>> >> >> >>>> "Disabling Plugin." I'm guessing removing it a few weeks back
>> >> >> >>>> didn't
>> >> >> >>>> completely take everything. If I close the warning, MCC GUI
>> comes
>> >> >> >>>> up,
>> >> >> >>>> what
>> >> >> >>>> should I do to correct this?  I couldn't find the package with
>> >> >> >>>> "apt-get", I
>> >> >> >>>> don't know what it is called. I tried different combos of MCC
>> and
>> >> >> >>>> MCA
>> >> >> >>>> with
>> >> >> >>>> quotes and spaces or hyphens?
>> >> >> >>>>
>> >> >> >>>> _______________________________________________
>> >> >> >>>> mythtv-users mailing list
>> >> >> >>>> mythtv-users at mythtv.org
>> >> >> >>>> http://www.mythtv.org/mailman/listinfo/mythtv-users
>> >> >> >>>> http://wiki.mythtv.org/Mailing_List_etiquette
>> >> >> >>>> MythTV Forums: https://forum.mythtv.org
>> >> >> >>>
>> >> >> >>> The package name should be mythexport
>> >> >> >>>
>> >> >> >>>
>> >> >> >>> Thanks,
>> >> >> >>>
>> >> >> >>> Thomas Mashos
>> >> >> >>> _______________________________________________
>> >> >> >>> mythtv-users mailing list
>> >> >> >>> mythtv-users at mythtv.org
>> >> >> >>> http://www.mythtv.org/mailman/listinfo/mythtv-users
>> >> >> >>> http://wiki.mythtv.org/Mailing_List_etiquette
>> >> >> >>> MythTV Forums: https://forum.mythtv.org
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >> _______________________________________________
>> >> >> >> mythtv-users mailing list
>> >> >> >> mythtv-users at mythtv.org
>> >> >> >> http://www.mythtv.org/mailman/listinfo/mythtv-users
>> >> >> >> http://wiki.mythtv.org/Mailing_List_etiquette
>> >> >> >> MythTV Forums: https://forum.mythtv.org
>> >> >> >
>> >> >> > Ah ok. The package name for that is mythbuntu-control-centre
>> >> >> >
>> >> >> > Thanks,
>> >> >> >
>> >> >> > Thomas Mashos
>> >> >> > _______________________________________________
>> >> >> > mythtv-users mailing list
>> >> >> > mythtv-users at mythtv.org
>> >> >> > http://www.mythtv.org/mailman/listinfo/mythtv-users
>> >> >> > http://wiki.mythtv.org/Mailing_List_etiquette
>> >> >> > MythTV Forums: https://forum.mythtv.org
>> >> >>
>> >> >> Daryl have you tried the Synaptic package manager? It has a GUI
>> >> >> interface
>> >> >> and seems to be well regarded and may be able to more simply help
>> >> >> repair
>> >> >> broken packages and the like.
>> >> >>
>> >> >> It should turn up in a search of the ubuntu software centre for easy
>> >> >> installation.
>> >> >>
>> >> >> It is essentially a graphical front end to apt.
>> >> >> _______________________________________________
>> >> >> mythtv-users mailing list
>> >> >> mythtv-users at mythtv.org
>> >> >> http://www.mythtv.org/mailman/listinfo/mythtv-users
>> >> >> http://wiki.mythtv.org/Mailing_List_etiquette
>> >> >> MythTV Forums: https://forum.mythtv.org
>> >> >
>> >> > No I haven't, but I will scope it out. I did try removing
>> "mythexport"
>> >> > only
>> >> > to be told it was not installed, yet still the "disabling plugin"
>> >> > warning
>> >> > pops up.
>> >> >
>> >> >
>> >> > _______________________________________________
>> >> > mythtv-users mailing list
>> >> > mythtv-users at mythtv.org
>> >> > http://www.mythtv.org/mailman/listinfo/mythtv-users
>> >> > http://wiki.mythtv.org/Mailing_List_etiquette
>> >> > MythTV Forums: https://forum.mythtv.org
>> >> >
>> >>
>> >> Can you run mythbuntu-control-centre from the command line and post
>> >> the errors here.
>> >>
>> >>
>> >> Thanks,
>> >>
>> >> Thomas Mashos
>> >> _______________________________________________
>> >> mythtv-users mailing list
>> >> mythtv-users at mythtv.org
>> >> http://www.mythtv.org/mailman/listinfo/mythtv-users
>> >> http://wiki.mythtv.org/Mailing_List_etiquette
>> >> MythTV Forums: https://forum.mythtv.org
>> >
>> >
>> > daryl at 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'
>> >
>> >
>> >
>> > _______________________________________________
>> > mythtv-users mailing list
>> > mythtv-users at mythtv.org
>> > http://www.mythtv.org/mailman/listinfo/mythtv-users
>> > http://wiki.mythtv.org/Mailing_List_etiquette
>> > MythTV Forums: https://forum.mythtv.org
>> >
>>
>> Looks like it's caused by an invalid config file (probably caused by
>> another mythexport bug.). You can workaround this issue by removing
>> the conf file by doing
>>
>> sudo rm /etc/default/mythexport-install
>>
>> Thanks,
>>
>> Thomas Mashos
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://www.mythtv.org/mailman/listinfo/mythtv-users
>> http://wiki.mythtv.org/Mailing_List_etiquette
>> MythTV Forums: https://forum.mythtv.org
>>
>
> That did it, thanks Thomas, no warning popup or 'cfg' error:
>
> daryl at daryl-A780L3C:~$ sudo rm /etc/default/mythexport-install
> [sudo] password for daryl:
> daryl at daryl-A780L3C:~$ mythbuntu-control-centre
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> daryl at daryl-A780L3C:~$
>


> I'm having some trouble creating a backup schedule with MCC:
>
 org.freedesktop.DBus.Python.TypeError

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/dbus/service.py", line 707, in
_message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/lib/python3/dist-packages/MythbuntuControlCentre/backend.py",
line 280, in scriptedchanges

plugin_instances[instance].root_scripted_changes(plugin_dictionary[plugin])
  File "/usr/share/mythbuntu/plugins/python/mythbuntu-bare.py", line 488,
in root_scripted_changes
    config.set('Backup', 'db', reconfigure[subitem])
  File "/usr/lib/python3.4/configparser.py", line 1166, in set
    self._validate_value_types(option=option, value=value)
  File "/usr/lib/python3.4/configparser.py", line 1155, in
_validate_value_types
    raise TypeError("option values must be strings")
TypeError: option values must be strings

the above message appears after clicking "apply"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20140904/cf88ad61/attachment.html>


More information about the mythtv-users mailing list