[mythtv-users] wiki for using mythweather-revamp

Chris Isip cmisipster at gmail.com
Tue Apr 24 23:36:25 UTC 2007


Sorry, the previous reply was for Steven.

Phil,

Maybe the install is not putting the mythweather files in the right
directories.  Here is the file list for the mythweather revamp install. You
can check if they are present in the proper directories. In my setup, the
plugins directory is in /usr/lib/ while the share is in /usr/.  It might be
different in gentoo.  Also, the  revamp install will overwrite three files I
think.

/mythtv
/mythtv/plugins
/mythtv/plugins/libmythweather.so
/share
/share/mythtv
/share/mythtv/mythweather
/share/mythtv/mythweather/scripts
/share/mythtv/mythweather/scripts/MapSearch.pm
/share/mythtv/mythweather/scripts/NDFDParser.pm
/share/mythtv/mythweather/scripts/NWS-Stations.xml
/share/mythtv/mythweather/scripts/NWSLocation.pm
/share/mythtv/mythweather/scripts/README
/share/mythtv/mythweather/scripts/animaps.pl
/share/mythtv/mythweather/scripts/bp16mr06.dbx
/share/mythtv/mythweather/scripts/icons
/share/mythtv/mythweather/scripts/maps
/share/mythtv/mythweather/scripts/maps.pl
/share/mythtv/mythweather/scripts/maps.xml
/share/mythtv/mythweather/scripts/ndfd.pl
/share/mythtv/mythweather/scripts/ndfd18.pl
/share/mythtv/mythweather/scripts/ndfdXML.pm
/share/mythtv/mythweather/scripts/nws-alert.pl
/share/mythtv/mythweather/scripts/nwsxml.pl
/share/mythtv/mythweather/scripts/weather_types
/share/mythtv/themes
/share/mythtv/themes/default
/share/mythtv/themes/default/cloudy.png
/share/mythtv/themes/default/fair.png
/share/mythtv/themes/default/flurries.png
/share/mythtv/themes/default/fog.png
/share/mythtv/themes/default/logo.png
/share/mythtv/themes/default/lshowers.png
/share/mythtv/themes/default/mcloudy.png
/share/mythtv/themes/default/mw-background.png
/share/mythtv/themes/default/mw-lines.png
/share/mythtv/themes/default/mw-map-sat.png
/share/mythtv/themes/default/mw-map.png
/share/mythtv/themes/default/mw-popup.png
/share/mythtv/themes/default/mw-shading.png
/share/mythtv/themes/default/mw_checked.png
/share/mythtv/themes/default/mw_checked_high.png
/share/mythtv/themes/default/mw_unchecked.png
/share/mythtv/themes/default/mw_unchecked_high.png
/share/mythtv/themes/default/mwmain.png
/share/mythtv/themes/default/pcloudy.png
/share/mythtv/themes/default/rainsnow.png
/share/mythtv/themes/default/showers.png
/share/mythtv/themes/default/snowshow.png
/share/mythtv/themes/default/sunny.png
/share/mythtv/themes/default/text_button_off.png
/share/mythtv/themes/default/text_button_on.png
/share/mythtv/themes/default/text_button_pushed.png
/share/mythtv/themes/default/thunshowers.png
/share/mythtv/themes/default/unknown.png
/share/mythtv/themes/default/weather-ui.xml
/share/mythtv/weather_settings.xml

You can also test if everything works in the bash command line.  Just cd to
your mythweather scripts directory and run something like:

/usr/share/mythtv/mythweather/scripts/ndfd18.pl -u ENG -d
/home/cmisip/.mythtv/MythWeather/NDFD-18_Hour +40.58,-085.11

This is setup for fort wayne indiana 18 hour forecast.  If there are perl
dependencies missing it will show as an error here.



