我的set方式的redis数据格式 可以看 但是 hset的格式的一点击就报这个错 作者 帮忙看下啥问题
抱歉,出错了:<br> Traceback (most recent call last):<br> File "class/flask_sockets.py", line 30, in __call__<br> handler, values = adapter.match()<br> File "/www/server/panel/pyenv/lib/python3.7/site-packages/werkzeug/routing.py", line 1945, in match<br> raise NotFound()<br>werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.<br><br>During handling of the above exception, another exception occurred:<br><br>Traceback (most recent call last):<br> File "class/panelPlugin.py", line 1898, in a<br> return eval(execStr)<br> File "<string>", line 1, in <module><br> File "plugin/redisutil/redisutil_main.py", line 211, in get_value<br> "value": json.dumps(value),<br> File "/www/server/panel/pyenv/lib/python3.7/json/__init__.py", line 231, in dumps<br> return _default_encoder.encode(obj)<br> File "/www/server/panel/pyenv/lib/python3.7/json/encoder.py", line 199, in encode<br> chunks = self.iterencode(o, _one_shot=True)<br> File "/www/server/panel/pyenv/lib/python3.7/json/encoder.py", line 257, in iterencode<br> return _iterencode(o, 0)<br>TypeError: keys must be str, int, float, bool or None, not bytes<br> |