mbonsack;509446 Wrote: 
> Spoke too soon about that possible "coincidence"; the "infinite star" is
> back.  Here's the logs I have captured *prior* to resetting SBS or
> pressing "+" on the remote:
> 
> [10-01-22 11:26:23.5889]
> Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (5600) error getting
> http://www.weather.com/weather/local/92067
> [10-01-22 11:26:23.5894]
> Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (5601) Timed out waiting
> for data
> [10-01-22 13:44:42.3761]
> Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (5600) error getting
> http://www.weather.com/weather/local/92067
> [10-01-22 13:44:42.3767]
> Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (5601) Timed out waiting
> for data
> [10-01-22 13:50:02.0458] Slim::Networking::IO::Select::__ANON__ (146)
> Error: Select task failed calling
> Slim::Networking::Async::HTTP::_http_read_body: Can't call method
> "content_list" on an undefined value at
> /tmp/par-squeezeboxserver/cache-4bf510a8f17b04a788ee30e0fe7d37ab7e49ac9b/75c78942.pm
> line 2800.
> ; fh=Slim::Networking::Async::Socket::HTTP=GLOB(0xd9bd07c)
> 
> That last entry doesn't look good; all squeezeboxes in the house are
> off at the time of these logs.
> 
> -mark

Thanks Mark-

I've seen similar behavior on a handful of instances.  I think what's
happening is weather.com is giving a half baked web response that
doesn't parse with tree builder and then when I try to walk the null
tree it craps out with a real exception which kills the plugin.

I need to play with tree builder/Perl to see if there's an elegant way
to check for that condition.  I can add null value checks all over the
place, but given the number of parses it makes the code look very ugly. 
It also doesnt help that it's not an easily reproducible condition to
program against.

-Greg


-- 
GoCubs
------------------------------------------------------------------------
GoCubs's Profile: http://forums.slimdevices.com/member.php?userid=312
View this thread: http://forums.slimdevices.com/showthread.php?t=73222

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to