[Feature] 当下载插件或者依赖出现问题时,请给出明确提示,比如网速过慢等等
Description / 描述
[Core] [INFO] [utils.pip_installer:1015]: Pip 包管理器 argv: ['pip', 'install', '-r', 'C:\\Users\\sheepjin\\.astrbot\\data\\temp\\tmp7e3fuhi5_plugin_requirements.txt', '--trusted-host', 'mirrors.aliyun.com', '-i', 'https://mirrors.aliyun.com/pypi/simple/', '--target', 'C:\\Users\\sheepjin\\.astrbot\\data\\site-packages', '--upgrade', '--upgrade-strategy', 'only-if-needed']
一直卡这无限读条,蛮奇怪的。如下图所示。(日志级别是DEBUG)
Use Case / 使用场景
明确提示可以让用户清楚得知道发生了什么,而不是一直等待。
Willing to Submit PR? / 是否愿意提交PR?
- [ ] Yes, I am willing to submit a PR. / 是的,我愿意提交 PR。
Code of Conduct
- [x] I have read and agree to abide by the project's Code of Conduct. /
没下载完怎么报错又不是被服务器拒绝连接了( 因为502之类的报错会提示的
实际重启一下AstrBot就好了。我建议是超过5分钟测一下网速,网速太慢给个警告,网速没问题给个“未知原因下载可能受阻”的提示。
实际重启一下AstrBot就好了。我建议是超过5分钟测一下网速,网速太慢给个警告,网速没问题给个“未知原因下载可能受阻”的提示。
但是一般来说下载插件是通过下载源码+pip补依赖的啊,这俩的前者我记得好像还是git,这俩本来就会报错吧,这俩报错应该够详细了