[SOLVED] Broken Terra schedule-ui.xml <state...> tag missing

Have a MythTV related problem? Ask for help from other MythTV users here.

Moderator: Forum Moderators

Post Reply
hedgehog52
Junior
Posts: 79
Joined: Fri Sep 04, 2015 6:08 pm
United States of America

[SOLVED] Broken Terra schedule-ui.xml <state...> tag missing

Post by hedgehog52 »

I've used Terra for many years. I can't remember when I started getting this error, but at some point, mythfrontend started emitting the error below. All it's missing is the "<state...>" tag. I think it should go where I have added "-----here------>". Unfortunately, I don't know whether it should be a simple "<state>" tag, or something more elaborate. Is there an easy way to look back at prior versions of this file to see where it was deleted? Or does someone know what it should be just by looking at it?

Error statement emitted by "mythfrontend":
2022-07-21 22:17:12.798637 E XMLParseBase: Location: '/usr/share/mythtv/themes/Terra/schedule-ui.xml' @ 1021 column: 24
Error: tag mismatch

From the file:
<statetype name="buttonitem">
<area>0,0,344,38</area>
-----here------>
<textarea name="buttontext" from="basetextarea">
<area>8,0,328,38</area>
<font>basesmallgrey</font>
<cutdown>yes</cutdown>
<align>left,vcenter</align>
</textarea>
</state>

ADDED:
Hmm, looking at the same file and same tags in the "classic" UI, it appears it should be as follows. Adding this makes the record from schedule page look a lot better.
<state name="active">
Last edited by hedgehog52 on Sun Jul 24, 2022 10:41 pm, edited 1 time in total.
User avatar
kmdewaal
Developer
Posts: 645
Joined: Wed Dec 07, 2016 8:01 pm
Netherlands

Re: Broken Terra schedule-ui.xml <state...> tag missing

Post by kmdewaal »

The line that you miss:

Code: Select all

<state name="active">
has been added in commit 21bad111aa686ac5e083c409c97e4ba24252797d as part of the "Automatically extend sports recordings" feature, on Nov 28, 2021, in what was then master and now fixes/32.
Could it be that you have a local version of the theme, maybe from fixes/31, that has not been updated?
hedgehog52
Junior
Posts: 79
Joined: Fri Sep 04, 2015 6:08 pm
United States of America

Re: Broken Terra schedule-ui.xml <state...> tag missing

Post by hedgehog52 »

kmdewaal wrote:
Sun Jul 24, 2022 9:05 pm
The line that you miss:

Code: Select all

<state name="active">
has been added in commit 21bad111aa686ac5e083c409c97e4ba24252797d as part of the "Automatically extend sports recordings" feature, on Nov 28, 2021, in what was then master and now fixes/32.
Could it be that you have a local version of the theme, maybe from fixes/31, that has not been updated?

Thanks for the response! I'm using the version that comes with Debian 11. It's listed in synaptic as version "1:31.0+fixes20220227.git7e4ce1ba98-dmo0+deb11u1". That looks like 02/27/2022, but it could still be from before 11/28/2021 I guess. But I'm glad that it's officially fixed. I think this has been a problem since at least 2014, and maybe earlier.
Post Reply