Giter VIP home page Giter VIP logo

Comments (9)

Initial-heart-1 avatar Initial-heart-1 commented on September 6, 2024 1

from amiya-bot.

xiaoxixiao avatar xiaoxixiao commented on September 6, 2024

2023-04-13 01:58:34,885 [ Main][ INFO] checking assets update...
Traceback (most recent call last):
File "E:\AmiyaBotConsole\amiya.py", line 16, in
load_resource()
File "E:\AmiyaBotConsole\core_init_.py", line 72, in load_resource
BotResource.download_bot_resource()
File "E:\AmiyaBotConsole\core\resource\botResource.py", line 53, in download_bot_resource
raise Exception(f'assets download failed')
Exception: assets download failed

from amiya-bot.

xiaoxixiao avatar xiaoxixiao commented on September 6, 2024

我重新使用命令行的方式安装,依然没有作用,推荐增加更多下载渠道来解决这个问题,例如就放到github上而不是用gitte,现在我很烦恼

from amiya-bot.

xiaoxixiao avatar xiaoxixiao commented on September 6, 2024

E:\AmiyaBotConsole>python amiya.py

jionlp - 微信公众号: JioNLP Github: https://github.com/dongrixinyu/JioNLP.

jiojio - http://www.jionlp.com/jionlp_online/cws_pos is available for online trial.

2023-04-13 02:12:38,725 [ Main][ INFO] fetching repo: https://gitee.com/amiya-bot/arknights-resource.git...
2023-04-13 02:12:39,597 [ Main][ INFO] fetching repo: https://gitee.com/amiya-bot/arknights-resource-skins.git...
2023-04-13 02:12:39,600 [ Main][ INFO] fetching repo: https://gitee.com/amiya-bot/arknights-resource-skins.git...
fetching [=========================] 12.0 / 12.0 (100%)
fetching [=========================] 12.0 / 12.0 (100%)
fetching [=========================] 11.0 / 11.0 (100%)
fetching [=========================] 11.0 / 11.0 (100%)
fetching [=========================] 12.0 / 12.0 (100%) 409.44 MiB | 9.51 MiB/s
fetching [=========================] 12.0 / 12.0 (100%) 411.52 MiB | 10.09 MiB/s
2023-04-13 02:13:46,552 [ Main][ INFO] checking assets update...
Traceback (most recent call last):
File "amiya.py", line 16, in
load_resource()
File "E:\AmiyaBotConsole\core_init_.py", line 69, in load_resource
BotResource.download_bot_resource()
File "E:\AmiyaBotConsole\core\resource\botResource.py", line 44, in download_bot_resource
raise Exception(f'assets download failed')
Exception: assets download failed

E:\AmiyaBotConsole>pause
请按任意键继续. . .

from amiya-bot.

xiaoxixiao avatar xiaoxixiao commented on September 6, 2024

emmmmmmm我翻了半天源代码,大致估计错误位置在sasets.txt这,我手写了一个文件./resrouces/sastes-lock.txt就解决了????而且里面还是空文档

from amiya-bot.

xiaoxixiao avatar xiaoxixiao commented on September 6, 2024

确定可以通过这种方式解决了没有影响,当出现如上问题时可以在resrouces文件夹下创建一个名为sassets-lock.txt的文件解决

from amiya-bot.

xiaoxixiao avatar xiaoxixiao commented on September 6, 2024

不过依然希望官方能从代码上面解决这个问题

from amiya-bot.

xiaoxixiao avatar xiaoxixiao commented on September 6, 2024

那么请你重新打开一个 issue。关闭的 issue 一般不会被处理。

我已经将这个问题解决了,解决方案也贴在上面,不过只能算是一个临时方案,代码我不知道怎么改因为看代码里面还涉及更新这样弄多半是不行的

from amiya-bot.

vivien8261 avatar vivien8261 commented on September 6, 2024

这个报错是资源下载失败,请你确认你的网络环境能够访问官方的 cos 资源库(比如开了代理)。你手动添加 assets-lock.txt 相当于阻止了资源下载,会导致某些插件无法安装。

from amiya-bot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.