python hello.py
http://www.foxbeaver.cn:80/lbc
<title>500: Internal Server Error</title>500: Internal Server Error
Traceback (most recent call last):
File "/data/local/tmp/coolbpf-1.0.1/coolbpf-1.0.1/lcc/pylcc/guide/hello.py", line 42, in
hello = Chello()
^^^^^^^^
File "/data/local/tmp/coolbpf-1.0.1/coolbpf-1.0.1/lcc/pylcc/guide/hello.py", line 37, in __init__
super(Chello, self).__init__("hello", bpf_str=bpfPog)
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pylcc/lbcBase.py", line 313, in __init__
super(ClbcBase, self).__init__(bpf, bpf_str, server, arch, ver,
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pylcc/lbcBase.py", line 76, in __init__
self._checkBtf(ver, arch)
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pylcc/lbcBase.py", line 106, in _checkBtf
dRecv = cli.getBtf()
^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/surftrace/lbcClient.py", line 140, in getBtf
return self._post(dSend)
^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/surftrace/lbcClient.py", line 82, in _post
rd = json.loads(res.text.encode())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.11/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.11/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.11/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 1 (char 0)