I've never heard about this. You could try to use the suproces.Popen
command to start various executables (e.g. mspaint.exe, sumo-gui.exe) and
see whether it's related to python or sumo.

Am Do., 14. Nov. 2019 um 21:58 Uhr schrieb WTler <
[email protected]>:

> I resend my mail unformatted this time:
>
> would have worked this time, lol
>
> 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 traci
> traci.start(sumoCmd) step = 0 while step < 1000: traci.simulationStep() if
> traci.inductionloop.getLastStepVehicleNumber("0") > 0:
> traci.trafficlight.setRedYellowGreenState("0", "GrGr") step += 1
> traci.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
> verweigert With 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 verweigert I 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 verweigert I
> 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 the Sumo User Mailing List mailing list archive
> <http://sumo-user-mailing-list.90755.n8.nabble.com/> at 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
>
_______________________________________________
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