('09:02', 350042, 814172)
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\z8pc\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\models.py", line 910, in json
return complexjson.loads(self.text, **kwargs)
File "C:\Users\z8pc\AppData\Local\Programs\Python\Python310\lib\json_init_.py", line 346, in loads
return _default_decoder.decode(s)
File "C:\Users\z8pc\AppData\Local\Programs\Python\Python310\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Users\z8pc\AppData\Local\Programs\Python\Python310\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\z8pc\AppData\Local\Programs\Python\Python310\lib\tkinter_init_.py", line 1921, in call
return self.func(*args)
File "C:\Users\z8pc\AppData\Local\Programs\Python\Python310\lib\tkinter_init_.py", line 839, in callit
func(*args)
File "C:\Users\z8pc\AppData\Local\Programs\Python\Python310\lib\site-packages\matplotlib\backends_backend_tk.py", line 141, in _on_timer
super()._on_timer()
File "C:\Users\z8pc\AppData\Local\Programs\Python\Python310\lib\site-packages\matplotlib\backend_bases.py", line 1198, in _on_timer
ret = func(*args, **kwargs)
File "C:\Users\z8pc\AppData\Local\Programs\Python\Python310\lib\site-packages\matplotlib\animation.py", line 1408, in _step
still_going = super()._step(*args)
File "C:\Users\z8pc\AppData\Local\Programs\Python\Python310\lib\site-packages\matplotlib\animation.py", line 1107, in _step
self._draw_next_frame(framedata, self._blit)
File "C:\Users\z8pc\AppData\Local\Programs\Python\Python310\lib\site-packages\matplotlib\animation.py", line 1126, in _draw_next_frame
self._draw_frame(framedata)
File "C:\Users\z8pc\AppData\Local\Programs\Python\Python310\lib\site-packages\matplotlib\animation.py", line 1720, in _draw_frame
self._drawn_artists = self._func(framedata, *self._args)
File "C:\Users\z8pc\Downloads\multistrike-oi-main - Copy\multistrike-oi-main\tkplot.py", line 106, in
lambda _ : draw_plot(
File "C:\Users\z8pc\Downloads\multistrike-oi-main - Copy\multistrike-oi-main\tkplot.py", line 38, in draw_plot
db.populate_db(index, expiry_date, contract1, contract2)
File "C:\Users\z8pc\Downloads\multistrike-oi-main - Copy\multistrike-oi-main\db_actions.py", line 86, in populate_db
get_OC_json(index_name)
File "C:\Users\z8pc\Downloads\multistrike-oi-main - Copy\multistrike-oi-main\json_handler.py", line 19, in get_OC_json content = r.json()
File "C:\Users\z8pc\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\models.py", line 917, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: [Errno Expecting value]
<title>Resource not found</title>