BoomX2;574162 Wrote:
> NeilF,
> On a typical WinXP installation it is located in the following
> location.
>
> c:\documents and settings\all users\application data\squeezebox\logs\
>
> If you are seeing the same thing as mgb in your logs and you are using
> a weather.com location outside the continental US, it is caused by
> precipitation amounts not being available.
>
> Location UKXX0912 shows "Past 24-hr precip is only available for the
> contiguous U.S." In the US it shows something like:
>
> "Past 24-hr:
> Precip: 0 in
> Snow: 0 in "
>
> The rest of the values are being parsed. So it explains the minus
> sign, but is not related to your report of SDT stopping all together.
>
> The gotWeather sub could be modified to not set the minus flag and
> stuff "N/A" in the precip amounts for non-US locations. I'll see if I
> can post a code snippet later this weekend for Greg's consideration in
> his next update.
>
> Your log file may still give clues as to why your weather info stopped
> updating all together.
>
> Don
eg:-
Code:
--------------------
[10-08-31 22:54:41.1252] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP
(6052) error getting http://www.weather.com/weather/today/UKXX0912
[10-08-31 22:54:41.1256] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP
(6053) Timed out waiting for data
[10-08-31 22:54:45.1877] Plugins::SuperDateTime::Plugin::gotWeather (3372)
Error parsing weather details - precip amounts
[10-08-31 22:54:48.7973] Plugins::SuperDateTime::Plugin::doneDrawing (4297)
Data refresh completed with errors.
[10-08-31 23:24:49.9533] Plugins::SuperDateTime::Plugin::gotWeather (3372)
Error parsing weather details - precip amounts
[10-08-31 23:24:53.5657] Plugins::SuperDateTime::Plugin::doneDrawing (4297)
Data refresh completed with errors.
[10-08-31 23:54:55.0471] Plugins::SuperDateTime::Plugin::gotWeather (3372)
Error parsing weather details - precip amounts
[10-08-31 23:54:58.6597] Plugins::SuperDateTime::Plugin::doneDrawing (4297)
Data refresh completed with errors.
[10-09-01 00:25:00.2033] Plugins::SuperDateTime::Plugin::gotWeather (3372)
Error parsing weather details - precip amounts
[10-09-01 00:25:06.0004] Plugins::SuperDateTime::Plugin::doneDrawing (4297)
Data refresh completed with errors.
[10-09-01 00:55:07.1877] Plugins::SuperDateTime::Plugin::gotWeather (3372)
Error parsing weather details - precip amounts
[10-09-01 00:55:10.7973] Plugins::SuperDateTime::Plugin::doneDrawing (4297)
Data refresh completed with errors.
[10-09-01 01:25:12.0627] Plugins::SuperDateTime::Plugin::gotWeather (3372)
Error parsing weather details - precip amounts
[10-09-01 01:25:15.6723] Plugins::SuperDateTime::Plugin::doneDrawing (4297)
Data refresh completed with errors.
[10-09-01 01:55:16.8127] Plugins::SuperDateTime::Plugin::gotWeather (3372)
Error parsing weather details - precip amounts
[10-09-01 01:55:20.4237] Plugins::SuperDateTime::Plugin::doneDrawing (4297)
Data refresh completed with errors.
[10-09-01 02:25:21.4846] Plugins::SuperDateTime::Plugin::gotWeather (3372)
Error parsing weather details - precip amounts
[10-09-01 02:25:25.0965] Plugins::SuperDateTime::Plugin::doneDrawing (4297)
Data refresh completed with errors.
[10-09-01 02:55:26.4886] Plugins::SuperDateTime::Plugin::gotWeather (3372)
Error parsing weather details - precip amounts
[10-09-01 02:55:30.0968] Plugins::SuperDateTime::Plugin::doneDrawing (4297)
Data refresh completed with errors.
[10-09-01 03:25:31.2659] Plugins::SuperDateTime::Plugin::gotWeather (3372)
Error parsing weather details - precip amounts
[10-09-01 03:25:34.8754] Plugins::SuperDateTime::Plugin::doneDrawing (4297)
Data refresh completed with errors.
[10-09-01 03:55:36.4040] Plugins::SuperDateTime::Plugin::gotWeather (3372)
Error parsing weather details - precip amounts
[10-09-01 03:55:40.0162] Plugins::SuperDateTime::Plugin::doneDrawing (4297)
Data refresh completed with errors.
[10-09-01 04:25:41.4992] Plugins::SuperDateTime::Plugin::gotWeather (3372)
Error parsing weather details - precip amounts
[10-09-01 04:25:45.1150] Plugins::SuperDateTime::Plugin::doneDrawing (4297)
Data refresh completed with errors.
[10-09-01 04:55:46.0627] Plugins::SuperDateTime::Plugin::gotWeather (3372)
Error parsing weather details - precip amounts
--------------------
--
NeilF
shuttle sn45g, athlon 3200+, 1024mb, xp pro (sp2), speedtouch780,
squeeze box 3
slimserver version:7.4.1 - r28947 - operating system:windows xp - en -
cp1252 - mysql version: 5.0.22-community-nt
------------------------------------------------------------------------
NeilF's Profile: http://forums.slimdevices.com/member.php?userid=13059
View this thread: http://forums.slimdevices.com/showthread.php?t=14327
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins