shidenggui / easytrader

提供同花顺客户端/国金/华泰客户端/雪球的基金、股票自动程序化交易以及自动打新,支持跟踪 joinquant /ricequant 模拟交易 和 实盘雪球组合, 量化交易组件
MIT License
7.92k stars 2.67k forks source link

银河证券 yh_client 登入后,总是反复报错,但程序继续运行 #417

Open TrW236 opened 3 years ago

TrW236 commented 3 years ago

env

OS: win10 PYTHON_VERSION: 3.6 EASYTRADER_VERSION: 应该是最新版 BROKER_TYPE: yh_client

problem

登入银河证券软件之后,总是反复出现以下报错,但程序继续运行

Traceback (most recent call last):
  File "_ctypes/callbacks.c", line 234, in 'calling callback function'
  File "C:\Users\Tianran\Anaconda3\envs\auto_trade\lib\site-packages\pywinauto\win32_element_info.py", line 138, in enum_window_proc
    if title is not None and title != element.rich_text:
  File "C:\Users\Tianran\Anaconda3\envs\auto_trade\lib\site-packages\pywinauto\win32_element_info.py", line 83, in rich_text
    return handleprops.text(self.handle)
  File "C:\Users\Tianran\Anaconda3\envs\auto_trade\lib\site-packages\pywinauto\handleprops.py", line 88, in text
    buffer_ = ctypes.create_unicode_buffer(length)
  File "C:\Users\Tianran\Anaconda3\envs\auto_trade\lib\ctypes\__init__.py", line 288, in create_unicode_buffer
    buftype = c_wchar * init
OverflowError: cannot fit 'int' into an index-sized integer
Frank-FanQMeng commented 3 years ago

你好,我登录华泰证券客户端也出现类似的情况,请问你的问题解决了吗?