bot icon indicating copy to clipboard operation
bot copied to clipboard

Bot is not working anymore

Open vignesh-arunachalam opened this issue 4 years ago • 0 comments

Hi,

I have been using your bot for a while now. I started getting this error recently. I am not a python expert, so couldnt figure out the problem. Any help will be useful. Thank you.

raceback (most recent call last): File "/home/varunachalam/bot/PieBot.py", line 209, in schedule.run_pending() File "/home/varunachalam/.local/lib/python3.7/site-packages/schedule/init.py", line 780, in run_pending default_scheduler.run_pending() File "/home/varunachalam/.local/lib/python3.7/site-packages/schedule/init.py", line 100, in run_pending self._run_job(job) File "/home/varunachalam/.local/lib/python3.7/site-packages/schedule/init.py", line 172, in _run_job ret = job.run() File "/home/varunachalam/.local/lib/python3.7/site-packages/schedule/init.py", line 661, in run ret = self.job_func() File "/home/varunachalam/bot/PieBot.py", line 88, in rebalance coin_price = get_coin_price(pair[1]) File "/home/varunachalam/bot/functions.py", line 73, in get_coin_price ticker = json.loads(get_price_response.content) File "/usr/lib/python3.7/json/init.py", line 348, in loads return _default_decoder.decode(s) File "/usr/lib/python3.7/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python3.7/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 24 (char 23)

vignesh-arunachalam avatar Oct 19 '21 08:10 vignesh-arunachalam