rodlogic;213213 Wrote: > Hi, > I have run the debug command and set LiveDepartures going for a simple > query - all departures from AFK (Ashford International - note not > Ashford Euorstar) > I see there is an error - temp Error expected 5 cells in a row but > found 6 > > Could this be the problem and why it is only happening to me :-) > > > string: Undefined string: > string: Requested language: EN - failsafe language: EN > LiveDepartures::Route 0 entering state UPDATE > using URL http://www.livedepartureboards.co.uk/ldb/sumdep.aspx?T=AFK > LiveDepartures: fromTo is *<div class="containertitlebig"><h2><span > class="red">LIVE</span> DEPARTURES:<span class="red"><br> > ASHFORD INTERNATIONAL (AFK)</span></h2></div>* > This transport section is TRAIN DEPARTURES > found DESTINATION as expected > temp error - expected 5 cells in a row, but found 6 > LiveDepartures::Route 0 entering state TEMP_ERROR
HMM, nasty - if you run the same query from the national rail site, you'll see that a query on AFK throws up 6 columns of data, whereas the norm is 5. The extra column is "platform". I trolled around a few other stations that might be expected to be big or complicated and only found one other that does the same - Birmingham New Street. I'm sure there are others - but the point is that this is unusual. So, yes, it is just you! (and the good people of Birmingham, but we don't care about them, do we?) The fix would be to amend the code to accept either 5 or 6 columns and, if there are 6, to discard the second one. I'll have a quick look to see if I can spot this one... Ceejay -- ceejay ------------------------------------------------------------------------ ceejay's Profile: http://forums.slimdevices.com/member.php?userid=148 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/plugins
