Opened 13 years ago

Closed 13 years ago

#4965 closed defect (worksforme)

Error parsing xml on weather-ui.xml for wide and non-wide themes

Reported by: Matt S <skd5aner@…> Owned by: stuartm
Priority: minor Milestone: unknown
Component: mythweather Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

When I go to setup mythweather in the "Screen Settings" section, I get an empty list in any wide screen theme. I've tried mythcenter-wide and ProjectGrayhem?-Wide. Here's what the log says:

2008-03-15 15:20:48.735 Switching to wide mode (MythCenter-wide)
2008-03-15 15:20:48.871 Removing stale cache dir: /home/mythtv/.mythtv/themecach
e/ProjectGrayhem-wide.1280.720
2008-03-15 15:20:48.987 Loading from: /usr/local/share/mythtv/themes/MythCenter-
wide/base.xml
2008-03-15 15:20:49.001 Loading from: /usr/local/share/mythtv/themes/default/bas
e.xml
2008-03-15 15:20:49.983 Connecting to lcd server: localhost:6545 (try 1 of 10)
2008-03-15 15:20:59.900 found script /usr/local/share/mythtv/mythweather/scripts
/ca_envcan/envcan.pl
2008-03-15 15:21:00.005 found script /usr/local/share/mythtv/mythweather/scripts
/ca_envcan/envcan_animaps.pl
2008-03-15 15:21:00.036 found script /usr/local/share/mythtv/mythweather/scripts
/uk_bbc/bbccurrentxml.pl
2008-03-15 15:21:00.067 found script /usr/local/share/mythtv/mythweather/scripts
/uk_bbc/bbcthreedayxml.pl
2008-03-15 15:21:00.176 found script /usr/local/share/mythtv/mythweather/scripts
/us_nws/animaps.pl
2008-03-15 15:21:00.285 found script /usr/local/share/mythtv/mythweather/scripts
/us_nws/maps.pl
2008-03-15 15:21:00.424 found script /usr/local/share/mythtv/mythweather/scripts
/us_nws/ndfd.pl
2008-03-15 15:21:00.560 found script /usr/local/share/mythtv/mythweather/scripts
/us_nws/ndfd18.pl
2008-03-15 15:21:00.673 found script /usr/local/share/mythtv/mythweather/scripts
/us_nws/nws-alert.pl
2008-03-15 15:21:00.733 found script /usr/local/share/mythtv/mythweather/scripts
/us_nws/nwsxml.pl
2008-03-15 15:21:00.754 XMLParse::LoadTheme using /usr/local/share/mythtv/themes
/default-wide/weather-ui.xml
2008-03-15 15:21:00.761 Error parsing weather-ui.xml at line 2
2008-03-15 15:21:00.761 XML error error occurred while parsing content

I tried switching to a non-wide theme (mythcenter) just to see if I could get that to work, but when I go to "Screen Settings" I get an error message that says: "Could not locate 'screen-setup' in theme 'weather-'. Returning to previous menu.

This is what the log says when trying to load a non-wide theme:

Error parsing: /usr/local/share/mythtv/themes/default/weather-ui.xml
at line: 2  column: 2
error occurred while parsing content
2008-03-15 15:25:05.019 Missing textarea helptxt
2008-03-15 15:25:05.019 Missing listbtntype activelist
2008-03-15 15:25:05.019 Missing listbtntype inactivelist
2008-03-15 15:25:05.027 Error parsing weather-ui.xml at line 2
2008-03-15 15:25:05.027 XML error error occurred while parsing content

mythfrontend --version Please include all output in bug reports. MythTV Version : 16468M MythTV Branch : trunk Library API : 0.21.20080304-1 Network Protocol : 40 Options compiled in:

linux release using_oss using_alsa using_arts using_jack using_backend using_dbox2 using_dvb using_firewire using_frontend using_hdhomerun using_iptv using_ivtv using_joystick_menu using_libfftw3 using_lirc using_opengl_vsync using_opengl_video using_v4l using_x11 using_xrandr using_xv using_xvmc using_xvmc_opengl using_bindings_perl using_bindings_python using_opengl using_ffmpeg_threads using_libavc_5_3 using_live using_xvmc_pbuffer

Change History (1)

comment:1 Changed 13 years ago by stuartm

Resolution: worksforme
Status: newclosed

I've no idea what's going on here except that maybe the theme files are corrupt? I've confirmed both MythCenter? and MythCenter?-wide work. The non-wide weather-ui.xml contains screen-setup and line two of the wide version is blank, so neither of the errors makes sense.

Another thing to check is that you don't have different versions of the themes installed in two different locations.

Note: See TracTickets for help on using tickets.