Closed Pendome closed 1 year ago
你用的哪个版本
Python 3.8.6 用的是火狐的浏览器firefox-1378 windows server2012 R2 nonebot2
我是说插件的版本
你机器人启动的时候有没有报错?
你机器人启动的时候有没有报错?
不好意思哈,插件版本是v0.2.1,机器人启动的时候没有报错,一切正常
可以把DEBUG模式打开看看结果吗? 在 nonebot 的 .env 文件里设置 LOG_LEVEL=DEBUG
可以运行一下 nb datastore history
后,发一下结果吗?
可以把DEBUG模式打开看看结果吗? 在 nonebot 的 .env 文件里设置 LOG_LEVEL=DEBUG
这个是完整的结果了
可以运行一下
nb datastore history
后,发一下结果吗?
这个是运行之后的结果
绝了,怎么是空的。
你可以进 site-packages 找到 nonebot_plugin_datastore,然后把 self._migration_path
打印出来看看吗?
在这个位置 https://github.com/he0119/nonebot-plugin-datastore/blob/366b9cf239718d7b5c0f0a6c5663b13a9214b481/nonebot_plugin_datastore/plugin.py#L262。
你可以进 site-packages 找到 nonebot_plugin_datastore,然后把
self._migration_path
打印出来看看吗? 在这个位置 https://github.com/he0119/nonebot-plugin-datastore/blob/366b9cf239718d7b5c0f0a6c5663b13a9214b481/nonebot_plugin_datastore/plugin.py#L262。
奇怪啊,位置没错,这个文件夹里有东西吧?
奇怪啊,位置没错,这个文件夹里有东西吧?
里面是有东西的
太离谱了,我不理解……
那你还可以打印一下这里的 str(PluginData(plugin_name).migration_dir)
吗?
那你还可以打印一下这里的
str(PluginData(plugin_name).migration_dir)
吗?
那你还可以打印一下这里的
str(PluginData(plugin_name).migration_dir)
吗? https://github.com/he0119/nonebot-plugin-datastore/blob/366b9cf239718d7b5c0f0a6c5663b13a9214b481/nonebot_plugin_datastore/script/utils.py#L59
😂😂😂我完全不理解了,可能得去看看 alembic 的源代码。要不加个群(730374631)?
那你还可以打印一下这里的
str(PluginData(plugin_name).migration_dir)
吗? https://github.com/he0119/nonebot-plugin-datastore/blob/366b9cf239718d7b5c0f0a6c5663b13a9214b481/nonebot_plugin_datastore/script/utils.py#L59😂😂😂我完全不理解了,可能得去看看 alembic 的源代码。要不加个群(730374631)?
好咧感谢大佬
触发下棋指令报错了