haifengat / pyctp

上期技术期货交易api之python封装,实现接口调用。支持windows linux.
Apache License 2.0
249 stars 130 forks source link

Ubuntu环境下执行 python generate/run.py 出现 Exception: no type: c_int #12

Open tdzhang opened 5 years ago

tdzhang commented 5 years ago

Traceback (most recent call last): File "generate/run.py", line 34, in g_c_py.run(True, True) # 生成c+ py File "/root/hf_ctp_py_proxy/generate/g_c_py.py", line 469, in run raise Exception(f'no type: {type_name}') Exception: no type: c_int

haifengat commented 5 years ago

已修复,原因是没有处理short类型

wlb632363 commented 5 years ago

已修复,原因是没有处理short类型

环境:linux gcc: 8.3.0 python: 3.6

运行时还是有异常 Traceback (most recent call last): File "run.py", line 36, in g_c_py.run(True, True) # 生成c+ py File "/kfdata/pythonCode/ctp/hf_ctp_py_proxy/generate/g_c_py.py", line 486, in run raise Exception(f'no type: {type_name}') Exception: no type: c_int