On 4/24/07, Chris Isip <cmisipster at gmail.com> wrote:
>
> Its a little confusing.  It threw me off too.  You need to do a "Change
> Location" in the Screens setup.  Search for an airport near you ( state the
> city name).  Do this for all screens that are "Active".  Then hit M to exit
> the Screen setup and then you can go to the Sources setup.  You are really
> setting the data source in the Screen setup.
>
>
>
> On 4/24/07, Phil Bridges <gravityhammer at gmail.com> wrote:
> >
> > On 4/24/07, Phil Bridges <gravityhammer at gmail.com> wrote:
> > > On 4/24/07, Chris Isip <cmisipster at gmail.com> wrote:
> > > > I've got an atrpms mythtv suite installed and I had to uninstall
> > mythweather
> > > > with the --nodeps option first before installing the mythweather
> > revamp and
> > > > it works.
> > > >
> > > > If your mythweather is an rpm maybe you can try uninstalling that
> > first.
> > > >
> > > >
> > > >
> > > >
> > > > On 4/24/07, Phil Bridges <gravityhammer at gmail.com> wrote:
> > > > >
> > > > > On 4/23/07, Phil Bridges < gravityhammer at gmail.com> wrote:
> > > > > > On 4/23/07, William Munson <william_munson at bellsouth.net >
> > wrote:
> > > > > > > Phil Bridges wrote:
> > > > > > > > On 4/23/07, Lucien Dunning <ldunning at gmail.com> wrote:
> > > > > > > >
> > > > > > > >> typo in the address.  It should be
> > > > > > > >> svn co
> > > > http://svn.mythtv.org/svn/branches/mythweather-revamp/mythplugins
> > > > > > > >>
> > > > > > > >> On 4/23/07, Phil Bridges < gravityhammer at gmail.com> wrote:
> > > > > > > >>
> > > > > > > >>> On 4/23/07, Lucien Dunning < ldunning at gmail.com> wrote:
> > > > > > > >>>
> > > > > > > >>>> since msnbc is b0rked, the mythweather plugin is now
> > useless.
> > > > North
> > > > > > > >>>> American users can use the mythweather-revamp plugin.  It
> > is very
> > > > > > > >>>> beta, so use at your own risk.  I  typed up a wiki to
> > compile it
> > > > > > > >>>> against a .20 or later myth build.  Its what worked on my
> > system,
> > > > so
> > > > > > > >>>> feel free to update it with your own experiences.
> > > > > > > >>>>
> > > > > > > >>>>
> > > > http://www.mythtv.org/wiki/index.php/Using_mythweather-reavmp_with_trunk_mythtv
> >
> > > > > > > >>>>
> > > > > > > >>>> For general info on the project, see
> > > > > > > >>>>
> > > > > > > >>>>
> > > > http://www.mythtv.org/wiki/index.php/Weather_sandbox
> > > > > > > >>>>
> > > > > > > >>>> -Lucien
> > > > > > > >>>>
> > > > > > > >>> Thanks for the wiki update.  Unfortunately, I can't even
> > grab the
> > > > SVN of this:
> > > > > > > >>>
> > > > > > > >>> localhost ~ # svn co
> > > > > > > >>>
> > > > http://svn.mythtv.org/branches/mythweather-revamp/mythplugins
> > > > > > > >>> svn: PROPFIND request failed on
> > > > '/branches/mythweather-revamp/mythplugins'
> > > > > > > >>> svn: PROPFIND of
> > > > '/branches/mythweather-revamp/mythplugins': 405
> > > > > > > >>> Method Not Allowed ( http://svn.mythtv.org)
> > > > > > > >>>
> > > > > > > >>>
> > > > > > > >>> Any hints?
> > > > > > > >>>
> > > > > > > >
> > > > > > > >
> > > > > > > > Hmm - the new address works, and I can get the revamped
> > MythWeather
> > > > > > > > installed, but it segfaults as soon as I hit the menu key
> > after
> > > > > > > > selecting my screens.
> > > > > > > >
> > > > > > > If I remember right, you need to remove the weather.xml files
> > from
> > > > your
> > > > > > > existing themes. Its trying to read your old .xml file and is
> > borking.
> > > > > >
> > > > > > OK - it still segfaults, but now it gives:
> > > > > > 2007-04-23 17:02:07.617 background is in database, but not theme
> > file
> > > > > >
> > > > >
> > > > > Anybody have any suggestions?
> > >
> > > On this machine, I'm running Gentoo, and emerged MyhtTV without
> > > MythWeather.  I wonder what the problem is...
> > >
> >
> > Hmmmm.
> >
> > I tried to go to MythWeather today, and it didn't segfault.  It did,
> > though appear to lockup up with the "retreiving weather data..."
> > screen.  How can it retrieve weather data if it hasn't even gotten my
> > location?
> >
> > Here is my frontend log:
> >
> > 2007-04-24 19:05: 32.436 MSqlQuery: SELECT DISTINCT wss.sourceid,
> > source_name, up
> > date_timeout, retrieve_timeout, path, author, version, email, types FROM
> > weather
> > sourcesettings wss LEFT JOIN weatherdatalayout wdl ON wss.sourceid =
> > wdl.weather
> > sourcesettings_sourceid WHERE hostname = 'localhost';
> > 2007-04-24 19:05:32.437 MSqlQuery: SELECT DISTINCT
> > location,weathersourcesetting
> > s_sourceid,weatherscreens.units,weatherscreens.screen_id FROM
> > weatherdatalayout,
> > weatherscreens WHERE weatherscreens.screen_id = weatherscreens_screen_id
> > AND wea
> > therscreens.hostname = 'localhost';
> > 2007-04-24 19:05:32.438 MSqlQuery: SELECT data FROM settings WHERE value
> > = 'weat
> > herTimeout' AND hostname = 'localhost' ;
> > 2007-04-24 19:05:32.439 MSqlQuery: SELECT data FROM settings WHERE value
> > = 'weat
> > herTimeout' AND hostname IS NULL;
> > 2007-04-24 19:05:32.439 MSqlQuery: SELECT data FROM settings WHERE value
> > = 'weat
> > herHoldTimeout' AND hostname = 'localhost' ;
> > 2007-04-24 19:05:32.439 MSqlQuery: SELECT data FROM settings WHERE value
> > = 'weat
> > herHoldTimeout' AND hostname IS NULL;
> > 2007-04-24 19:05:32.440 MSqlQuery: SELECT data FROM settings WHERE value
> > = 'Play
> > BoxTransparency' AND hostname = 'localhost' ;
> > 2007-04-24 19:05:32.455 XMLParse::LoadTheme using
> > /usr/share/mythtv/themes/defau
> > lt/weather-ui.xml
> > 2007-04-24 19:05:32.552 MSqlQuery: SELECT screen_id, container, units,
> > draworder
> > FROM weatherscreens  WHERE hostname = 'localhost' ORDER BY draworder;
> > 2007-04-24 19:05:32.553 MSqlQuery: SELECT screen_id, container, units,
> > draworder
> > FROM weatherscreens  WHERE hostname = 'localhost' ORDER BY draworder;
> > 2007-04-24 19:05:32.553 background is in database, but not theme file
> >
> > Any suggestions?
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users at mythtv.org
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20070424/57890dcb/attachment.htm 


More information about the mythtv-users mailing list