I resend my mail unformatted this time:The Tutorial code is as
follows:sumoBinary =
r'C:\User\Desktop\MyGitRepo\swp-autonome-fahrzeuge-sose-2018\res\scenarios\duesseldorf'sumoCmd
= [sumoBinary, "-c", "duesseldorf.sumocfg"]import
tracitraci.start(sumoCmd)step = 0while step < 1000:   traci.simulationStep()  
if traci.inductionloop.getLastStepVehicleNumber("0") > 0:      
traci.trafficlight.setRedYellowGreenState("0", "GrGr")   step +=
1traci.close()When I execute traci.start(sumoCmd) with Python 3.7.3 I
receive the following error:Traceback (most recent call last):  File
"C:\User\Desktop\MyGitRepo\swp-autonome-fahrzeuge-sose-2018\test.py", line
14, in     traci.start(sumoCmd)  File
"C:\User\Desktop\MyGitRepo\Sumo\tools\traci\main.py", line 125, in start   
sumoProcess = subprocess.Popen(cmd2)  File
"C:\User\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line
775, in __init__    restore_signals, start_new_session)  File
"C:\User\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line
1178, in _execute_child    startupinfo)PermissionError: [WinError 5] Zugriff
verweigertWith Python 3.8.0 I get:Traceback (most recent call last):  File
"C:\User\Desktop\MyGitRepo\swp-autonome-fahrzeuge-sose-2018\test.py", line
14, in     traci.start(sumoCmd)  File
"C:\User\Desktop\MyGitRepo\Sumo\tools\traci\main.py", line 125, in start   
sumoProcess = subprocess.Popen(cmd2)  File
"C:\User\AppData\Local\Programs\Python\Python38\lib\subprocess.py", line
854, in __init__    self._execute_child(args, executable, preexec_fn,
close_fds,  File
"C:\User\AppData\Local\Programs\Python\Python38\lib\subprocess.py", line
1307, in _execute_child    hp, ht, pid, tid =
_winapi.CreateProcess(executable, args,PermissionError: [WinError 5] Zugriff
verweigertI also tried Python 2.7.14:Traceback (most recent call last): 
File "C:\User\Desktop\MyGitRepo\swp-autonome-fahrzeuge-sose-2018\test.py",
line 14, in     traci.start(sumoCmd)  File
"C:\User\Desktop\MyGitRepo\Sumo\tools\traci\main.py", line 125, in start   
sumoProcess = subprocess.Popen(cmd2)  File
"C:\Python27amd64\lib\subprocess.py", line 390, in __init__    errread,
errwrite)  File "C:\Python27amd64\lib\subprocess.py", line 640, in
_execute_child    startupinfo)WindowsError: [Error 5] Zugriff verweigertI
tried to execute everything as admin already, I have permissions set in all
the subfolders, nothing works.I know that its not a problem with sumo, but
did anyone else had this problem before and solved it?This message was sent
from [email protected] to the [email protected] mailing
list.This message will not appear in this archive until it has been accepted
by the mailing list. You may want to save a copy of this message in case it
is not accepted. 



--
Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
_______________________________________________
sumo-user mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to