Skip to content
This repository was archived by the owner on Sep 14, 2022. It is now read-only.
This repository was archived by the owner on Sep 14, 2022. It is now read-only.

Bot is not working anymore #44

@vignesh-arunachalam

Description

@vignesh-arunachalam

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions