jallison wrote: 
> Hi all,
> 
> Looks like trouble parsing sports scores has arisen again. Here's the
> log file entry:
> 
> [16-12-24 08:19:33.5012] Slim::Networking::IO::Select::__ANON__ (146)
> Error: Select task failed calling
> Slim::Networking::Async::HTTP::_http_read_body: malformed JSON string,
> neither array, object, number, string or atom, at character offset 0
> ["<html><head><script ..."] at
> C:\PROGRA~2\SQUEEZ~1\server\Plugins\SuperDateTime\lib/Plugins/SuperDateTime/Plugin.pm
> line 2979.
> 
> When I disable all the score updates I get weather just fine. Anyone
> else seeing trouble?
> 
> - Jeff

What version of SDT are you using?  There was an issue with College
Basketball on the 24th since there were no games. However the "HTTP 404
error" was handled correctly on my system.  It tried the site 10 times,
placed a "?" on the display and then moved on.  See my log entry below. 



Code:
--------------------
    [16-12-24 05:21:02.5314] Plugins::SuperDateTime::Plugin::getCBB (4872) 
async request: 
http://data.ncaa.com/jsonp/scoreboard/basketball-men/d1/2016/12/24/scoreboard.html?callback=ncaaScoreboardWidget.dispScoreboard
  [16-12-24 05:21:02.6211] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP 
(6268) error getting 
http://data.ncaa.com/jsonp/scoreboard/basketball-men/d1/2016/12/24/scoreboard.html?callback=ncaaScoreboardWidget.dispScoreboard
  [16-12-24 05:21:02.6217] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP 
(6269) 404 Not Found
  [16-12-24 05:21:02.6222] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP 
(6283) Trying getCBB again.
  [16-12-24 05:21:05.6231] Plugins::SuperDateTime::Plugin::getCBB (4872) async 
request: 
http://data.ncaa.com/jsonp/scoreboard/basketball-men/d1/2016/12/24/scoreboard.html?callback=ncaaScoreboardWidget.dispScoreboard
  [16-12-24 05:21:05.8055] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP 
(6268) error getting 
http://data.ncaa.com/jsonp/scoreboard/basketball-men/d1/2016/12/24/scoreboard.html?callback=ncaaScoreboardWidget.dispScoreboard
  [16-12-24 05:21:05.8060] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP 
(6269) 404 Not Found
  [16-12-24 05:21:05.8065] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP 
(6273) Network error count reached during getCBB.
--------------------


------------------------------------------------------------------------
BoomX2's Profile: http://forums.slimdevices.com/member.php?userid=33529
View this thread: http://forums.slimdevices.com/showthread.php?t=14327

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to