[mythtv-users] Mythweather-svn setup up problem

Kevin Hayes wondecla at tpg.com.au
Tue Oct 23 09:06:22 UTC 2007


On Sun, 21 Oct 2007 21:52:02 -0600
"Joe Ripley" <vitaminjoe at gmail.com> wrote:

> On 10/21/07, Kevin Hayes <wondecla at tpg.com.au> wrote:
> > I've just done a fresh install of svn 14701, and am unable
> > to finish seting up screens in mythweather.
> >
> > I have all perl modules installed that are needed by the
> > scripts in /usr/share/mythtv/mythweather installed,
> > plus those in the README file and those listed at:
> > http://www.mythtv.org/wiki/index.php/Weather_sandbox
> >
> > cat << EOF | perl
> > use XML::Parser;
> > use XML::SAX::Base;
> > use Carp;
> > use SOAP::Lite;
> > use Data::Dumper;
> > use Date::Manip;
> > use Getopt::Std;
> > use LWP::Simple;
> > use Exporter;
> > use Image::Size;
> > use Date::Manip;
> > use Perl::Magick;
> > EOF
> > gives no error messages,
> >
> > I'm using GANT theme and the log messages are;
> >
> > 2007-10-22 12:30:00.716 found script /usr/share/mythtv/mythweather/scripts/animaps.pl
> > 2007-10-22 12:30:01.477 found script /usr/share/mythtv/mythweather/scripts/bbccurrentxml.pl
> > 2007-10-22 12:30:01.691 found script /usr/share/mythtv/mythweather/scripts/bbcthreedayxml.pl
> > 2007-10-22 12:30:02.771 found script /usr/share/mythtv/mythweather/scripts/envcan.pl
> > 2007-10-22 12:30:03.223 found script /usr/share/mythtv/mythweather/scripts/envcan_animaps.pl
> > 2007-10-22 12:30:03.610 found script /usr/share/mythtv/mythweather/scripts/maps.pl
> > 2007-10-22 12:30:04.587 found script /usr/share/mythtv/mythweather/scripts/ndfd.pl
> > 2007-10-22 12:30:05.200 found script /usr/share/mythtv/mythweather/scripts/ndfd18.pl
> > 2007-10-22 12:30:05.608 found script /usr/share/mythtv/mythweather/scripts/nws-alert.pl
> > 2007-10-22 12:30:05.801 found script /usr/share/mythtv/mythweather/scripts/nwsxml.pl
> > 2007-10-22 12:30:05.877 XMLParse::LoadTheme using /usr/share/mythtv/themes/default/weather-ui.xml
> >
> > Basicially i arrow down the inactive screens list,
> > select on each one and select units. and the corresponding screen
> > appears in the active screen list.
> >
> > When i've selected all the screens i want, continuing to arrow
> > down jumps past the active screen list straight to "Finish".
> > Which if selected scrolls a list of parameters up off the
> > top of the screen, with  a "OK" button at the bottom.
> > Selecting this goes back to select screens.
> >
> > I'm unable to select the active screens to give location etc.
> > and finish the setup.
> >
> > I've setup this up succesfully in the past,and it worked quite well,
> > but have had the same problem for the last 2 or 3 times i've tried
> > the current svn.
> >
> > I'm sure this is something simple, would appreciate any help/tips
> > i'm using slackware 12 and source installation.
> >
> > --
> > Kevin Hayes


> I can confirm this.  It's impossible to get into the 'Active Screens'
> list to define the location for each of the selected screens.  This is
> why the list of parameters is displayed.  This used to work in the
> past.  I think the problem started happening with changeset 14566.
> 
> I rolled my MythWeather plugin back to 14565 and everything started to
> work again.
> 
> I wrote a patch to fix a segfault with MythWeather (patch #3921).  I
> tried applying my patch to 14565, and everything works perfectly.  The
> patch was modified in changeset 14566.  This modified version does not
> work properly.
> 
> I think the reason it doesn't work properly is because the
> m_active_list->allowFocus(false) call is happening before the
> buildFocusList() function is called.  The 14566 changeset sets the
> allowFocus(false) for m_active_list in the wireUI() function... I
> think this premature call causes the problems we see in 14566.
> 
> -- 
> Joe Ripley
> vitaminjoe at gmail.com


Thanks for the reply Joe, i was starting to tear my hair out on this,
i'll read the doc and submit a bug report.

Is there a way of downloading an old svn, eg 14565 to downgrade this,
i browsed through the svn directories for 14565, but couldn't see
an obvious way to get the 14565 (or earlier) source.

-- 
Kevin Hayes



More information about the mythtv-users mailing list