Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] How do I check there is already whether is already an existing traci connection?

Is there a Boolean function in traci that can check for connections?

 

Because I keep getting traci exception:

 

raise TraCIException("Connection '%s' is already active." % label)

traci.exceptions.TraCIException: Connection 'default' is already active.

 

And if so could I terminate such connection.

 

Sent from Mail for Windows

 


Virus-free. www.avast.com

Back to the top