json.decoder.JSONDecodeError
mushuthecat opened this issue · comments
mushuthecat commented
Hello,
im facing to a new issue since few days:
Traceback (most recent call last):
File "/usr/src/app/./speedtest.py", line 312, in <module>
run_speedtest()
File "/usr/src/app/./speedtest.py", line 84, in run_speedtest
st_results = json.loads(stderr)
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/json/decoder.py", line 353, in raw_decode
obj, end = self.scan_once(s, idx)
^^^^^^^^^^^^^^^^^^^^^^
json.decoder.JSONDecodeError: Expecting ',' delimiter: line 1 column 6 (char 5)
Traceback (most recent call last):
File "/usr/src/app/./speedtest.py", line 312, in <module>
run_speedtest()
File "/usr/src/app/./speedtest.py", line 84, in run_speedtest
st_results = json.loads(stderr)
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/json/decoder.py", line 353, in raw_decode
obj, end = self.scan_once(s, idx)
^^^^^^^^^^^^^^^^^^^^^^
json.decoder.JSONDecodeError: Expecting ',' delimiter: line 1 column 6 (char 5)
Traceback (most recent call last):
File "/usr/src/app/./speedtest.py", line 312, in <module>
run_speedtest()
File "/usr/src/app/./speedtest.py", line 84, in run_speedtest
st_results = json.loads(stderr)
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/json/decoder.py", line 353, in raw_decode
obj, end = self.scan_once(s, idx)
Regards
Adam commented
Do you still face it? I've just seen it in my logs as well logged yesterday but today it all works ok. I would assume the speedtest.net was not returning properly formatted data.
mushuthecat commented
Hi,
i solved my issue right by having a look to the speedtest.log
it seems that the server that i had setup in my config.ini failed is no more available after changing the value it seems to work thanks :D
Adam commented
OK, great! It is interesting that the container log is showing something different than the speedtest.log :) But indeed it is much more meaningful there.
mushuthecat commented
Hi,
Since i edited the config.ini with another server id it works thanks
Le mar. 11 juil. 2023 à 12:00, Adam ***@***.***> a écrit :
… Do you still face it? I've just seen it in my logs as well logged
yesterday but today it all works ok. I would assume the speedtest.net was
not returning properly formatted data.
—
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AUAKOT3X2IY5XHB7CT7XXFTXPUP5JANCNFSM6AAAAAA2FX4VZQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
Adam commented
mushuthecat commented