Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Fwd: Fwd: Traci Server Connection Issue

fyi.

Sent from myPhone

Begin forwarded message:

From: hemang kothari <hemangkothari000@xxxxxxxxx>
Date: 15. November 2017 at 07:32:51 CET
To: <gregor.laemmel@xxxxxx>
Subject: Re: [sumo-user] Fwd: Traci Server Connection Issue

Thanks 

It works.

Appreciate your help


On Tue, Nov 14, 2017 at 5:38 PM, <Gregor.Laemmel@xxxxxx> wrote:


Deutsches Zentrum für Luft- und Raumfahrt e.V. (DLR)
Institut für Verkehrssystemtechnik | Rutherfordstraße 2 | 12489 Berlin
 
Dr.-Ing. Gregor Lämmel | Simulation und Modellierung
Telefon 030 67055-9141 | Telefax 030 67055-291 | gregor.laemmel@xxxxxx
www.DLR.de | Institut für Verkehrssystemtechnik

Hello Hemang,

It seems that python isn't able to resolve the IP address for localhost by name (which would be 127.0.0.1).
Can you verify whether it is defined in /etc/hosts
Please see also:
https://stackoverflow.com/questions/39970606/gaierror-errno-8-nodename-nor-servname-provided-or-not-known-with-macos-sie

Best wishes

Gregor



---------- Forwarded message ----------
From: hemang kothari <hemangkothari000@xxxxxxxxx>
Date: 2017-11-14 9:31 GMT+01:00
Subject: [sumo-user] Traci Server Connection Issue
To: Sumo project User discussions <sumo-user@xxxxxxxxxxx>


Hello,

I have been trying to learn traci.

When i try to run traci_tls tutorial , i got following error

If you have some solution then kindly provide me

Thanks

------------------------------------------------------------------------------------------
MacBook-Air:traci_tls hemangkothari$ python runner.py

Could not connect to TraCI server at localhost:56096 [Errno 8] nodename nor servname provided, or not known

Retrying in 1 seconds

Fontconfig warning: ignoring UTF-8: not a valid region tag

Loading configuration... done.

Could not connect to TraCI server at localhost:56096 [Errno 8] nodename nor servname provided, or not known

Retrying in 2 seconds

Could not connect to TraCI server at localhost:56096 [Errno 8] nodename nor servname provided, or not known

Retrying in 3 seconds

Could not connect to TraCI server at localhost:56096 [Errno 8] nodename nor servname provided, or not known

Retrying in 4 seconds

Could not connect to TraCI server at localhost:56096 [Errno 8] nodename nor servname provided, or not known

Retrying in 5 seconds

Could not connect to TraCI server at localhost:56096 [Errno 8] nodename nor servname provided, or not known

Retrying in 6 seconds

Could not connect to TraCI server at localhost:56096 [Errno 8] nodename nor servname provided, or not known

Retrying in 7 seconds

Could not connect to TraCI server at localhost:56096 [Errno 8] nodename nor servname provided, or not known

Retrying in 8 seconds

Could not connect to TraCI server at localhost:56096 [Errno 8] nodename nor servname provided, or not known

Retrying in 9 seconds

Could not connect to TraCI server at localhost:56096 [Errno 8] nodename nor servname provided, or not known

Retrying in 10 seconds

Could not connect to TraCI server at localhost:56096 [Errno 8] nodename nor servname provided, or not known

Traceback (most recent call last):

 File "runner.py", line 135, in <module>

   "--tripinfo-output", "tripinfo.xml"])

 File "/Users/hemangkothari/Documents/sumo-0.31.0/tools/traci/__init__.py", line 86, in start

   _connections[label] = connect(port, numRetries, "localhost", sumoProcess)

 File "/Users/hemangkothari/Documents/sumo-0.31.0/tools/traci/__init__.py", line 64, in connect

   raise FatalTraCIError(str(e))


traci.exceptions.FatalTraCIError: [Errno 8] nodename nor servname provided, or not known

--
Work brings profit, but mere talk leads to poverty!

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user





_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user




--
Work brings profit, but mere talk leads to poverty! 

Back to the top