insidesherpa / JPMC-tech-task-2-PY3

29 stars 348 forks source link

Getting the below error- self._sim_start, _, _ = next(self._data_1) #418

Open heroicshark opened 4 years ago

heroicshark commented 4 years ago

C:\Users\shar\jpmc\JPMC-tech-task-2-PY3\datafeed>py server3.py Traceback (most recent call last): File "server3.py", line 320, in run(App()) File "server3.py", line 244, in init self._simstart, , _ = next(self._data_1) StopIteration

I get this above error and need when running server3.py and need help to fix the issue

P3NGUIN12 commented 4 years ago

are you trying to run this within the datafeed/ folder? i.e. is your command line's current working directory context inside JPMC-tech-task-2-PY3/datafeed/ and you're just executing the command, python server3.py ? if so, can you try going out of the datafeed folder via cd .., thus making your command line's current working directory context just JPMC-tech-task2-PY3 and then running python datafeed/server3.py

juw0n commented 4 years ago

Thank you for this. it solved my issue

srujana232 commented 4 years ago

1602840413873409625267963690416 I get dis error, help me and solve dis issue

destifo commented 2 years ago

Yeah, executing the file from outside the datafeed folder solved my problem. Thanks