Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Can't Access the Configuration file for Runner.py

Hi All,

I get this error when I run the runner.py file available form the SUMO website and the SUMO-GUI shows 
Error: Could not access configuration 'cross.sumocfg'.
Quitting (on error).

The SUMO-GUI however opens but can’t access the configuration file.

File "C:\Users\NAVEEN\Downloads\sumo-0.29.0\docs\tutorial\traci_tls\runner1.py", line 179, in <module>
    run()
  File "C:\Users\NAVEEN\Downloads\sumo-0.29.0\docs\tutorial\traci_tls\runner1.py", line 137, in run
    traci.trafficlights.setPhase("0", 2)
  File "C:\Users\NAVEEN\Downloads\sumo-0.29.0\tools\traci\_trafficlights.py", line 193, in setPhase
    self._connection._sendIntCmd(
AttributeError: 'NoneType' object has no attribute '_sendIntCmd'

I have attached the runner1.py file and I have created a different python script to generate the route file and included that in the cross.sumocfg. It is similar to the generate_function().

All I want to do is to load my first TRACI file, which happens to be runner.py.


Regards,
Naveen Rai


Sent from Mail for Windows 10

------------------------------------------------------------------------------
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
sumo-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/sumo-user

Back to the top