Comments (8)
安装方法第四步:将bluearchive文件夹移动到\HoshinoBot\res\img目录下
from blue_archive_hoshinobot.
图片资源放到指定目录后报错变了
[2022-09-28 16:57:43,558 blue_gacha] ERROR: name 'gadget_star' is not defined
Traceback (most recent call last):
File "C:\Users\gao\Desktop\HoshinoBot\hoshino\msghandler.py", line 28, in handle_message
await service_func.func(bot, event)
File "C:\Users\gao\Desktop\HoshinoBot\hoshino\service.py", line 228, in wrapper
return await func(bot, event)
File "C:\Users\gao\Desktop\HoshinoBot\hoshino\modules\Blue_Archive_HoshinoBot\gacha\__init__.py", line 167, in gacha_200
pics.append(chara.gen_team_pic(res[i:j], star_slot_verbose=False))
File "C:\Users\gao\Desktop\HoshinoBot\hoshino\modules\Blue_Archive_HoshinoBot\gacha\chara.py", line 112, in gen_team_pic
src = chara.render_icon(size, star_slot_verbose)
File "C:\Users\gao\Desktop\HoshinoBot\hoshino\modules\Blue_Archive_HoshinoBot\gacha\chara.py", line 167, in render_icon
s = gadget_star if self.star > i else gadget_star_dis
NameError: name 'gadget_star' is not defined
2022-09-28 16:57:43 ERROR name 'gadget_star' is not defined
Traceback (most recent call last):
File "C:\Users\gao\Desktop\HoshinoBot\hoshino\msghandler.py", line 28, in handle_message
await service_func.func(bot, event)
File "C:\Users\gao\Desktop\HoshinoBot\hoshino\service.py", line 228, in wrapper
return await func(bot, event)
File "C:\Users\gao\Desktop\HoshinoBot\hoshino\modules\Blue_Archive_HoshinoBot\gacha\__init__.py", line 167, in gacha_200
pics.append(chara.gen_team_pic(res[i:j], star_slot_verbose=False))
File "C:\Users\gao\Desktop\HoshinoBot\hoshino\modules\Blue_Archive_HoshinoBot\gacha\chara.py", line 112, in gen_team_pic
src = chara.render_icon(size, star_slot_verbose)
File "C:\Users\gao\Desktop\HoshinoBot\hoshino\modules\Blue_Archive_HoshinoBot\gacha\chara.py", line 167, in render_icon
s = gadget_star if self.star > i else gadget_star_dis
NameError: name 'gadget_star' is not defined
from blue_archive_hoshinobot.
整个bluearchive文件夹放进去,你这是缺失bluearchive/gadget里的资源了
from blue_archive_hoshinobot.
from blue_archive_hoshinobot.
不正常,你试试重新使用更新卡池命令。
如果还有问题就检查头像文件夹内的图片是否有显示异常的,如果有就删除重新获取。更简单的方法就是把资源文件夹里头像全部删除重新获取
from blue_archive_hoshinobot.
不正常,你试试重新使用更新卡池命令。 如果还有问题就检查头像文件夹内的图片是否有显示异常的,如果有就删除重新获取。更简单的方法就是把资源文件夹里头像全部删除重新获取
重下之后目前unit里除去无头像的一张图,一共是111个,请问全吗
from blue_archive_hoshinobot.
全
from blue_archive_hoshinobot.
好的,谢谢解疑
from blue_archive_hoshinobot.
Related Issues (16)
- 嘛,大佬,前几天还行的,今天更新完抽卡就不好使了 HOT 2
- 大佬你好,请问下这个漫画功能是不能用的吗 HOT 3
- 使用ba查询指令无法获取部分学生信息 HOT 4
- 日服日历获取不到 HOT 5
- gacha会出现缺失图片的情况,更新卡池会报错 HOT 3
- 有偿请求增加功能 HOT 2
- 关于来一井和日历的问题 HOT 5
- 多个卡池只会显示最前面那个 HOT 2
- 国际服日历获取不到 HOT 2
- 大佬,代码报错 HOT 3
- ba查询功能运行时间太长 HOT 9
- ba角色列表报错,查询正常使用 HOT 1
- 按照readme安装后报错,全部功能无法使用 HOT 7
- 在Pillow版本升级后(安装头像表情包插件后),ba日历报错的解决方法 HOT 1
- ba攻略报错 HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blue_archive_hoshinobot.