Discussion:
[sumo-user] traci.vehicle.getIDList() giving error
Kara Micallef
2014-03-17 20:23:30 UTC
Permalink
Hi again,

I'm using TraCI (python) and have got a loop to loop through the simulation
steps (and move one simulation step using traci.simulationStep() per
iteration). Within this loop I'm using traci.vehicle.getIDList() to check
whether a particular car is within the simulation. All works well (even
this method call) till step 633. Once step 633 is reached, sumo will stop
and a window opens saying 'Simulation ended at time: 633.00 Reason: An
error occured (see log)'. I cannot figure out what could possibly be reason
as everything is the same as previous steps. Also, the log is remaining
empty. Does anyone have any idea how I can figure out what the problem is?

Thanks for all your help,
Kara
Jakob Erdmann
2014-03-19 07:30:56 UTC
Permalink
Hello,
can you run the simulation without TraCI and reproduce the error?
regards,
Jakob
Post by Kara Micallef
Hi again,
I'm using TraCI (python) and have got a loop to loop through the simulation
steps (and move one simulation step using traci.simulationStep() per
iteration). Within this loop I'm using traci.vehicle.getIDList() to check
whether a particular car is within the simulation. All works well (even
this method call) till step 633. Once step 633 is reached, sumo will stop
and a window opens saying 'Simulation ended at time: 633.00 Reason: An
error occured (see log)'. I cannot figure out what could possibly be reason
as everything is the same as previous steps. Also, the log is remaining
empty. Does anyone have any idea how I can figure out what the problem is?
Thanks for all your help,
Kara
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
sumo-user mailing list
https://lists.sourceforge.net/lists/listinfo/sumo-user
Kara Micallef
2014-03-19 08:45:27 UTC
Permalink
Hi all, so it seems I've 'solved' the issue. What seems to have worked is
running the simulation using 'sumo' rather than 'sumo-gui'. Have no idea
how that worked.

What do you mean running it without traci? Just opening the config file
using sumo? I can try that no prob.

Thanks
Post by Jakob Erdmann
Hello,
can you run the simulation without TraCI and reproduce the error?
regards,
Jakob
Post by Kara Micallef
Hi again,
I'm using TraCI (python) and have got a loop to loop through the simulation
steps (and move one simulation step using traci.simulationStep() per
iteration). Within this loop I'm using traci.vehicle.getIDList() to check
whether a particular car is within the simulation. All works well (even
this method call) till step 633. Once step 633 is reached, sumo will stop
and a window opens saying 'Simulation ended at time: 633.00 Reason: An
error occured (see log)'. I cannot figure out what could possibly be reason
as everything is the same as previous steps. Also, the log is remaining
empty. Does anyone have any idea how I can figure out what the problem is?
Thanks for all your help,
Kara
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
sumo-user mailing list
https://lists.sourceforge.net/lists/listinfo/sumo-user
Loading...