insidesherpa / JPMC-tech-task-1-PY3

50 stars 447 forks source link

Error in client3.py file #112

Closed pankaj-g closed 4 years ago

pankaj-g commented 4 years ago

C:\Users\Lenovo\JPMC-tech-task-1-py3>python client3.py Traceback (most recent call last): File "client3.py", line 52, in quotes = json.loads(urllib.request.urlopen(QUERY.format(random.random())).read()) File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python38\lib\urllib\request.py", line 222, in urlopen return opener.open(url, data, timeout) File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python38\lib\urllib\request.py", line 531, in open response = meth(req, response) File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python38\lib\urllib\request.py", line 640, in http_response response = self.parent.error( File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python38\lib\urllib\request.py", line 569, in error return self._call_chain(args) File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python38\lib\urllib\request.py", line 502, in _call_chain result = func(args) File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python38\lib\urllib\request.py", line 649, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 404: Not found

pankaj-g commented 4 years ago

Just change the port number and run again