Vighnesh123 / runextbus

Automatically exported from code.google.com/p/runextbus
0 stars 1 forks source link

Two back to back predictions with same "Route" return incorrect xml ( API issue) #9

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Perform a query for prediction of:
wknd1 at quads 
And immediately perform a prediction for
wknd1 at treetops

Both these shall return the prediction to be same ( wknd1 quads)
Although the url sent to API is correct , it returns cached copy for same route 
predictions 

05-16 01:40:15.798: INFO/System.out(14864): Server Interface received: 
https://www.cs.rutgers.edu/lcsr/research/nextbus/feed.php?command=predictions&a=
rutgers&s=buells&r=a
05-16 01:40:15.803: INFO/KeyInputQueue(2249): Input event: dev=0x0 type=0x1 
scancode=28 keycode=4 value=0
05-16 01:40:15.808: VERBOSE/WindowManager(2249): Delivering key 4 to 
Window{47b648d8 org.runextbus.com/org.runextbus.com.ShowTime paused=false}
05-16 01:40:17.468: INFO/System.out(14864): XML IN SERVER INTERFACE  :<?xml 
version="1.0" encoding="utf-8" ?> 
05-16 01:40:17.473: INFO/System.out(14864): <body copyright="All data copyright 
Rutgers University 2011.">
05-16 01:40:17.473: INFO/System.out(14864): <predictions agencyTitle="Rutgers 
University" routeTitle="A" routeTag="a" stopTitle="Buell Apartments" 
stopTag="buells" dirTitleBecauseNoPredictions="To Rutgers Student Center">
05-16 01:40:17.473: INFO/System.out(14864): </predictions>
05-16 01:40:17.478: INFO/System.out(14864): </body>
05-16 01:40:18.809: WARN/PowerManagerService(2249): Timer 0x7->0x3|0x0
05-16 01:40:18.809: INFO/PowerManagerService(2249): ULight 7->3 f0
05-16 01:40:20.484: INFO/System.out(14864): Server Interface received: 
https://www.cs.rutgers.edu/lcsr/research/nextbus/feed.php?command=predictions&a=
rutgers&s=henders&r=wknd1
05-16 01:40:22.418: INFO/System.out(14864): XML IN SERVER INTERFACE  :<?xml 
version="1.0" encoding="utf-8" ?> 
05-16 01:40:22.418: INFO/System.out(14864): <body copyright="All data copyright 
Rutgers University 2011.">
05-16 01:40:22.423: INFO/System.out(14864): <predictions agencyTitle="Rutgers 
University" routeTitle="Weekend 1" routeTag="wknd1" stopTitle="Henderson" 
stopTag="henders">
05-16 01:40:22.423: INFO/System.out(14864):   <direction title="To Rutgers 
Student Center">
05-16 01:40:22.428: INFO/System.out(14864):   <prediction 
epochTime="1305524610950" seconds="189" minutes="3" isDeparture="false" 
dirTag="wknd1_inbound" vehicle="2102" />
05-16 01:40:22.428: INFO/System.out(14864):   <prediction 
epochTime="1305527223665" seconds="2802" minutes="46" isDeparture="false" 
dirTag="wknd1_inbound" vehicle="2126" />
05-16 01:40:22.433: INFO/System.out(14864):   <prediction 
epochTime="1305529559763" seconds="5138" minutes="85" isDeparture="false" 
dirTag="wknd1_inbound" vehicle="2102" />
05-16 01:40:22.433: INFO/System.out(14864):   </direction>

Original issue reported on code.google.com by sangita...@gmail.com on 16 May 2011 at 5:05

Attachments: