Traceback (most recent call last):
File "e:\vnstudio\lib\site-packages\peewee.py", line 3144, in execute_sql
cursor.execute(sql, params or ())
sqlite3.OperationalError: table dbtickdata has no column named turnover
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "e:\vnstudio\lib\site-packages\vnpy_datarecorder\ui\widget.py", line 157, in process_exception_event
raise exc_info[1].with_traceback(exc_info[2])
File "e:\vnstudio\lib\site-packages\vnpy_datarecorder\engine.py", line 84, in run
self.database.save_tick_data(data)
File "e:\vnstudio\lib\site-packages\vnpy_sqlite\sqlite_database.py", line 208, in save_tick_data
DbTickData.insert_many(c).on_conflict_replace().execute()
File "e:\vnstudio\lib\site-packages\peewee.py", line 1907, in inner
return method(self, database, args, **kwargs)
File "e:\vnstudio\lib\site-packages\peewee.py", line 1978, in execute
return self._execute(database)
File "e:\vnstudio\lib\site-packages\peewee.py", line 2745, in _execute
return super(Insert, self)._execute(database)
File "e:\vnstudio\lib\site-packages\peewee.py", line 2474, in _execute
cursor = database.execute(self)
File "e:\vnstudio\lib\site-packages\peewee.py", line 3157, in execute
return self.execute_sql(sql, params, commit=commit)
File "e:\vnstudio\lib\site-packages\peewee.py", line 3151, in execute_sql
self.commit()
File "e:\vnstudio\lib\site-packages\peewee.py", line 2917, in exit
reraise(new_type, new_type(exc_value, exc_args), traceback)
File "e:\vnstudio\lib\site-packages\peewee.py", line 190, in reraise
raise value.with_traceback(tb)
File "e:\vnstudio\lib\site-packages\peewee.py", line 3144, in execute_sql
cursor.execute(sql, params or ())
peewee.OperationalError: table dbtickdata has no column named turnover
mysql能正常连接, 手动创建了新的空的数据库