Comments (6)
抄送 @YRFBK
from sagiri-bot.
系统缺少中文字体,需自行安装。
from sagiri-bot.
刚刚在windows上使用docker再次进行了测试。
镜像版本:
zaphakiel/sagiri-bot:latest
zaphakiel/sagiri-mah:latest
测试的结果是一样的,文字同样是方块。
同时,之前并没有注意,不过sagiri-bot在收到帮助
指令时,容器抛出如下错误日志:
modules.required.helper True
modules.required.about not found!
modules.required.backend_api not found!
modules.required.chat_recorder not found!
modules.required.command not found!
modules.required.exception_catcher not found!
modules.required.group_member_backup not found!
modules.required.message_revoke not found!
modules.required.mirai_events not found!
modules.required.saya_manager not found!
modules.required.system_status not found!
modules.self_contained.abbreviated_prediction not found!
modules.self_contained.abstract_message_transform not found!
modules.self_contained.ai_text2img not found!
modules.self_contained.aminer not found!
modules.self_contained.anti_revoke not found!
modules.self_contained.apex_stat not found!
modules.self_contained.av_bt not found!
modules.self_contained.bangumi_info_searcher not found!
modules.self_contained.bangumi_searcher not found!
modules.self_contained.bilibili_bangumi_scheduler not found!
modules.self_contained.bilibili_resolve not found!
modules.self_contained.bt not found!
modules.self_contained.chat_gpt not found!
modules.self_contained.color_card not found!
modules.self_contained.cp_generator not found!
modules.self_contained.daily_newspaper not found!
modules.self_contained.dd_check not found!
modules.self_contained.dice not found!
modules.self_contained.emoji_mix not found!
modules.self_contained.genshin_chara_card not found!
modules.self_contained.genshin_voice not found!
modules.self_contained.github_info not found!
modules.self_contained.google_verification not found!
modules.self_contained.group_team not found!
modules.self_contained.homo_number_converter not found!
modules.self_contained.hot_words_explainer not found!
modules.self_contained.i_have_a_friend not found!
modules.self_contained.ill not found!
modules.self_contained.image_searcher not found!
modules.self_contained.joke not found!
modules.self_contained.keyword_respondent not found!
modules.self_contained.kugimiya_voice not found!
modules.self_contained.leetcode_info not found!
modules.self_contained.lolicon_keyword_searcher not found!
modules.self_contained.marketing_content_generator not found!
modules.self_contained.mockingbird not found!
modules.self_contained.music not found!
modules.self_contained.network_compiler not found!
modules.self_contained.pdf_searcher not found!
modules.self_contained.pero_dog not found!
modules.self_contained.phantom_tank not found!
modules.self_contained.pica not found!
modules.self_contained.qrcode_generator not found!
modules.self_contained.random_character not found!
modules.self_contained.random_food not found!
modules.self_contained.random_wife not found!
modules.self_contained.speak not found!
modules.self_contained.steam_game_info_searcher not found!
modules.self_contained.style_picture_generator not found!
modules.self_contained.super_resolution not found!
modules.self_contained.tarot not found!
modules.self_contained.test_plugin not found!
modules.self_contained.the_wondering_earth_counting_down not found!
modules.self_contained.trending not found!
modules.self_contained.wolfram_alpha not found!
modules.self_contained.wordcloud not found!
modules.self_contained.wordle not found!
modules.self_contained.xslist not found!
在Linux与Windows的docker环境测试后,个人觉得该问题应该与docker镜像构建环境有关。
可能需要在apt install
处理相关依赖前处理容器镜像的语言环境。
Line 1 in f4d16e0
Lines 5 to 13 in f4d16e0
from sagiri-bot.
刚刚在windows上使用docker再次进行了测试。
镜像版本:
zaphakiel/sagiri-bot:latest zaphakiel/sagiri-mah:latest
测试的结果是一样的,文字同样是方块。 同时,之前并没有注意,不过sagiri-bot在收到
帮助
指令时,容器抛出如下错误日志:modules.required.helper True modules.required.about not found! modules.required.backend_api not found! modules.required.chat_recorder not found! modules.required.command not found! modules.required.exception_catcher not found! modules.required.group_member_backup not found! modules.required.message_revoke not found! modules.required.mirai_events not found! modules.required.saya_manager not found! modules.required.system_status not found! modules.self_contained.abbreviated_prediction not found! modules.self_contained.abstract_message_transform not found! modules.self_contained.ai_text2img not found! modules.self_contained.aminer not found! modules.self_contained.anti_revoke not found! modules.self_contained.apex_stat not found! modules.self_contained.av_bt not found! modules.self_contained.bangumi_info_searcher not found! modules.self_contained.bangumi_searcher not found! modules.self_contained.bilibili_bangumi_scheduler not found! modules.self_contained.bilibili_resolve not found! modules.self_contained.bt not found! modules.self_contained.chat_gpt not found! modules.self_contained.color_card not found! modules.self_contained.cp_generator not found! modules.self_contained.daily_newspaper not found! modules.self_contained.dd_check not found! modules.self_contained.dice not found! modules.self_contained.emoji_mix not found! modules.self_contained.genshin_chara_card not found! modules.self_contained.genshin_voice not found! modules.self_contained.github_info not found! modules.self_contained.google_verification not found! modules.self_contained.group_team not found! modules.self_contained.homo_number_converter not found! modules.self_contained.hot_words_explainer not found! modules.self_contained.i_have_a_friend not found! modules.self_contained.ill not found! modules.self_contained.image_searcher not found! modules.self_contained.joke not found! modules.self_contained.keyword_respondent not found! modules.self_contained.kugimiya_voice not found! modules.self_contained.leetcode_info not found! modules.self_contained.lolicon_keyword_searcher not found! modules.self_contained.marketing_content_generator not found! modules.self_contained.mockingbird not found! modules.self_contained.music not found! modules.self_contained.network_compiler not found! modules.self_contained.pdf_searcher not found! modules.self_contained.pero_dog not found! modules.self_contained.phantom_tank not found! modules.self_contained.pica not found! modules.self_contained.qrcode_generator not found! modules.self_contained.random_character not found! modules.self_contained.random_food not found! modules.self_contained.random_wife not found! modules.self_contained.speak not found! modules.self_contained.steam_game_info_searcher not found! modules.self_contained.style_picture_generator not found! modules.self_contained.super_resolution not found! modules.self_contained.tarot not found! modules.self_contained.test_plugin not found! modules.self_contained.the_wondering_earth_counting_down not found! modules.self_contained.trending not found! modules.self_contained.wolfram_alpha not found! modules.self_contained.wordcloud not found! modules.self_contained.wordle not found! modules.self_contained.xslist not found!
在Linux与Windows的docker环境测试后,个人觉得该问题应该与docker镜像构建环境有关。 可能需要在
apt install
处理相关依赖前处理容器镜像的语言环境。Line 1 in f4d16e0
Lines 5 to 13 in f4d16e0
此处非错误日志,只是插件管理检测到插件不在信息文件内显示的提示,随后会将其信息写入文件
docker确实没有考虑到系统字体,之后会更改,也欢迎pr
from sagiri-bot.
所以这个没有中文应该怎么办呢
from sagiri-bot.
所以这个没有中文应该怎么办呢
可能的解决方案:
- 在环境中自行安装中文字体
- 在帮助菜单 html 中定义来自于网络的中文字体
- 同 2,在 playwright 截图时劫持请求提供本地中文字体
补充:
方案 2 & 3 可能出现渲染 timeout (ProjectNu11/Eric#53)
from sagiri-bot.
Related Issues (20)
- [Bug Report] <title> HOT 3
- [Bug Report] <Pica功能报错> HOT 1
- [Bug Report] <title>无法启动机器人 HOT 2
- [Bug Report] 未正确安装 `GitPython` `git` 时的类型注解问题
- 无法连接至mah HOT 6
- 初始化时对账号可用性进行检查 HOT 1
- [Feature Request] Wordle
- [Bug Report] 无法启动机器人Traceback (most recent call last) HOT 2
- [Docs/Feature Request] 在readme中添加配置需求 HOT 2
- [Feature Request] 启动时间统计
- [Bug Report] 插件的channel.description文本错误
- [Feature Request] PDM Support
- 重写Pica插件
- [Bug Report] 更新 wordcloud HOT 1
- 新增插件 HOT 1
- SAGIRI-BOT V5 - Avilla HOT 3
- [Feature Request] 使用 rich 打印启动时间统计
- python main.py启动报错 HOT 6
- [Bug Report] 点歌插件失效
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 sagiri-bot.