New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot connect to traci server #4686
Comments
When starting sumo-gui there should be message output in the lower part of the window stating |
starting server on port X* is not appearing in the lower part of the window. the sumo-gui window just starts and nothing else appears. |
should I start the sumo-gui from command line separately on a port and then run ,py file?? |
If your python script uses traci start (e.g. |
Yes I am doing this only . BT window just starts but it don't starts the
configuration file . Also it keeps trying to connect to traci served
…On Wed, Oct 10, 2018, 15:49 Jakob Erdmann ***@***.***> wrote:
If your python script uses traci start (e.g. traci.start(['sumo-gui',
'-c', 'example.sumocfg'])) then sumo is started automatically with the
correct port setting.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#4686 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/Ap9vzqiODG4T-hPODmOSp9NCP2-c2ygXks5ujcmhgaJpZM4XUkeh>
.
|
import os , sys import environment tools = os.path.join(os.environ['SUMO_HOME'], 'tools') sumoBinary = "/home/priya/sumo/bin/sumo-gui" this is what I am doing |
what are the contents of my_config_file.sumocfg ? |
I don't think there are errors in this file as I am able to run separately from sumo-gui |
|
Nevermind, I was thinking there might be a superfluous port option. |
@behrisch Do you have any Idea what could prevent the message output |
Is there any very restrictive firewall running? Did you try it with the command line sumo ("sumo" instead of "sumo_gui")? |
no there is no restrictive firewall running. ya I tried this also . did not work. |
for debugging, run |
I am having the same error. Everything was working fine before restarting my PC. But after the restart, I am getting the following error. |
Did you try to specify a port manually just as mentioned above? |
Hello Do you have solve this problem |
I'm still working on this problem how to solve. |
There may be a local firewall blocking socket access |
But please rather open a new ticket and attach your scenario if possible |
@michael Behrisch and i have another question. when i connect to sumo, could you please explain for me how can i use the .xml file data in python? |
Hello
…On Sat, Dec 4, 2021 at 8:20 AM mona ***@***.***> wrote:
hello, i have a same problem. when i write this code, i get the error that
i attach bellow.
because i think i didn't write in a good way that connect traci to osm.cfg
i just write traci.init(9999)
how do you think i can solve the problem
[image: Capture]
<https://user-images.githubusercontent.com/43193011/144716671-819a4513-1701-4c8a-a522-582ab4dfcdac.PNG>
m
and i have another question. when i connect to sumo, could you please
explain for me how can i use the .xml file data in python?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#4686 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOADZGKGMJMJ3LEXTF25B7DUPI5U7ANCNFSM4F2SI6QQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
@muhammadsohaib60 do you have any idea for this problem? |
Yes.I will send you my code tomorrow.I solved that problem.
Please send me your whatsapp number for further discussion.
My Fyp is based on Sumo simulation.it will be good to discuss problems to
each other
…On Sat, Dec 4, 2021 at 8:50 AM mona ***@***.***> wrote:
@muhammadsohaib60 <https://github.com/muhammadsohaib60> do you have any
idea for this problem?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4686 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOADZGIZD6LSB5RGSZLLDLDUPJBDXANCNFSM4F2SI6QQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
@monasabeti The best way to start up traci is to call traci.start not init. Please try to follow the traci tutorials at https://sumo.dlr.de/docs/Tutorials/index.html#traci_tutorials |
thanks alot for your respond |
I was facing same problem i pressed go live option in right bottom corner and after that i used pip install traci in powershell. now i am able to simulate. |
Hi, I'm maya that also working with sumo simulation. Can I discuss this with you? because I'm facing a similar problem. |
yes please |
may I ask your email? or you can send me email to mayaprezi3@gmail.com. |
hello,I have been facing the same problem after I tried all of your advice. How can I solve it? |
I will solve this problem
…On Mon, 24 Jul 2023, 13:36 George Sun, ***@***.***> wrote:
hello,I have been facing the same problem after I tried all of your
advice. How can I solve it?
—
Reply to this email directly, view it on GitHub
<#4686 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOADZGLNINJWKPMBWU62AU3XRYXXXANCNFSM4F2SI6QQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
how can i do it |
Arrange the zoom meeting
…On Mon, 24 Jul 2023, 15:00 George Sun, ***@***.***> wrote:
how can i do it
—
Reply to this email directly, view it on GitHub
<#4686 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOADZGNM2GZ3K25E3L2CLTLXRZBVVANCNFSM4F2SI6QQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I should add to this, though possibly this should be added to a FAQ, that this error will also be caused by an incorrect file name. for example I had a myconfig.sumocfg.xml file and traci was specifying a myconfig.sumocfg. The result was the error in this very report. |
yes
…On Mon, Dec 4, 2023 at 9:16 PM Tiago Furtado ***@***.***> wrote:
I should add to this, though possibly this should be added to a FAQ, that
this error will also be caused by an incorrect file name.
for example I had a myconfig.sumocfg.xml file and traci was specifying a
myconfig.sumocfg. The result was the error in this very report.
—
Reply to this email directly, view it on GitHub
<#4686 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOADZGNZQRG4CB4KQK2VYZLYHXZOPAVCNFSM4F2SI6Q2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBTHA4TQMRVGEZQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
please upload the screenshot |
me? renaming myconfig resolved the problem. |
?
…On Mon, Dec 4, 2023 at 9:20 PM Tiago Furtado ***@***.***> wrote:
please upload the screenshot
me?
renaming myconfig resolved the problem.
—
Reply to this email directly, view it on GitHub
<#4686 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOADZGIGKQGOSPKIDGRXUZDYHXZ5RAVCNFSM4F2SI6Q2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBTHA4TSMBQGAZA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
i started my .py file from terminal using python command
then this error is coming . the sumo-gui opens but after that nothing happens . i put the limit for 60 seconds.
The text was updated successfully, but these errors were encountered: