Hello,
The python script is supposed to generated a route file for use with the
simulation. In your case this does not work because you are running the
script in a folder where you do not have write-permissions.
regards,
Jakob

2017-07-10 4:03 GMT+02:00 Selva Ganesha via sumo-user <
[email protected]>:

> Good day,
>
> Previously I had an issue running the traci_test2.m file via matlab. I was
> told to load the runner.py file beforehand in order to run traci_test2.m.
>
> As seen in the attached photo, I am using Python 2.7.13 and have used both
> the terminal and IDLE(edit) function to launch the runner.py file. For the
> terminal I did use "python runner.py" and the same problem occurred
> (previously this was solved on the sourceforge forum but the solution does
> not seem to work).
>
> The error:
>
> Traceback (most recent call last):
>   File "C:\Program Files (x86)\DLR\Sumo\doc\tutorial\traci_tls\runner.py",
> line 130, in <module>
>     generate_routefile()
>   File "C:\Program Files (x86)\DLR\Sumo\doc\tutorial\traci_tls\runner.py",
> line 52, in generate_routefile
>     with open("data/cross.rou.xml", "w") as routes:
> IOError: [Errno 13] Permission denied: 'data/cross.rou.xml'
> ------------------------------------------------------------
> ------------------
> 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