Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] cross.sumocfg's error

It seems that you have no write permissions to the directory data.

Please change it with the Windows Explorer or copy this scenario to place, where you have write permissions

Am 12.03.21 um 17:11 schrieb ali mirzaei:
Hi Harald,
Thank you very. I think the result is the same as before. So, attached the
picture of the result in the following to get your point.
yours sincerely.
Ali


On Fri, Mar 12, 2021 at 7:18 PM Harald Schaefer <fechsaer@xxxxxxxxx> wrote:

Hi Ali,

have you tried it the old-fashioned way via the command line?

1) start a cmd windows

2) goto the base directory of the traci_tls example (cd C:\Program Files
(x86)\Eclipse\Sumo\doc\tutorial\traci_tls")

3) Start the runner.py script by typing

        python runner.py

4) do a

    dir data

  it should show a file cross.rou.xml

Have you installed sumo via the msi file?

Greetings, Harald
Am 12.03.21 um 15:49 schrieb ali mirzaei:

Hello,
Python 3.9.0 is installed on my system. By double-clicking on runner.py in
"C:\Program Files (x86)\Eclipse\Sumo\doc\tutorial\traci_tls", nothing is
changed. On the other hand, I tried to run it by the editor which the
result is :

  File "C:\Program Files
(x86)\Eclipse\Sumo\doc\tutorial\traci_tls\runner.py", line 47, in
generate_routefile
    with open("data/cross.rou.xml", "w") as routes:

PermissionError: [Errno 13] Permission denied: 'data/cross.rou.xml'. So it
is clear that the matter is cross.rou.xml as you mentioned.
I don't know where the problem is.

Yours faithfully,
Ali




On Fri, Mar 12, 2021 at 5:06 PM Jakob Erdmann <namdre.sumo@xxxxxxxxx> <namdre.sumo@xxxxxxxxx> wrote:


The sumocfg tries to load traffic demand (cross.rou.xml).
However, this file is not included in the tutorial. Instead, it is
generated when calling runner.py.
If python is installed on your machine, then double-clicking the runner.py
should be enough.


Am Fr., 12. März 2021 um 12:41 Uhr schrieb ali mirzaei <alimrz222@xxxxxxxxx>:


Hello,
As far as I understand, there are two conditions. The first condition is
a common junction(cross. sumocfg) that I am not able to run from the SUMO
package and encountered that error mentioned earlier. The second one is the
same junction with a detector activated by runner.py to make the lights
green through passing emergency vehicles, etc, which unfortunately didn't
run too.
1- Did I get the conditions correctly?
2- To run the files, another SUMO package must be downloaded and inserted
in another path?
3- Why am I not able to run the first condition? Should it be started by
the other tool instead of GUI? Does it have to do with the path of the SUMO
package?
4- To run the second condition, should I start with cmd? If so, how?

Best regards,
Ali


On Fri, Mar 12, 2021 at 1:30 PM Jakob Erdmann <namdre.sumo@xxxxxxxxx> <namdre.sumo@xxxxxxxxx>
wrote:


This is a traci tutorial so you need to execute runner.py instead of
opening the sumocfg (requires python to be installed).

Am Do., 11. März 2021 um 23:24 Uhr schrieb ali mirzaei <alimrz222@xxxxxxxxx>:


Hello,
According to https://sumo.dlr.de/docs/Tutorials/index.html, I
downloaded the complete sumo package for using examples from the test suit.
When I open GUI and call the cross.sumocfg file from the downloaded and
unzipped sumo, the error below makes the running stopped.
Error: The route file 'D:\ali mirzaei\app\sumo zip
files\sumo-1.8.0\docs\tutorial\traci_tls\data\cross.rou.xml' is not
accessible.
Quitting (on error).
What's wrong with it?

Regards,
Ali
_______________________________________________
sumo-user mailing listsumo-user@xxxxxxxxxxx
To unsubscribe from this list, visithttps://www.eclipse.org/mailman/listinfo/sumo-user

_______________________________________________
sumo-user mailing listsumo-user@xxxxxxxxxxx
To unsubscribe from this list, visithttps://www.eclipse.org/mailman/listinfo/sumo-user

_______________________________________________
sumo-user mailing listsumo-user@xxxxxxxxxxx
To unsubscribe from this list, visithttps://www.eclipse.org/mailman/listinfo/sumo-user

_______________________________________________
sumo-user mailing listsumo-user@xxxxxxxxxxx
To unsubscribe from this list, visithttps://www.eclipse.org/mailman/listinfo/sumo-user


_______________________________________________
sumo-user mailing listsumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user


      
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top