-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
运行报错 #19
Comments
请更新到最新版 |
是0.2.1呀 |
可能是别的使用tortoise-orm的插件把本插件的数据库连接给关闭了,或者不明原因在创建数据库文件时创建失败。尝试重启一下? |
|
看了下,这个插件并没有用到数据库,应该与它无关。 |
版本没问题,应该是插件冲突了,tortoise-orm迟迟不发新版,没办法 |
so,真的没办法解决了吗,我的也是会发生,重启就断,多重启几次又连上了,属实太影响了 |
后面会考虑一下把tortoise-orm换成sqlalchemy来解决数据库连接问题,不过不确定已学的数据能否无缝切换。 |
01-18 21:42:33 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_plugin_repeater)
01-18 21:42:33 [INFO] nonebot | Matcher(type='message', module=nonebot_plugin_repeater) running complete
01-18 21:42:33 [ERROR] nonebot | Rule check failed for Matcher(type='message', module=nonebot_plugin_learning_chat).
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/tortoise/backends/sqlite/client.py", line 34, in translate_exceptions_
return await func(self, query, *args)
File "/usr/local/lib/python3.9/dist-packages/tortoise/backends/sqlite/client.py", line 117, in execute_insert
return (await connection.execute_insert(query, values))[0]
File "/usr/local/lib/python3.9/dist-packages/aiosqlite/core.py", line 194, in execute_insert
return await self._execute(self._execute_insert, sql, parameters)
File "/usr/local/lib/python3.9/dist-packages/aiosqlite/core.py", line 129, in _execute
return await future
File "/usr/local/lib/python3.9/dist-packages/aiosqlite/core.py", line 102, in run
result = function()
File "/usr/local/lib/python3.9/dist-packages/aiosqlite/core.py", line 74, in _execute_insert
cursor = self._conn.execute(sql, parameters)
sqlite3.OperationalError: no such table: message
The text was updated successfully, but these errors were encountered: