KimigaiiWuyi / GenshinUID

支持OneBot(QQ)、OneBotV12、QQ频道、微信、KOOK(开黑啦)、Telegram(电报)、FeiShu(飞书)、DoDo、Villa(米游社大别野)、Discord的全功能HoshinoBot/NoneBot2/Koishi/yunzai/ZeroBot原神机器人插件
https://docs.sayu-bot.com
GNU General Public License v3.0
714 stars 101 forks source link

升级bot到4时启动core报错 #536

Closed yangzhan-1 closed 1 year ago

yangzhan-1 commented 1 year ago

image image pip list看已经安装过这个库了为什么还会报错呢

KimigaiiWuyi commented 1 year ago

poetry run pip install uvicorn

yangzhan-1 commented 1 year ago

image 是我有哪步漏了吗

KimigaiiWuyi commented 1 year ago

image 是我有哪步漏了吗

poetry install

yangzhan-1 commented 1 year ago

image

KimigaiiWuyi commented 1 year ago

image

这个要等蛮久的,安装文档应该有poetry install这一步的 不想等可以一个一个的poetry run pip install

yangzhan-1 commented 1 year ago

image 但他是直接给我跳出来了没有在安装的感觉啊

KimigaiiWuyi commented 1 year ago

image 但他是直接给我跳出来了没有在安装的感觉啊

看log应该是安装完了

yangzhan-1 commented 1 year ago

image 但我手动启动还是报错

yangzhan-1 commented 1 year ago

这个多吗,按报错一个个安装可行吗

KimigaiiWuyi commented 1 year ago

这个多吗,按报错一个个安装可行吗

到也不是很多,十个左右?

KimigaiiWuyi commented 1 year ago

噢 我好像知道了,你poetry install在外层,所以应该在外层poetry run python gsuid_core/core.py

Rinco304 commented 1 year ago

遇到了相同的问题:今晚更新后找不到指定模块(使用的虚拟环境,文件夹与gsuid_core同级)但是pip list中确实有greenlet(Python3.8.2) ~~尝试了文档中常见问题的里方法也加装了msvc-runtime,但并未解决仍然无法找到模块 尝试过重装gsuid_core(data文件夹未改变)与虚拟环境,honshino插件更新了也是相同问题~~

image 在更新之前都能正常使用,一更新就寄了( 已解决:将greenlet回退到2.0.0rc2版本后正常使用,可能是因为python版本导致的问题

yangzhan-1 commented 1 year ago

~遇到了相同的问题:今天晚上更新后找不到指定模块(使用的虚拟环境,文件夹与gsuid_core同级)但是pip list中确实有greenlet~(Python3.8.2) ~尝试了文档中经常看到问题的地方方法也加装了msvc-runtime,但并没有解决仍然无法找到模块尝试重新安装 gsuid_core(数据文件夹未改)变)与虚拟环境,honshino插件更新了也是相同的的问题~

图片 ~在更新之前都可以正常使用,一更新就寄了(~ 已解决:将greenlet退回2.0.0rc2版本后正常使用,可能是因为python版本导致的问题

image image 已回退版本还是没办法启动

yangzhan-1 commented 1 year ago

$ poetry run python core.py 05-08 09:43:40 [INFO] gsuid_core.server | 开始导入插件... 05-08 09:43:40 [INFO] gsuid_core.sv | 【Core管理】模块初始化中... 05-08 09:43:40 [INFO] gsuid_core.sv | 载入fullmatch触发器【core重启】! 05-08 09:43:40 [INFO] gsuid_core.sv | 载入fullmatch触发器【core关闭】! 05-08 09:43:40 [INFO] gsuid_core.sv | 载入fullmatch触发器【Core关闭】! 05-08 09:43:41 [INFO] gsuid_core.sv | 【core管理插件】模块初始化中... 05-08 09:43:41 [INFO] gsuid_core.sv | 载入prefix触发器【core安装插件】! 05-08 09:43:41 [INFO] gsuid_core.sv | 载入prefix触发器【core刷新插件列表】! 05-08 09:43:41 [INFO] gsuid_core.sv | 载入prefix触发器【core更新插件】! 05-08 09:43:42 [INFO] gsuid_core.sv | 【用户管理】模块初始化中... 05-08 09:43:42 [INFO] gsuid_core.sv | 【用户添加】模块初始化中... 05-08 09:43:42 [INFO] gsuid_core.sv | 【扫码登陆】模块初始化中... 05-08 09:43:42 [INFO] gsuid_core.sv | 【添加CK】模块初始化中... 05-08 09:43:42 [INFO] gsuid_core.sv | 载入fullmatch触发器【刷新全部CK】! 05-08 09:43:42 [INFO] gsuid_core.sv | 载入fullmatch触发器【刷新全部ck】! 05-08 09:43:42 [INFO] gsuid_core.sv | 载入fullmatch触发器【刷新CK】! 05-08 09:43:42 [INFO] gsuid_core.sv | 载入fullmatch触发器【刷新ck】! 05-08 09:43:42 [INFO] gsuid_core.sv | 载入fullmatch触发器【扫码登陆】! 05-08 09:43:42 [INFO] gsuid_core.sv | 载入fullmatch触发器【扫码登录】! 05-08 09:43:42 [INFO] gsuid_core.sv | 载入prefix触发器【添加】! 05-08 09:43:43 [INFO] gsuid_core.sv | 【原神配置】模块初始化中... 05-08 09:43:43 [INFO] gsuid_core.sv | 载入fullmatch触发器【gs配置】! 05-08 09:43:43 [INFO] gsuid_core.sv | 载入fullmatch触发器【原神配置】! 05-08 09:43:43 [INFO] gsuid_core.sv | 载入prefix触发器【gs设置】! 05-08 09:43:43 [INFO] gsuid_core.sv | 载入prefix触发器【gs开启】! 05-08 09:43:43 [INFO] gsuid_core.sv | 载入prefix触发器【gs关闭】! 05-08 09:43:43 [INFO] gsuid_core.sv | 【查询深渊】模块初始化中... 05-08 09:43:43 [INFO] gsuid_core.sv | 载入command触发器【查询深渊】! 05-08 09:43:43 [INFO] gsuid_core.sv | 载入command触发器【sy】! 05-08 09:43:43 [INFO] gsuid_core.sv | 载入command触发器【查询上期深渊】! 05-08 09:43:43 [INFO] gsuid_core.sv | 载入command触发器【sqsy】! 05-08 09:43:43 [INFO] gsuid_core.sv | 载入command触发器【上期深渊】! 05-08 09:43:43 [INFO] gsuid_core.sv | 载入command触发器【深渊】! 05-08 09:43:43 [INFO] gsuid_core.sv | 【成就委托查询】模块初始化中... 05-08 09:43:43 [INFO] gsuid_core.sv | 载入prefix触发器【查委托】! 05-08 09:43:43 [INFO] gsuid_core.sv | 载入prefix触发器【查成就】! 05-08 09:43:43 [INFO] gsuid_core.sv | 【文字推荐】模块初始化中... 05-08 09:43:43 [INFO] gsuid_core.sv | 载入suffix触发器【用什么】! 05-08 09:43:43 [INFO] gsuid_core.sv | 载入suffix触发器【能用啥】! 05-08 09:43:43 [INFO] gsuid_core.sv | 载入suffix触发器【怎么养】! 05-08 09:43:43 [INFO] gsuid_core.sv | 载入suffix触发器【能给谁】! 05-08 09:43:43 [INFO] gsuid_core.sv | 载入suffix触发器【谁能用】! 05-08 09:43:43 [INFO] gsuid_core.sv | 载入suffix触发器【给谁用】! 05-08 09:43:44 [INFO] gsuid_core.sv | 【原神公告】模块初始化中... 05-08 09:43:44 [INFO] gsuid_core.sv | 【原神公告订阅】模块初始化中... 05-08 09:43:44 [INFO] gsuid_core.sv | 【原神公告红点】模块初始化中... 05-08 09:43:44 [INFO] gsuid_core.sv | 载入command触发器【原神公告】! 05-08 09:43:44 [INFO] gsuid_core.sv | 载入fullmatch触发器【订阅原神公告】! 05-08 09:43:44 [INFO] gsuid_core.sv | 载入fullmatch触发器【取消订阅原神公告】! 05-08 09:43:44 [INFO] gsuid_core.sv | 载入fullmatch触发器【取消原神公告】! 05-08 09:43:44 [INFO] gsuid_core.sv | 载入fullmatch触发器【退订原神公告】! 05-08 09:43:44 [INFO] gsuid_core.sv | 载入fullmatch触发器【取消原神公告红点】! 05-08 09:43:44 [INFO] gsuid_core.sv | 载入fullmatch触发器【清除原神公告红点】! 05-08 09:43:44 [INFO] gsuid_core.sv | 【数据管理】模块初始化中... 05-08 09:43:44 [INFO] gsuid_core.sv | 载入fullmatch触发器【gs清除缓存】! 05-08 09:43:44 [INFO] gsuid_core.sv | 载入fullmatch触发器【校验全部Cookies】! 05-08 09:43:44 [INFO] gsuid_core.sv | 载入fullmatch触发器【校验全部Stoken】! 05-08 09:43:44 [INFO] gsuid_core.sv | 【查询收集】模块初始化中... 05-08 09:43:44 [INFO] gsuid_core.sv | 【查询探索】模块初始化中... 05-08 09:43:44 [INFO] gsuid_core.sv | 载入command触发器【查询收集】! 05-08 09:43:44 [INFO] gsuid_core.sv | 载入command触发器【sj】! 05-08 09:43:44 [INFO] gsuid_core.sv | 载入command触发器【查询探索】! 05-08 09:43:44 [INFO] gsuid_core.sv | 载入command触发器【ts】! 05-08 09:43:44 [INFO] gsuid_core.sv | 【数据备份恢复】模块初始化中... 05-08 09:43:44 [INFO] gsuid_core.sv | 【core配置管理】模块初始化中... 05-08 09:43:44 [INFO] gsuid_core.sv | 载入fullmatch触发器【导入v3数据】! 05-08 09:43:44 [INFO] gsuid_core.sv | 载入fullmatch触发器【重置core配置】! 05-08 09:43:45 [INFO] gsuid_core.sv | 【面板设置】模块初始化中... 05-08 09:43:45 [INFO] gsuid_core.sv | 【面板查询】模块初始化中... 05-08 09:43:45 [INFO] gsuid_core.sv | 【查看面板原图】模块初始化中... 05-08 09:43:45 [INFO] gsuid_core.sv | 载入fullmatch触发器【原图】! 05-08 09:43:45 [INFO] gsuid_core.sv | 载入fullmatch触发器【切换api】! 05-08 09:43:45 [INFO] gsuid_core.sv | 载入prefix触发器【查询】! 05-08 09:43:45 [INFO] gsuid_core.sv | 载入prefix触发器【对比面板】! 05-08 09:43:45 [INFO] gsuid_core.sv | 载入prefix触发器【保存面板】! 05-08 09:43:45 [INFO] gsuid_core.sv | 载入command触发器【强制刷新】! 05-08 09:43:45 [INFO] gsuid_core.sv | 载入command触发器【毕业度统计】! 05-08 09:43:45 [INFO] gsuid_core.sv | 【版本规划】模块初始化中... 05-08 09:43:45 [INFO] gsuid_core.sv | 【杂图】模块初始化中... 05-08 09:43:45 [INFO] gsuid_core.sv | 载入command触发器【版本规划】! 05-08 09:43:45 [INFO] gsuid_core.sv | 载入command触发器【原石预估】! 05-08 09:43:45 [INFO] gsuid_core.sv | 载入fullmatch触发器【伤害乘区】! 05-08 09:43:45 [INFO] gsuid_core.sv | 载入fullmatch触发器【血量表】! 05-08 09:43:45 [INFO] gsuid_core.sv | 载入fullmatch触发器【抗性表】! 05-08 09:43:45 [INFO] gsuid_core.sv | 载入fullmatch触发器【血量排行】! 05-08 09:43:45 [INFO] gsuid_core.sv | 【活动列表】模块初始化中... 05-08 09:43:45 [INFO] gsuid_core.sv | 载入fullmatch触发器【活动列表】! 05-08 09:43:45 [INFO] gsuid_core.sv | 载入fullmatch触发器【卡池列表】! 05-08 09:43:45 [INFO] gsuid_core.sv | 【抽卡记录】模块初始化中... 05-08 09:43:45 [INFO] gsuid_core.sv | 【刷新抽卡记录】模块初始化中... 05-08 09:43:45 [INFO] gsuid_core.sv | 【导出抽卡记录】模块初始化中... 05-08 09:43:46 [INFO] gsuid_core.sv | 【导入抽卡记录】模块初始化中... 05-08 09:43:46 [INFO] gsuid_core.sv | 【从小助手导入抽卡记录】模块初始化中... 05-08 09:43:46 [INFO] gsuid_core.sv | 【导出抽卡记录到小助手】模块初始化中... 05-08 09:43:46 [INFO] gsuid_core.sv | 【导出抽卡记录链接】模块初始化中... 05-08 09:43:46 [INFO] gsuid_core.sv | 载入file触发器【json】! 05-08 09:43:46 [INFO] gsuid_core.sv | 载入fullmatch触发器【抽卡记录】! 05-08 09:43:46 [INFO] gsuid_core.sv | 载入fullmatch触发器【刷新抽卡记录】! 05-08 09:43:46 [INFO] gsuid_core.sv | 载入fullmatch触发器【强制刷新抽卡记录】! 05-08 09:43:46 [INFO] gsuid_core.sv | 载入fullmatch触发器【导出抽卡记录】! 05-08 09:43:46 [INFO] gsuid_core.sv | 载入fullmatch触发器【从小助手导入抽卡记录】! 05-08 09:43:46 [INFO] gsuid_core.sv | 载入fullmatch触发器【导出抽卡记录到小助手】! 05-08 09:43:46 [INFO] gsuid_core.sv | 载入fullmatch触发器【导出抽卡记录链接】! 05-08 09:43:46 [INFO] gsuid_core.sv | 载入fullmatch触发器【导出抽卡记录连接】! 05-08 09:43:46 [INFO] gsuid_core.sv | 【查询七圣】模块初始化中... 05-08 09:43:46 [INFO] gsuid_core.sv | 载入command触发器【七圣召唤】! 05-08 09:43:46 [INFO] gsuid_core.sv | 载入command触发器【qszh】! 05-08 09:43:46 [INFO] gsuid_core.sv | 载入command触发器【我的卡组】! 05-08 09:43:46 [INFO] gsuid_core.sv | 载入command触发器【我的牌组】! 05-08 09:43:46 [INFO] gsuid_core.sv | 【查询角色攻略】模块初始化中... 05-08 09:43:46 [INFO] gsuid_core.sv | 【查询深渊阵容】模块初始化中... 05-08 09:43:46 [INFO] gsuid_core.sv | 载入suffix触发器【攻略】! 05-08 09:43:46 [INFO] gsuid_core.sv | 载入suffix触发器【推荐】! 05-08 09:43:46 [INFO] gsuid_core.sv | 载入prefix触发器【参考面板】! 05-08 09:43:46 [INFO] gsuid_core.sv | 载入command触发器【版本深渊】! 05-08 09:43:46 [INFO] gsuid_core.sv | 载入command触发器【深渊阵容】! 05-08 09:43:46 [INFO] gsuid_core.sv | 【原神帮助】模块初始化中... 05-08 09:43:46 [INFO] gsuid_core.sv | 载入fullmatch触发器【gs帮助】! 05-08 09:43:46 [INFO] gsuid_core.sv | 【查询地图设置】模块初始化中... 05-08 09:43:46 [INFO] gsuid_core.sv | 【查询地图】模块初始化中... 05-08 09:43:46 [INFO] gsuid_core.sv | 载入fullmatch触发器【切换地图】! 05-08 09:43:46 [INFO] gsuid_core.sv | 载入prefix触发器【哪里有】! 05-08 09:43:46 [INFO] gsuid_core.sv | 载入prefix触发器【哪儿有】! 05-08 09:43:46 [INFO] gsuid_core.sv | 载入prefix触发器【哪有】! 05-08 09:43:46 [INFO] gsuid_core.sv | 【查询游戏攻略】模块初始化中... 05-08 09:43:46 [INFO] gsuid_core.sv | 【娱乐功能】模块初始化中... 05-08 09:43:47 [INFO] gsuid_core.sv | 载入prefix触发器【原神任务】! 05-08 09:43:47 [INFO] gsuid_core.sv | 载入prefix触发器【任务详情】! 05-08 09:43:47 [INFO] gsuid_core.sv | 载入prefix触发器【qszh】! 05-08 09:43:47 [INFO] gsuid_core.sv | 载入fullmatch触发器【抽表情】! 05-08 09:43:47 [INFO] gsuid_core.sv | 载入fullmatch触发器【御神签】! 05-08 09:43:47 [INFO] gsuid_core.sv | 【米游币获取管理】模块初始化中... 05-08 09:43:47 [INFO] gsuid_core.sv | 【米游币获取】模块初始化中... 05-08 09:43:47 [INFO] gsuid_core.sv | 载入fullmatch触发器【开始获取米游币】! 05-08 09:43:47 [INFO] gsuid_core.sv | 载入fullmatch触发器【全部重获取】! 05-08 09:43:47 [INFO] gsuid_core.sv | 【查询札记】模块初始化中... 05-08 09:43:47 [INFO] gsuid_core.sv | 载入fullmatch触发器【每月统计】! 05-08 09:43:47 [INFO] gsuid_core.sv | 载入fullmatch触发器【当前信息】! 05-08 09:43:47 [INFO] gsuid_core.sv | 载入fullmatch触发器【zj】! 05-08 09:43:47 [INFO] gsuid_core.sv | 载入fullmatch触发器【札记】! 05-08 09:43:47 [INFO] gsuid_core.sv | 【留影叙佳期】模块初始化中... 05-08 09:43:47 [INFO] gsuid_core.sv | 载入fullmatch触发器【留影叙佳期】! 05-08 09:43:47 [INFO] gsuid_core.sv | 【查询体力】模块初始化中... 05-08 09:43:47 [INFO] gsuid_core.sv | 【强制推送】模块初始化中... 05-08 09:43:47 [INFO] gsuid_core.sv | 载入fullmatch触发器【当前状态】! 05-08 09:43:47 [INFO] gsuid_core.sv | 载入fullmatch触发器【强制推送体力提醒】! 05-08 09:43:47 [INFO] gsuid_core.sv | 载入fullmatch触发器【每日】! 05-08 09:43:47 [INFO] gsuid_core.sv | 载入fullmatch触发器【mr】! 05-08 09:43:47 [INFO] gsuid_core.sv | 载入fullmatch触发器【实时便笺】! 05-08 09:43:47 [INFO] gsuid_core.sv | 载入fullmatch触发器【便笺】! 05-08 09:43:47 [INFO] gsuid_core.sv | 载入fullmatch触发器【便签】! 05-08 09:43:47 [INFO] gsuid_core.sv | 【下载资源】模块初始化中... 05-08 09:43:47 [INFO] gsuid_core.sv | 载入fullmatch触发器【下载全部资源】! 05-08 09:43:47 [INFO] gsuid_core.sv | 【查询注册时间】模块初始化中... 05-08 09:43:47 [INFO] gsuid_core.sv | 【查询原神信息】模块初始化中... 05-08 09:43:47 [INFO] gsuid_core.sv | 载入command触发器【原神注册时间】! 05-08 09:43:47 [INFO] gsuid_core.sv | 载入command触发器【注册时间】! 05-08 09:43:47 [INFO] gsuid_core.sv | 载入command触发器【查询注册时间】! 05-08 09:43:47 [INFO] gsuid_core.sv | 载入command触发器【查询】! 05-08 09:43:47 [INFO] gsuid_core.sv | 载入command触发器【uid】! 05-08 09:43:47 [INFO] gsuid_core.sv | 载入command触发器【UID】! 05-08 09:43:47 [INFO] gsuid_core.sv | 【原神签到】模块初始化中... 05-08 09:43:47 [INFO] gsuid_core.sv | 【原神签到管理】模块初始化中... 05-08 09:43:47 [INFO] gsuid_core.sv | 载入fullmatch触发器【签到】! 05-08 09:43:47 [INFO] gsuid_core.sv | 载入fullmatch触发器【全部重签】! 05-08 09:43:47 [INFO] gsuid_core.sv | 【查询深渊数据库】模块初始化中... 05-08 09:43:47 [INFO] gsuid_core.sv | 载入fullmatch触发器【深渊概览】! 05-08 09:43:47 [INFO] gsuid_core.sv | 载入fullmatch触发器【深渊统计】! 05-08 09:43:47 [INFO] gsuid_core.sv | 载入fullmatch触发器【深渊使用率】! 05-08 09:43:47 [INFO] gsuid_core.sv | 载入prefix触发器【角色深渊详情】! 05-08 09:43:47 [INFO] gsuid_core.sv | 载入prefix触发器【角色深渊】! 05-08 09:43:47 [INFO] gsuid_core.sv | 【原神充值】模块初始化中... 05-08 09:43:47 [INFO] gsuid_core.sv | 载入command触发器【gsrc】! 05-08 09:43:47 [INFO] gsuid_core.sv | 载入command触发器【原神充值】! 05-08 09:43:47 [INFO] gsuid_core.sv | 载入command触发器【pay】! 05-08 09:43:47 [INFO] gsuid_core.sv | 【GS管理】模块初始化中... 05-08 09:43:47 [INFO] gsuid_core.sv | 【Core更新记录】模块初始化中... 05-08 09:43:47 [INFO] gsuid_core.sv | 载入fullmatch触发器【gs重启】! 05-08 09:43:47 [INFO] gsuid_core.sv | 载入fullmatch触发器【GS关闭core】! 05-08 09:43:47 [INFO] gsuid_core.sv | 载入fullmatch触发器【GS关闭Core】! 05-08 09:43:47 [INFO] gsuid_core.sv | 载入fullmatch触发器【更新记录】! 05-08 09:43:47 [INFO] gsuid_core.sv | 载入fullmatch触发器【gs更新】! 05-08 09:43:47 [INFO] gsuid_core.sv | 载入fullmatch触发器【gs强制更新】! 05-08 09:43:47 [INFO] gsuid_core.sv | 载入fullmatch触发器【gs强行强制更新】! 05-08 09:43:47 [INFO] gsuid_core.sv | 载入fullmatch触发器【gs全部更新】! 05-08 09:43:47 [INFO] gsuid_core.sv | 【用户信息】模块初始化中... 05-08 09:43:47 [INFO] gsuid_core.sv | 【绑定帮助】模块初始化中... 05-08 09:43:48 [INFO] gsuid_core.sv | 载入fullmatch触发器【绑定信息】! 05-08 09:43:48 [INFO] gsuid_core.sv | 载入command触发器【绑定uid】! 05-08 09:43:48 [INFO] gsuid_core.sv | 载入command触发器【切换uid】! 05-08 09:43:48 [INFO] gsuid_core.sv | 载入command触发器【删除uid】! 05-08 09:43:48 [INFO] gsuid_core.sv | 载入command触发器【解绑uid】! 05-08 09:43:48 [INFO] gsuid_core.sv | 载入fullmatch触发器【ck帮助】! 05-08 09:43:48 [INFO] gsuid_core.sv | 载入fullmatch触发器【绑定帮助】! File "C:\Users\Administrator\Desktop\HoshinoBot-master\gsuid_core\gsuid_core\plugins\GenshinUID\GenshinUID\genshinuid_start__init.py", line 20, in all_start get_sqla('TEMP') File "C:\Users\Administrator\Desktop\HoshinoBot-master\gsuid_core\gsuid_core\plugins\GenshinUID\GenshinUID\utils\database.py", line 15, in get_sqla sqla = SQLA(db_url, bot_id) File "C:\Users\Administrator\Desktop\HoshinoBot-master\gsuid_core\gsuid_core\utils\database\dal.py", line 23, in init self.engine = create_async_engine(self.url, pool_recycle=1500) File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy\ext\asyncio\engine.py", line 43, in create_async_engine sync_engine = _create_engine(*arg, kw) File "", line 2, in create_engine File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy\util\deprecations.py", line 309, in warned return fn(*args, *kwargs) File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy\engine\create.py", line 660, in create_engine event.listen(pool, "connect", on_connect) File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy\event\api.py", line 115, in listen _event_key(target, identifier, fn).listen(args, kw) File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy\event\registry.py", line 232, in listen self.dispatch_target.dispatch._listen(self, *args, kw) File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy\pool\events.py", line 69, in _listen event_key.base_listen(kw) File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy\event\registry.py", line 270, in base_listen for_modify._set_asyncio() File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy\event\attr.py", line 265, in _set_asyncio self._exec_once_mutex = AsyncAdaptedLock() File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy\util\concurrency.py", line 67, in AsyncAdaptedLock _not_implemented() File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy\util\concurrency.py", line 47, in _not_implemented raise ValueError( File "C:\Users\Administrator\Desktop\HoshinoBot-master\gsuid_core\gsuid_core\plugins\GenshinUID\GenshinUID\genshinuid_start__init__.py", line 20, in all_start get_sqla('TEMP') File "C:\Users\Administrator\Desktop\HoshinoBot-master\gsuid_core\gsuid_core\plugins\GenshinUID\GenshinUID\utils\database.py", line 15, in get_sqla sqla = SQLA(db_url, bot_id) File "C:\Users\Administrator\Desktop\HoshinoBot-master\gsuid_core\gsuid_core\utils\database\dal.py", line 23, in init self.engine = create_async_engine(self.url, pool_recycle=1500) File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy\ext\asyncio\engine.py", line 43, in create_async_engine sync_engine = _create_engine(*arg, kw) None File "", line 2, in create_engine File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy\util\deprecations.py", line 309, in warned return fn(*args, *kwargs) File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy\engine\create.py", line 660, in create_engine event.listen(pool, "connect", on_connect) File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy\event\api.py", line 115, in listen _event_key(target, identifier, fn).listen(args, kw) File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy\event\registry.py", line 232, in listen self.dispatch_target.dispatch._listen(self, *args, kw) File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy\pool\events.py", line 69, in _listen event_key.base_listen(kw) File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy\event\registry.py", line 270, in base_listen for_modify._set_asyncio() File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy\event\attr.py", line 265, in _set_asyncio self._exec_once_mutex = AsyncAdaptedLock() File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy\util\concurrency.py", line 67, in AsyncAdaptedLock _not_implemented() File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy\util\concurrency.py", line 47, in _not_implemented raise ValueError( 05-08 09:43:48 File "C:\Users\Administrator\Desktop\HoshinoBot-master\gsuid_core\gsuid_core\plugins\GenshinUID\GenshinUID\genshinuid_start__init__.py", line 20, in all_start get_sqla('TEMP') File "C:\Users\Administrator\Desktop\HoshinoBot-master\gsuid_core\gsuid_core\plugins\GenshinUID\GenshinUID\utils\database.py", line 15, in get_sqla sqla = SQLA(db_url, bot_id) File "C:\Users\Administrator\Desktop\HoshinoBot-master\gsuid_core\gsuid_core\utils\database\dal.py", line 23, in init self.engine = create_async_engine(self.url, pool_recycle=1500) File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy\ext\asyncio\engine.py", line 43, in create_async_engine sync_engine = _create_engine(*arg, kw) File "", line 2, in create_engine File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy\util\deprecations.py", line 309, in warned return fn(*args, *kwargs) File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy\engine\create.py", line 660, in create_engine event.listen(pool, "connect", on_connect) File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy\event\api.py", line 115, in listen _event_key(target, identifier, fn).listen(args, kw) File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy\event\registry.py", line 232, in listen self.dispatch_target.dispatch._listen(self, *args, kw) File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy\pool\events.py", line 69, in _listen event_key.base_listen(kw) File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy\event\registry.py", line 270, in base_listen for_modify._set_asyncio() File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy\event\attr.py", line 265, in _set_asyncio self._exec_once_mutex = AsyncAdaptedLock() File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy\util\concurrency.py", line 67, in AsyncAdaptedLock _not_implemented() File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy\util\concurrency.py", line 47, in _not_implemented raise ValueError( [INFO] gsuid_core.sv | 【原神WIKI文字版】模块初始化中... 05-08 09:43:48 [INFO] gsuid_core.sv | 载入prefix触发器【原魔介绍】! 05-08 09:43:48 [INFO] gsuid_core.sv | 载入prefix触发器【原魔资料】! 05-08 09:43:48 [INFO] gsuid_core.sv | 载入prefix触发器【查原魔】! 05-08 09:43:48 [INFO] gsuid_core.sv | 载入prefix触发器【食物介绍】! 05-08 09:43:48 [INFO] gsuid_core.sv | 载入prefix触发器【食物资料】! 05-08 09:43:48 [INFO] gsuid_core.sv | 载入prefix触发器【查食物】! 05-08 09:43:48 [INFO] gsuid_core.sv | 载入prefix触发器【圣遗物介绍】! 05-08 09:43:48 [INFO] gsuid_core.sv | 载入prefix触发器【圣遗物资料】! 05-08 09:43:48 [INFO] gsuid_core.sv | 载入prefix触发器【查圣遗物】! 05-08 09:43:48 [INFO] gsuid_core.sv | 载入prefix触发器【武器介绍】! 05-08 09:43:48 [INFO] gsuid_core.sv | 载入prefix触发器【武器资料】! 05-08 09:43:48 [INFO] gsuid_core.sv | 载入prefix触发器【查武器】! 05-08 09:43:48 [INFO] gsuid_core.sv | 载入prefix触发器【角色天赋】! 05-08 09:43:48 [INFO] gsuid_core.sv | 载入prefix触发器【查天赋】! 05-08 09:43:48 [INFO] gsuid_core.sv | 载入prefix触发器【角色介绍】! 05-08 09:43:48 [INFO] gsuid_core.sv | 载入prefix触发器【角色资料】! 05-08 09:43:48 [INFO] gsuid_core.sv | 载入prefix触发器【查角色】! 05-08 09:43:48 [INFO] gsuid_core.sv | 载入prefix触发器【角色材料】! 05-08 09:43:48 [INFO] gsuid_core.sv | 载入prefix触发器【武器材料】! 05-08 09:43:48 [INFO] gsuid_core.sv | 载入prefix触发器【角色命座】! 05-08 09:43:48 [INFO] gsuid_core.sv | 载入prefix触发器【查命座】! None File "C:\Users\Administrator\Desktop\HoshinoBot-master\gsuid_core\gsuid_core\plugins\GenshinUID\GenshinUID\genshinuid_start__init__.py", line 20, in all_start get_sqla('TEMP') File "C:\Users\Administrator\Desktop\HoshinoBot-master\gsuid_core\gsuid_core\plugins\GenshinUID\GenshinUID\utils\database.py", line 15, in get_sqla sqla = SQLA(db_url, bot_id) File "C:\Users\Administrator\Desktop\HoshinoBot-master\gsuid_core\gsuid_core\utils\database\dal.py", line 23, in init__ self.engine = create_async_engine(self.url, pool_recycle=1500) File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy\ext\asyncio\engine.py", line 43, in create_async_engine sync_engine = _create_engine(*arg, kw) File "", line 2, in create_engine File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy\util\deprecations.py", line 309, in warned return fn(*args, *kwargs) File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy\engine\create.py", line 660, in create_engine event.listen(pool, "connect", on_connect) File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy\event\api.py", line 115, in listen _event_key(target, identifier, fn).listen(args, kw) File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy\event\registry.py", line 232, in listen self.dispatch_target.dispatch._listen(self, *args, kw) File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy\pool\events.py", line 69, in _listen event_key.base_listen(kw) File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy\event\registry.py", line 270, in base_listen for_modify._set_asyncio() File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy\event\attr.py", line 265, in _set_asyncio self._exec_once_mutex = AsyncAdaptedLock() File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy\util\concurrency.py", line 67, in AsyncAdaptedLock _not_implemented() File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy\util\concurrency.py", line 47, in _not_implemented raise ValueError( 05-08 09:43:48 [INFO] gsuid_core.sv | 【测试开关】模块初始化中... 05-08 09:43:48 [INFO] gsuid_core.sv | 载入prefix触发器【关闭】! 05-08 09:43:48 [INFO] gsuid_core.sv | 载入prefix触发器【开启】! 05-08 09:43:48 [INFO] gsuid_core.sv | 载入fullmatch触发器【全匹配测试】! 05-08 09:43:48 [INFO] gsuid_core.sv | 载入prefix触发器【前缀测试】! 05-08 09:43:48 [INFO] gsuid_core.sv | 载入suffix触发器【后缀测试】! 05-08 09:43:48 [INFO] gsuid_core.sv | 载入keyword触发器【关键词测试】! 05-08 09:43:48 [INFO] gsuid_core.sv | 载入regex触发器【\d+】! Traceback (most recent call last): File "core.py", line 18, in from gsuid_core.webconsole.mount_app import site # noqa: E402 File "C:\Users\Administrator\Desktop\HoshinoBot-master\gsuid_core\gsuid_core\webconsole__init.py", line 5, in from gsuid_core.webconsole.mount_app import site File "C:\Users\Administrator\Desktop\HoshinoBot-master\gsuid_core\gsuid_core\webconsole\mount_app.py", line 181, in site = GsAdminSite(settings) File "C:\Users\Administrator\Desktop\HoshinoBot-master\gsuid_core\gsuid_core\webconsole\mount_app.py", line 162, in init super().init(settings, fastapi, engine, auth) File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\fastapi_user_auth\site.py", line 21, in init super().init(settings, fastapi, engine) File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\fastapi_amis_admin\admin\site.py", line 142, in init super().init(settings, fastapi, engine) File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\fastapi_amis_admin\admin\admin.py", line 1432, in init__ self.engine = AsyncDatabase.create(settings.database_url_async, echo=settings.debug) File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy_database\database.py", line 132, in create engine = create_async_engine(url, kwargs) File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy\ext\asyncio\engine.py", line 43, in create_async_engine sync_engine = _create_engine(*arg, *kw) File "", line 2, in create_engine File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy\util\deprecations.py", line 309, in warned return fn(args, kwargs) File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy\engine\create.py", line 660, in create_engine event.listen(pool, "connect", on_connect) File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy\event\api.py", line 115, in listen _event_key(target, identifier, fn).listen(*args, *kw) File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy\event\registry.py", line 232, in listen self.dispatch_target.dispatch._listen(self, args, kw) File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy\pool\events.py", line 69, in _listen event_key.base_listen(kw) File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy\event\registry.py", line 270, in base_listen for_modify._set_asyncio() File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy\event\attr.py", line 265, in _set_asyncio self._exec_once_mutex = AsyncAdaptedLock() File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy\util\concurrency.py", line 67, in AsyncAdaptedLock _not_implemented() File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\gsuid-core-8erQ6QUO-py3.8\lib\site-packages\sqlalchemy\util\concurrency.py", line 47, in _not_implemented raise ValueError( ValueError: the greenlet library is required to use this function. DLL load failed while importing _greenlet: 找不到指定的模块。