[sumo-user] TraCI findRoute errors

2018-05-28 Thread Lara CODECA
Dear All, I'm trying to use "findRoute" from a python script using TraCI. I need to see if there is a route between two edges for a specific vType. I'm loading a simulation using traci.start(['sumo', '-c', 'sim.sumocfg']) and then, I call traci.simulation.findRoute(from_edge, to_edge, vtype=vTy

Re: [sumo-user] TraCI findRoute errors

2018-05-28 Thread Jakob Erdmann
Hello, neither of the errors you mentioned should stop sumo from working when triggered via TraCI. They are expected to raise a TraCIException which you can catch in your script. Only a FatalTraCIError signals an unrecoverable error. It could help if you provide a stack trace of the error from your

Re: [sumo-user] TraCI findRoute errors

2018-05-29 Thread Lara CODECA
Good morning Jakob, this is the stack trace: Warning: No connection between edge '-207' and edge '-208' found. Error: Vehicle '' is not allowed to depart on any lane of its first edge. Quitting (on error). Traceback (most recent call last): File "mobilitygen.trips.py", line 431, in _main()

Re: [sumo-user] TraCI findRoute errors

2018-05-29 Thread Jakob Erdmann
Thank you for reporting. It is fixed now ( https://github.com/eclipse/sumo/issues/4121). 2018-05-29 9:09 GMT+02:00 Lara CODECA : > Good morning Jakob, > > this is the stack trace: > > Warning: No connection between edge '-207' and edge '-208' found. > Error: Vehicle '' is not allowed to depart on

Re: [sumo-user] TraCI findRoute errors

2018-05-30 Thread Lara CODECA
Hello Jakob, It's happening the same thing with the intermodal counterpart: findIntermodalRoute() Error: Answered with error to command 0xab: Invalid vehicle type 'bicycle', it is not allowed on the start edge. Traceback (most recent call last): File "person.mobilitygen.trips.py", line 590, i

Re: [sumo-user] TraCI findRoute errors

2018-05-30 Thread Jakob Erdmann
- The error is now fixed. - you are correct about the modes - vType also applies if mode is 'bicycle' - pType is the type of the person (id of a element) - walking is always possible regards, Jaob 2018-05-30 11:13 GMT+02:00 Lara CODECA : > Hello Jakob, > > It's happening the same thing with th