Exception in thread Thread-7:
Traceback (most recent call last):
File "C:\APPS\Anaconda4_32\lib\threading.py", line 801, in bootstrap_inner
self.run()
File "C:\APPS\Anaconda4_32\lib\threading.py", line 754, in run
self.target(*self.args, **self.kwargs)
File "C:\vnpy\vn.trader\eventEngine.py", line 218, in run
self.process(event)
File "C:\vnpy\vn.trader\eventEngine.py", line 228, in process
[handler(event) for handler in self.handlers[event.type_]]
File "C:\LocalRqalpha\rqalpha\rqalpha\mod\rqalpha_mod_vnpy\vnpy_engine.py", line 254, in
self.event_engine.register(EVENT_ERROR, lambda e: system_log.error(e['data']))
AttributeError: Event instance has no attribute 'getitem'
rqalpha version: 2.0.7 rqalpha_mod_vnpy version: 0.9.11 使用pycharm运行;
今天又没有这个错误了 。
Exception in thread Thread-7: Traceback (most recent call last): File "C:\APPS\Anaconda4_32\lib\threading.py", line 801, in bootstrap_inner self.run() File "C:\APPS\Anaconda4_32\lib\threading.py", line 754, in run self.target(*self.args, **self.kwargs) File "C:\vnpy\vn.trader\eventEngine.py", line 218, in run self.process(event) File "C:\vnpy\vn.trader\eventEngine.py", line 228, in process [handler(event) for handler in self.handlers[event.type_]] File "C:\LocalRqalpha\rqalpha\rqalpha\mod\rqalpha_mod_vnpy\vnpy_engine.py", line 254, in
self.event_engine.register(EVENT_ERROR, lambda e: system_log.error(e['data']))
AttributeError: Event instance has no attribute 'getitem'