insidesherpa / JPMC-tech-task-2-PY3

29 stars 348 forks source link

Error on running python3 datafeed/server3.py #191

Open Kam149 opened 4 years ago

Kam149 commented 4 years ago

When I run this the server.py on IDLE I get the following: - Traceback (most recent call last): File "C:\Users\Kamakshi\JPMC-tech-task-2-PY3\datafeed\server3.py", line 320, in run(App()) File "C:\Users\Kamakshi\JPMC-tech-task-2-PY3\datafeed\server3.py", line 244, in init self._simstart, , _ = next(self._data_1) StopIteration I use python 3.7.2 . Can anyone please tell me what does this mean?

Rupesh-rkgit commented 4 years ago

can you attach the screenshot??

Raj2367 commented 4 years ago

@Kam149 Use the command "python datafeed/server3.py" and if you are getting the same error again then change the port number 8080 to 8085 in server3.py using any text editor. otherwise, turn off your firewall for some time.

SiddhlodaAyyar commented 4 years ago

Watch this video and if you still get the error comment down in the youtube section and we'll try to solve it. https://youtu.be/wRAG9i8O_44

navreet1999 commented 4 years ago

@Kam149 Use the command "python datafeed/server3.py" and if you are getting the same error again then change the port number 8080 to 8085 in server3.py using any text editor. otherwise, turn off your firewall for some time.

this is not working

Aman22sharma commented 4 years ago

@Kam149 I am also facing this same error. Have you resolved this error. Can you please share with me how can I resolve this, please?

Kam149 commented 4 years ago

When I ran this on cmd, I didn't get any error. I got this error, when I directly ran server3 on IDLE. So, where are you running server3.

Aman22sharma commented 4 years ago

the same thing is was also doing that's why it shows error. I got the mistake and resolved it thank you

Kam149 commented 4 years ago

@Aman22sharma so what was your mistake?

Aman22sharma commented 4 years ago

When I ran this on cmd, I didn't get any error. I got this error, when I directly ran server3 on IDLE. So, where are you running server3.

@Kam149 The same issue

Kam149 commented 4 years ago

Ok. Happy to help you.

Aman22sharma commented 4 years ago

@Kam149 can I have your social media profile or Whatsapp number so that I can reach out to you?

Darknight471 commented 4 years ago

When I run this the server.py on IDLE I get the following: - Traceback (most recent call last): File "C:\Users\Kamakshi\JPMC-tech-task-2-PY3\datafeed\server3.py", line 320, in run(App()) File "C:\Users\Kamakshi\JPMC-tech-task-2-PY3\datafeed\server3.py", line 244, in init self._simstart, , _ = next(self._data_1) StopIteration I use python 3.7.2 . Can anyone please tell me what does this mean?

try running the server by using 'python3 datafeed/server3.py from JPMC-tech-task-2- folder. Don't directly go to the directory of datafeed and run!

Aman22sharma commented 4 years ago

@Darknight471 You have to run python datafeed/server3.py inside the JPMC-tech-task2-folder then it will work properly