[mythtv-users] MCC woes

Thomas Mashos thomas at mashos.com
Fri Sep 5 22:45:08 UTC 2014


On Fri, Sep 5, 2014 at 2:18 PM, Daryl McDonald <darylangela at gmail.com> wrote:
>
>
>
> On Fri, Sep 5, 2014 at 1:04 PM, Thomas Mashos <thomas at mashos.com> wrote:
>>
>> On Fri, Sep 5, 2014 at 8:29 AM, Daryl McDonald <darylangela at gmail.com>
>> wrote:
>> >
>> >
>> >
>> > On Fri, Sep 5, 2014 at 11:07 AM, Thomas Mashos <thomas at mashos.com>
>> > wrote:
>> >>
>> >> On Fri, Sep 5, 2014 at 5:57 AM, Daryl McDonald <darylangela at gmail.com>
>> >> wrote:
>> >> >
>> >> <snip>
>> >> >> >
>> >> >> >>
>> >> >> >> 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"
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > _______________________________________________
>> >> >> > 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
>> >> >> >
>> >> >>
>> >> >> What is the output of 'dpkg -l mythbuntu-common'
>> >> >>
>> >> >> 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:~$ dpkg -l mythbuntu-common
>> >> > Desired=Unknown/Install/Remove/Purge/Hold
>> >> > |
>> >> >
>> >> >
>> >> > Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
>> >> > |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
>> >> > ||/ Name           Version      Architecture Description
>> >> >
>> >> >
>> >> > +++-==============-============-============-=================================
>> >> > ii  mythbuntu-comm 0.74         all          Mythbuntu application
>> >> > support
>> >> > fun
>> >> > daryl at daryl-A780L3C:~$
>> >> >
>> >> >
>> >> > _______________________________________________
>> >>
>> >> Hmm, thought I had tested all the parts of bare. This one is going to
>> >> take a bit more work to get the trace for. Please do the following
>> >>
>> >> 1. Close MCC
>> >> 2. Kill mcc-backend ('sudo killall mcc-backend' should be fine).
>> >> 3. Start mcc-backend in a terminal with 'sudo /usr/bin/mcc-backend'
>> >> 4. In a new terminal window, start mythbuntu-control-center
>> >> 5. Reproduce the error
>> >> 6. Post the output from both terminal windows 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:~$ sudo killall mcc-backend
>> > [sudo] password for daryl:
>> > mcc-backend: no process found
>> > daryl at daryl-A780L3C:~$ sudo killall mythbuntu-control-center-backend
>> > mythbuntu-control-center-backend: no process found
>> >
>> > daryl at daryl-A780L3C:~$
>> >
>> > daryl at daryl-A780L3C:~$ mythbuntu-control-centre
>> > Reading package lists... Done
>> > Building dependency tree
>> > Reading state information... Done
>> > daryl at daryl-A780L3C:~$
>> >
>> > the GUI opened as expected. I even tried correct spelling:
>> >
>> > daryl at daryl-A780L3C:~$ sudo killall mythbuntu-control-centre-backend
>> > mythbuntu-control-centre-backend: no process found
>> > daryl at daryl-A780L3C:~$
>> >
>> > could this have to do with MCC being set according to a database
>> > restore?
>> >
>> >
>> >
>> >
>> > _______________________________________________
>> > 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
>> >
>>
>> Sorry I had the wrong location for the backend binary, but the right
>> name. If you do the following (mcc-backend may not be running) you
>> will get the trace that we need.
>>
>> 1. Close MCC
>> 2. run 'sudo killall mcc-backend'
>> 3. Start mcc-backend in a terminal with 'sudo
>> /usr/share/mythbuntu/mcc-backend'
>> 4. In a new terminal window, start mythbuntu-control-center
>> 5. Reproduce the error
>> 6. Post the output from both terminal windows 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:~$ sudo killall mcc-backend
> [sudo] password for daryl:
> mcc-backend: no process found
> daryl at daryl-A780L3C:~$ sudo /usr/share/mythbuntu/mcc-backend
> daryl at daryl-A780L3C:~$
>
> it worked for at least  a couple minutes before returning the "~$"
>
>
> _______________________________________________
> 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 is exactly what it should do, look like it's running, which is
when you open up mythbuntu-control-centre in another tab and reproduce
the error. Only then will you see a trace in the mcc-backend terminal


Thanks,

Thomas Mashos


More information about the mythtv-users mailing list