Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is this still working? Receiving JSONDecodeErrors on any token #13

Open
ghost opened this issue Jan 16, 2022 · 1 comment
Open

Is this still working? Receiving JSONDecodeErrors on any token #13

ghost opened this issue Jan 16, 2022 · 1 comment

Comments

@ghost
Copy link

ghost commented Jan 16, 2022

Exception in thread Thread-59: Traceback (most recent call last): File "C:\Users\xxxx\AppData\Local\Programs\Python\Python37-32\Lib\threading.py", line 917, in _bootstrap_inner self.run() File "C:\Users\xxxx\AppData\Local\Programs\Python\Python37-32\Lib\threading.py", line 865, in run self._target(*self._args, **self._kwargs) File "I:\xxxxx\OpenCryptoBot-master\opencryptobot\plugins\chart.py", line 225, in _get_cmc_coin_id for listing in APICache.get_cmc_coin_list(): File "I:\xxxxx\OpenCryptoBot-master\opencryptobot\api\apicache.py", line 66, in get_cmc_coin_list return Market().listings()["data"] TypeError: 'JSONDecodeError' object is not subscriptable

The above error occurs with any coin check, even BTC.

@Endogen
Copy link
Owner

Endogen commented Jan 17, 2022

Hi. Not sure if it still works. I guess you get that error because CoinGecko changes some JSON structure in their API calls. If you fix that, it will work IMO.

But unfortunately i don't have the time to do that change. Because of time constraints i can't work on this anymore

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant