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

Recurring stacktrace in the statistics service #425

Open
robvanmieghem opened this issue Feb 25, 2022 · 0 comments
Open

Recurring stacktrace in the statistics service #425

robvanmieghem opened this issue Feb 25, 2022 · 0 comments
Assignees
Labels
type_bug Something isn't working

Comments

@robvanmieghem
Copy link
Contributor

Traceback (most recent call last):
  File "/root/.cache/pypoetry/virtualenvs/js-sdk-N5daMEp6-py3.8/lib/python3.8/site-packages/bottle.py", line 868, in _handle
    return route.call(**args)
  File "/root/.cache/pypoetry/virtualenvs/js-sdk-N5daMEp6-py3.8/lib/python3.8/site-packages/bottle.py", line 1748, in wrapper
    rv = callback(*a, **ka)
  File "/root/sandbox/var/downloaded_packages/threefoldfoundation_tft-stellar_tft_statistics_master/tft-stellar/ThreeBotPackages/tft_statistics/bottle/tft_statistics.py", line 76, in total_unlocked_tft
    cached_data = j.data.serializers.json.loads(redis.get(tokencode))
  File "/root/.cache/pypoetry/virtualenvs/js-sdk-N5daMEp6-py3.8/lib/python3.8/site-packages/jumpscale/data/serializers/json.py", line 38, in loads
    return json.loads(s)
  File "/usr/lib/python3.8/json/__init__.py", line 341, in loads
    raise TypeError(f'the JSON object must be str, bytes or bytearray, '
TypeError: the JSON object must be str, bytes or bytearray, not NoneType
127.0.0.1 - - [2022-02-25 10:21:05] "GET /tft_statistics/api/total_unlocked_tft HTTP/1.0" 500 948 0.012002

but when checking this endpoint with a browser, I do get a response

@robvanmieghem robvanmieghem added the type_bug Something isn't working label Feb 25, 2022
@robvanmieghem robvanmieghem self-assigned this Feb 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type_bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant