VeighNa量化社区
你的开源社区量化交易平台
Member
avatar
加入于:
帖子: 7
声望: 0

Traceback (most recent call last):
File "D:\vnstudio\lib\threading.py", line 865, in run
self._target(self._args, **self._kwargs)
File "D:\yuanma\vnpy\vnpy\vnpy\event\engine.py", line 60, in _run
self._process(event)
File "D:\yuanma\vnpy\vnpy\vnpy\event\engine.py", line 76, in _process
[handler(event) for handler in self._general_handlers]
File "D:\yuanma\vnpy\vnpy\vnpy\event\engine.py", line 76, in <listcomp>
[handler(event) for handler in self._general_handlers]
File "D:\yuanma\vnpy\vnpy\vnpy\app\rpc_service\engine.py", line 115, in process_event
self.server.publish("", event)
File "D:\yuanma\vnpy\vnpy\vnpy\rpc__init.py", line 188, in publish
self.
socket_pub.send_pyobj([topic, data])
File "D:\vnstudio\lib\site-packages\zmq\sugar\socket.py", line 626, in send_pyobj
msg = pickle.dumps(obj, protocol)
TypeError: can't pickle _thread.lock objects
Exception in thread Thread-6:
Traceback (most recent call last):
File "D:\vnstudio\lib\threading.py", line 917, in _bootstrap_inner
self.run()
File "D:\vnstudio\lib\threading.py", line 865, in run
self._target(
self._args, **self._kwargs)
File "D:\yuanma\vnpy\vnpy\vnpy\event\engine.py", line 60, in _run
self._process(event)
File "D:\yuanma\vnpy\vnpy\vnpy\event\engine.py", line 76, in _process
[handler(event) for handler in self._general_handlers]
File "D:\yuanma\vnpy\vnpy\vnpy\event\engine.py", line 76, in <listcomp>
[handler(event) for handler in self._general_handlers]
File "D:\yuanma\vnpy\vnpy\vnpy\app\rpc_service\engine.py", line 115, in process_event
self.server.publish("", event)
File "D:\yuanma\vnpy\vnpy\vnpy\rpc__init.py", line 188, in publish
self.
socket_pub.send_pyobj([topic, data])
File "D:\vnstudio\lib\site-packages\zmq\sugar\socket.py", line 626, in send_pyobj
msg = pickle.dumps(obj, protocol)
TypeError: can't pickle _thread.lock objects

Administrator
avatar
加入于:
帖子: 4505
声望: 322

这里报错是说,你在尝试发送一个多线程锁对象,而这个对象是无法通过pickle序列化的,请检查是否什么地方代码写错了。

Member
avatar
加入于:
帖子: 4
声望: 2

我也遇到这个问题,在启用“组合管理”app会出现。 不启用“组合管理”就没问题。。。

Member
avatar
加入于:
帖子: 4816
声望: 291

可以贴一下报错截图和对比截图看看

© 2015-2022 上海韦纳软件科技有限公司
备案服务号:沪ICP备18006526号

沪公网安备 31011502017034号

【用户协议】
【隐私政策】
【免责条款】