[iRail] bug in generated jsonp string for liveboards?

Bert Bruynooghe bert.bruynooghe at gmail.com
Tue Jan 10 15:08:11 UTC 2012


Hi Pieter,

I was able to reproduce it. I created ticket 22 for it...

-----Original Message-----
From: irail-bounces at list.irail.be [mailto:irail-bounces at list.irail.be] On
Behalf Of Pieter Colpaert
Sent: dinsdag 10 januari 2012 2:29
To: irail at list.irail.be
Subject: Re: [iRail] bug in generated jsonp string for liveboards?

Hi Bert,

I cannot reproduce this bug. Can you send me a specific URL for which it
happens?

Thanks,

Pieter

On 01/09/2012 10:29 AM, bert bruynooghe wrote:
> Received the followin; colon is missing before last entry 
> ("}"immediately followed by "{").
>
> define({"version":"1.1","timestamp":"1326100802","station":"Brussel
> Noord","stationinfo":{"id":"BE.NMBS.008812005","locationX":"4.360854",
> "locationY":"50.859658","name":"Brussel
> Noord","standardname":"Brussels
> North"},"arrivals":{"number":"20","arrival":[{"id":"0","delay":"0","st
> ation":"Quievrain","stationinfo":{"name":"Quievrain"},"time":"13261044
> 00","vehicle":"BE.NMBS.IC1732","platform":"","platforminfo":{"name":""
> ,"normal":"1"},"left":"0"},{"id":"1","delay":"0","station":"Gent-Sint-
> Pieters","stationinfo":{"name":"Gent-Sint-Pieters"},"time":"1326104460
> ","vehicle":"BE.NMBS.IR3532","platform":"","platforminfo":{"name":"","
> normal":"1"},"left":"0"},{"id":"2","delay":"0","station":"Charleroi-Zu
> id","stationinfo":{"name":"Charleroi-Zuid"},"time":"1326104580","vehic
> le":"BE.NMBS.IC4532","platform":"","platforminfo":{"name":"","normal":
> "1"},"left":"0"},{"id":"3","delay":"0","station":"Leuven","stationinfo
> ":{"name":"Leuven"},"time":"1326104700","vehicle":"BE.NMBS.CR3760","pl
> atform":"5","platforminfo":{"name":"5","normal":"1"},"left":"0"},{"id"
> :"4","delay":"0","station":"Dendermonde","stationinfo":{"name":"Dender
> monde"},"time":"1326104880","vehicle":"BE.NMBS.IC2309","platform":"","
> platform
 in
>
fo":{"name":"","normal":"1"},"left":"0"},{"id":"5","delay":"0","station":"Ni
jvel","stationinfo":{"name":"Nijvel"},"time":"1326104880","vehicle":"BE.NMBS
.IR2832","platform":"","platforminfo":{"name":"","normal":"1"},"left":"0"},{
"id":"6","delay":"0","station":"Louvain-La-Neuve-Univ.","stationinfo":{"name
":"Louvain-La-Neuve-Univ."},"time":"1326104880","vehicle":"BE.NMBS.IR3910","
platform":"","platforminfo":{"name":"","normal":"1"},"left":"0"},{"id":"7","
delay":"0","station":"Binche","stationinfo":{"name":"Binche"},"time":"132610
5000","vehicle":"BE.NMBS.IR3932","platform":"8","platforminfo":{"name":"8","
normal":"1"},"left":"0"},{"id":"8","delay":"0","station":"Antwerpen-Centraal
","stationinfo":{"name":"Antwerpen-Centraal"},"time":"1326105000","vehicle":
"BE.NMBS.IR2810","platform":"11","platforminfo":{"name":"11","normal":"1"},"
left":"0"},{"id":"9","delay":"0","station":"Poperinge","stationinfo":{"name"
:"Poperinge"},"time":"1326105000","vehicle":"BE.NMBS.IC2333","platform":""
 ,"p
>   
> latforminfo":{"name":"","normal":"1"},"left":"0"},{"id":"10","delay":"
> 0","station":"Wezet","stationinfo":{"name":"Wezet"},"time":"1326105060
> ","vehicle":"BE.NMBS.IC461","platform":"3","platforminfo":{"name":"3",
> "normal":"1"},"left":"0"},{"id":"11","delay":"0","station":"S
> Gravenbrakel","stationinfo":{"name":"S
> Gravenbrakel"},"time":"1326105180","vehicle":"BE.NMBS.CR3782","platfor
> m":"9","platforminfo":{"name":"9","normal":"1"},"left":"0"},{"id":"12"
> ,"delay":"0","station":"Essen","stationinfo":{"name":"Essen"},"time":"
> 1326105300","vehicle":"BE.NMBS.IC4510","platform":"11","platforminfo":
> {"name":"11","normal":"1"},"left":"0"},{"id":"13","delay":"0","station
> ":"Brussel-Zuid","stationinfo":{"name":"Brussel-Zuid"},"time":"1326105
> 360","vehicle":"BE.NMBS.IC4631","platform":"8","platforminfo":{"name":
> "8","normal":"1"},"left":"0"},{"id":"14","delay":"0","station":"Brusse
> l-Nat-Luchthaven","stationinfo":{"name":"Brussel-Nat-Luchthaven"},"tim
> e":"1326105420","vehicle":"BE.NMBS.IR3510","platform":"5","platforminf
> o":{"name":"5","normal":"1"},"left":"0"},{"id":"15","delay":"0","stati
> on":"Luik-Guillemins","stationinfo":{"name":"Luik-Guillemins"},"time":
> "1326105480","vehicle":"BE.NMBS.IC1710","platform":"3","platforminfo":
> {"name":"3","normal":"1"},"left":"0"},{"id":"16","delay":"0","station"
> :"Brusse
 l-
>   
> Zuid","stationinfo":{"name":"Brussel-Zuid"},"time":"1326105540","vehic
> le":"BE.NMBS.IR4231","platform":"9","platforminfo":{"name":"9","normal
> ":"1"},"left":"0"},{"id":"17","delay":"0","station":"Luxembourg
> (l)","stationinfo":{"name":"Luxembourg
> (l)"},"time":"1326105600","vehicle":"BE.NMBS.IC2111","platform":"","pl
> atforminfo":{"name":"","normal":"1"},"left":"0"},{"id":"18","delay":"0
> ","station":"Antwerpen-Centraal","stationinfo":{"name":"Antwerpen-Cent
> raal"},"time":"1326105600","vehicle":"BE.NMBS.IR3109","platform":"11",
> "platforminfo":{"name":"11","normal":"1"},"left":"0"}{"id":"18","delay
> ":"0","station":"Antwerpen-Centraal","stationinfo":{"name":"Antwerpen-
> Centraal"},"time":"1326105600","vehicle":"BE.NMBS.IR3109","platform":"
> 11","platforminfo":{"name":"11","normal":"1"},"left":"0"}]}})
> _______________________________________________
> iRail mailing list
> iRail at list.irail.be
> http://lists.rootspirit.com/mailman/listinfo/irail


--
iRail vzw/asbl
+32(0)486/747122


_______________________________________________
iRail mailing list
iRail at list.irail.be
http://lists.rootspirit.com/mailman/listinfo/irail




More information about the iRail mailing list