[mythtv-users] MythWeb weather, broken or is it just me?

Sebastian Buks sebastianbuks at yahoo.com
Sat Sep 20 11:03:53 UTC 2008


> I think the problem is coming from the BBC.  When I try grabbing the
> weather data for Malmo, Sweden, I get this:
>
> # cd /usr/share/mythtv/mythweather/scripts/uk_bbc
> # ./bbccurrentxml.pl -u SI -d . W4613
> appt::NA
> copyright::Â(c)BBC Weather
> station_id::4613
> cclocation::Malmo, Sweden
> observation_time::Tuesday at 2000 GMT
> weather::N/A
> weather_icon::unknown.png
> temp::9
> wind_dir::E
> wind_spdgst::6 (NA)
> relative_humidity::85
> pressure::N/AmB
> visibility::40+
>
> The XML that the grabber is getting comes from:
> http://feeds.bbc.co.uk/weather/feeds/rss/obs/world/4613.xml
>
> As of right now, the weather conditions are 'N/A', which obviously
> translates as unknown.  As for the Three Day Forecast:
>
> # ./bbcthreedayxml.pl -u SI -d . W4613
> copyright::Â(c)BBC Weather
> station_id::4613
> 3dlocation::Malmo, Sweden
> updatetime::Updated Tue Sep 16 16:11:08 2008
> date-0::Wednesday
> icon-0::sunny.png
> high-0::14
> low-0::10
> date-1::Thursday
> icon-1::sunny.png
> high-1::13
> low-1::5
> date-2::Friday
> icon-2::sunny.png
> high-2::14
> low-2::9
>
> It seems to be fine. (Source:
> http://feeds.bbc.co.uk/weather/feeds/rss/5day/world/4613.xml)
>
> This is running version 0.1 of both BBC grabber scripts.
>
> --  
> Joe Ripley
> vitaminjoe at gmail.com

Thanks for that Joe, I tried it out and indeed my script is grabbing  
the exact same stuff so Perl should be fully working. However my  
MythWeb still shows that half-parsed look (http://imagebin.org/26918).  
I figure this must reside in Apache or some permissions error. However  
the "Unknown.png"  image resides in the same dir as the rest of the  
pictures and they all have the same permissions and ownership. So  
again, I really dont know what could possibly be the problem here. Is  
there a way to run Apache2 server in full verbose mode to see what it  
is trying to grab and fails with? Error logs shows nothing at all.

regards


More information about the mythtv-users mailing list