[mythtv-users] Mythweather quit working?
Tim Litwiller
tim at litwiller.net
Mon Mar 14 04:19:31 UTC 2005
Brad Benson wrote:
> On Sun, 13 Mar 2005 02:25:46 -0600, Matt S. <skd5aner at gmail.com> wrote:
>
>>Anyone else experiencing this? When I try to launch it, it times out.
>> When I look at the command line it complains about not being able to
>>contact the weather.com site. When I try to manually enter the URL it
>>lists, it won't work either. Anyone else seing this issue?
>>
>>Thanks!
>>Matt
>>
>>
>>_______________________________________________
>>mythtv-users mailing list
>>mythtv-users at mythtv.org
>>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>>
>>
>>
>
>
> Someone else reported this earlier today and included a patch to fix
> mythweather 0.17. It appears that mythweather is hardcoded to
> retrieve weather data from w3.weather.com and weather.com changed
> their DNS entries so that w3.weather.com no longer resolves. You can
> either apply the patch included in this conversation:
>
> http://www.gossamer-threads.com/lists/mythtv/users/117858
>
> or just go through mythweather.cpp and change all occurrences of
> w3.weather.com to www.weather.com. After making the change you will
> need to recompile and reinstall mythweather for the changes to take
> effect.
>
> Brad
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
or if you need a very quick hack and you aren't willing to recompile a
package this should work
put this in cron all on one line to run once a day or so
echo "`host www.weather.com | cut -d" " -f 4` w3.weather.com" >> /etc/hosts
More information about the mythtv-users
mailing list