VeighNa量化社区
你的开源社区量化交易平台 | vn.py | vnpy
Member
avatar
加入于:
帖子: 2
声望: 0

2025-08-23 08:33:24 --------------------------------------------------
2025-08-23 08:33:24 VeighNa Trader进程启动
2025-08-23 08:33:25 failed to load taosnative.dll since
2025-08-23 08:33:25 Driver was not loaded [0x8000010B]
2025-08-23 08:33:25.108 | CRITICAL | Logger | Main thread exception
Traceback (most recent call last):

File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code

File "build\bdist.win-amd64\egg\veighna_station\trader.py", line 38, in <module>

File "build\bdist.win-amd64\egg\veighna_station\trader.py", line 29, in run_trader

File "C:\veighna_studio\Lib\site-packages\vnpy\trader\engine.py", line 127, in add_app
engine: BaseEngine = self.add_engine(app.engine_class)
│ │ │ └ <class 'vnpy_ctastrategy.engine.CtaEngine'>
│ │ └ <vnpy_ctastrategy.CtaStrategyApp object at 0x0000026005AA6A50>
│ └ <function MainEngine.add_engine at 0x0000026004978400>
└ <vnpy.trader.engine.MainEngine object at 0x0000026005AA5550>
File "C:\veighna_studio\Lib\site-packages\vnpy\trader\engine.py", line 98, in add_engine
engine: EngineType = engine_class(self, self.event_engine) # type: ignore
│ │ │ └ <vnpy.event.engine.EventEngine object at 0x0000026005AA5160>
│ │ └ <vnpy.trader.engine.MainEngine object at 0x0000026005AA5550>
│ └ <vnpy.trader.engine.MainEngine object at 0x0000026005AA5550>
└ <class 'vnpy_ctastrategy.engine.CtaEngine'>
File "C:\veighna_studio\Lib\site-packages\vnpy_ctastrategy\engine.py", line 98, in init
self.database: BaseDatabase = get_database()
│ └ <function get_database at 0x0000026009E25800>
└ <vnpy_ctastrategy.engine.CtaEngine object at 0x0000026005AA6900>
File "C:\veighna_studio\Lib\site-packages\vnpy\trader\database.py", line 158, in get_database
database = module.Database()
│ └ <class 'vnpy_taos.taos_database.TaosDatabase'>
└ <module 'vnpy_taos' from 'C:\veighna_studio\Lib\site-packages\vnpy_taos\init.py'>
File "C:\veighna_studio\Lib\site-packages\vnpy_taos\taos_database.py", line 37, in init
self.conn: taos.TaosConnection = taos.connect(
│ │ │ │ └ <function connect at 0x0000026009FBF920>
│ │ │ └ <module 'taos' from 'C:\veighna_studio\Lib\site-packages\taos\init.py'>
│ │ └ <class 'taos.connection.TaosConnection'>
│ └ <module 'taos' from 'C:\veighna_studio\Lib\site-packages\taos\init.py'>
└ <vnpy_taos.taos_database.TaosDatabase object at 0x0000026009F401A0>
File "C:\veighna_studio\Lib\site-packages\taos__init.py", line 75, in connect
return TaosConnection(*args, **kwargs)
│ │ └ {'host': 'localhost', 'user': 'root', 'password': 'taosdata', 'port': 6030, 'timezone': 'Asia/Shanghai'}
│ └ ()
└ <class 'taos.connection.TaosConnection'>
File "C:\veighna_studio\Lib\site-packages\taos\connection.py", line 33, in
init__
self._conn = self._chandle.connect(self._host, self._user, self._password, self._database, self._port)
│ │ │ │ │ │ │ │ │ │ │ │ │ │ └ 6030
│ │ │ │ │ │ │ │ │ │ │ │ │ └ <taos.connection.TaosConnection object at 0x0000026009F406E0>
│ │ │ │ │ │ │ │ │ │ │ │ └ None
│ │ │ │ │ │ │ │ │ │ │ └ <taos.connection.TaosConnection object at 0x0000026009F406E0>
│ │ │ │ │ │ │ │ │ │ └ 'taosdata'
│ │ │ │ │ │ │ │ │ └ <taos.connection.TaosConnection object at 0x0000026009F406E0>
│ │ │ │ │ │ │ │ └ 'root'
│ │ │ │ │ │ │ └ <taos.connection.TaosConnection object at 0x0000026009F406E0>
│ │ │ │ │ │ └ 'localhost'
│ │ │ │ │ └ <taos.connection.TaosConnection object at 0x0000026009F406E0>
│ │ │ │ └ <function CTaosInterface.connect at 0x0000026009F5E2A0>
│ │ │ └ <taos.cinterface.CTaosInterface object at 0x0000026009F40C20>
│ │ └ <taos.connection.TaosConnection object at 0x0000026009F406E0>
│ └ None
└ <taos.connection.TaosConnection object at 0x0000026009F406E0>
File "C:\veighna_studio\Lib\site-packages\taos\cinterface.py", line 2312, in connect
return taos_connect(host, user, password, db, port)
│ │ │ │ │ └ 6030
│ │ │ │ └ None
│ │ │ └ 'taosdata'
│ │ └ 'root'
│ └ 'localhost'
└ <function taos_connect at 0x0000026009F498A0>
File "C:\veighna_studio\Lib\site-packages\taos\cinterface.py", line 256, in taos_connect
raise ConnectionError(errstr, errno)
│ │ └ -2147483380
│ └ 'Function was not loaded from the driver'
└ <class 'taos.error.ConnectionError'>

taos.error.ConnectionError: [0x010c]: Function was not loaded from the driver
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "build\bdist.win-amd64\egg\veighna_station\trader.py", line 38, in <module>
File "build\bdist.win-amd64\egg\veighna_station\trader.py", line 29, in run_trader
File "C:\veighna_studio\Lib\site-packages\vnpy\trader\engine.py", line 127, in add_app
engine: BaseEngine = self.add_engine(app.engine_class)
~~~^^^^^^^^^^^^^^^^^^
File "C:\veighna_studio\Lib\site-packages\vnpy\trader\engine.py", line 98, in add_engine
engine: EngineType = engine_class(self, self.event_engine) # type: ignore
~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\veighna_studio\Lib\site-packages\vnpy_ctastrategy\engine.py", line 98, in init
self.database: BaseDatabase = get_database()
~
~~~^^
File "C:\veighna_studio\Lib\site-packages\vnpy\trader\database.py", line 158, in get_database
database = module.Database()
File "C:\veighna_studio\Lib\site-packages\vnpy_taos\taos_database.py", line 37, in init
self.conn: taos.TaosConnection = taos.connect(
~
~~~^
host=self.host,
^^^^^^^^^^^^^^^
...<3 lines>...
timezone=self.timezone
^^^^^^^^^^^^^^^^^^^^^^
)
^
File "C:\veighna_studio\Lib\site-packages\taos__init.py", line 75, in connect
return TaosConnection(*args, **kwargs)
File "C:\veighna_studio\Lib\site-packages\taos\connection.py", line 33, in
init__
self._conn = self._chandle.connect(self._host, self._user, self._password, self._database, self._port)
~
~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\veighna_studio\Lib\site-packages\taos\cinterface.py", line 2312, in connect
return taos_connect(host, user, password, db, port)
File "C:\veighna_studio\Lib\site-packages\taos\cinterface.py", line 256, in taos_connect
raise ConnectionError(errstr, errno)
taos.error.ConnectionError: [0x010c]: Function was not loaded from the driver
2025-08-23 08:33:44 VeighNa Trader进程终止

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

description

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

沪公网安备 31011502017034号

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