我把4个头文件替换了,然后把thostmduserapi_se.so和thosttraderapi_se.so重命名并替换。运行generate_data_type.py 报编码错误
Traceback (most recent call last):
File "/home/disk1/PycharmProjects/xxx/vnpy-2.2.0/vnpy/api/ctp/generator/generate_data_type.py", line 76, in <module>
generator.run()
File "/home/disk1/PycharmProjects/xxx/vnpy-2.2.0/vnpy/api/ctp/generator/generate_data_type.py", line 25, in run
for line in self.f_cpp:
File "/usr/lib/python3.8/codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd0 in position 85: invalid continuation byte