Hello,
you code tries to use TraCI with the od2trips program. This cannot work.
Either disable traci or save the od2trips executable to a different
variable.
regards,
Jakob

2017-04-25 15:58 GMT+02:00 abderrahmen haroun <[email protected]>
:

> Hello everyone ,
>
> I wanted to run the command od2trips in my python program but it doesn't
> work
>
> That's my code :
>
>  sumoBinary = checkBinary('od2trips')
>  traci.start([sumoBinary, "-n", "districts.taz.xml" ,"-d", "matrix.o"
> ,"-o", "quickstart.rou.xml", "-X","never"])
>
> i have this error message :
>
>  File "prog.py", line 104, in
> <module>
>
>     traci.start([sumoBinary, "-n", "districts.taz.xml" ,"-d", "matrix.o"
> ,"-o", "quickstart.rou.xml"
> ,"-X","never"])
>
>   File "../tools/traci/__init__.py", line 83, in
> start
>
>     _connections[label] = connect(port, numRetries, "localhost",
> sumoProcess)
>
>   File "../tools/traci/__init__.py", line 61, in
> connect
>
>     raise
> FatalTraCIError(str(e))
>
> traci.exceptions.FatalTraCIError: [Errno 111] Connection refused
>
> have anyone an idea about haw to resolve the problem ?
> Thanks !
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> sumo-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to