-
Notifications
You must be signed in to change notification settings - Fork 11
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
使用nonebot_plugin_datastore重构 #32
Conversation
好耶,图片缓存!支持一下!! |
创建数据库失败。载入可以正常,但是好像没办法创建数据库,报错不存在table。是不是需要写数据库链接什么的 |
nonebot-plugin-datastore在没配置数据库时候会默认创建一个sqlite 猜测是你插件的文件夹名不是 |
我是直接下载的zip不是clone也不是pip安装,你是说在这个nonebot_plugin_bottle外面还需要一个nonebot_plugin_bottle吗 |
This comment was marked as resolved.
This comment was marked as resolved.
我也是这样做的,但是却不行。我在用另一个插件(中国象棋)也出现了同样的问题。是.env需要配置一些什么嘛。等下午我把详细报错截图看看 |
This comment was marked as resolved.
This comment was marked as resolved.
在启动的时候我好像并没有弹出数据库启动成功的log。我的目录结构是这样的:
应该就是在说创建表格失败的事。因为我之前没有用过数据库,不过我也不知道该怎么开启。我也百度了错误内容,但是搜索出来结果都不太相关,没办法解决。 不过我用的确实是nonebot2.0.0rc4 |
This comment was marked as resolved.
This comment was marked as resolved.
问题解决了,原来是之前更新的时候没有更新fastapi,以后再也不用pip了,改用poetry |
This comment was marked as resolved.
This comment was marked as resolved.
作者坐穿牢底归来了( |
我更新了fastapi也没有解决这个问题…… |
是不是这个插件不会自动创建nonebot_plugin_bottle这个table啊(?)
执行命令报错:
|
我已经为 @LambdaYH 邀请协作者了,尽管PR,我看懂什么的等一年后的大学再说(倒 |
This comment was marked as off-topic.
This comment was marked as off-topic.
会自动创建的,这应该是迁移旧数据时候发生的错误。 |
那个汉字是我为了隐私自己打码的(惊)原log是正常的数字号 |
那应该就是表没自动创建
确实用pypi装的话不会创建表,但是直接丢文件夹就可以,我去看看怎么修 |
第一次打包带文件夹的项目,不太会,现在没问题了( |
好像还是有点其他问题(悲)#37 |
This comment was marked as off-topic.
This comment was marked as off-topic.
之前那个迁移问题可以把comment里面的中文 不过 这里是配置 |
This comment was marked as off-topic.
This comment was marked as off-topic.
因为我 所以可以暂时把 |
哦哦,不过我看好像是能正常迁移评论的,我这里捡到过有评论的瓶子是正常的 |
啊?你之前不是有说迁移后表里面还是空白的吗 |
我是更新了当时那个pr的版本(下的zip替换的)然后解决了 |
nonebot_plugin_bottle_local_storage
配置项,可将图片缓存到data/bottle/cache
目录。改动有亿点多(
如果作者不想吃可以直接关了
我自己偷偷用