Traceback (most recent call last):
File "D:\pythonProject\wy_coments.py", line 24, in <module>
getdata = ctx.call("get_param",d,e,f,g)
File "D:\Anaconda\lib\site-packages\execjs\_abstract_runtime_context.py", line 37, in call
return self._call(name, *args)
File "D:\Anaconda\lib\site-packages\execjs\_external_runtime.py", line 91, in _call
args = json.dumps(args)
File "D:\Anaconda\lib\json\__init__.py", line 231, in dumps
return _default_encoder.encode(obj)
File "D:\Anaconda\lib\json\encoder.py", line 199, in encode
chunks = self.iterencode(o, _one_shot=True)
File "D:\Anaconda\lib\json\encoder.py", line 257, in iterencode
return _iterencode(o, 0)
File "D:\Anaconda\lib\json\encoder.py", line 179, in default
raise TypeError(f'Object of type {o.__class__.__name__} '
TypeError: Object of type TextIOWrapper is not JSON serializable
TypeError: Object of type TextIOWrapper is not JSON serializable
最新推荐文章于 2024-04-08 19:27:42 发布