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">
[SOLVED] Broken Terra schedule-ui.xml <state...> tag missing
Moderator: Forum Moderators
-
- Junior
- Posts: 79
- Joined: Fri Sep 04, 2015 6:08 pm
[SOLVED] Broken Terra schedule-ui.xml <state...> tag missing
Last edited by hedgehog52 on Sun Jul 24, 2022 10:41 pm, edited 1 time in total.
Re: Broken Terra schedule-ui.xml <state...> tag missing
The line that you miss:
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?
Code: Select all
<state name="active">
Could it be that you have a local version of the theme, maybe from fixes/31, that has not been updated?
-
- Junior
- Posts: 79
- Joined: Fri Sep 04, 2015 6:08 pm
Re: Broken Terra schedule-ui.xml <state...> tag missing
kmdewaal wrote: ↑Sun Jul 24, 2022 9:05 pmThe line that you miss: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.Code: Select all
<state name="active">
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.