zyujs / hoshino_training Goto Github PK
View Code? Open in Web Editor NEWHoshinoBot调教助手
License: GNU Affero General Public License v3.0
HoshinoBot调教助手
License: GNU Affero General Public License v3.0
hoshino报错日志
[hoshino_training] load module rank_online failed
Traceback (most recent call last):
File "C:\Users\Administrator\Desktop\hoshinobot\hoshino\modules\hoshino_training\training.py", line 20, in load_functions
importlib.import_module('hoshino.modules.hoshino_training.functions.' + name)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\importlib_init_.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "", line 783, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:\Users\Administrator\Desktop\hoshinobot\hoshino\modules\hoshino_training\functions\rank_online.py", line 115, in
rex_replace(r'^(*?([日台国陆b])服?([前中后])卫?)?rank(表|推荐|指南)?$', rank_sheet, r'^(*?([日台国陆bxfwy])服?([ 前中后])卫?)?rank(表|推荐|指南)?$')
File "C:\Users\Administrator\Desktop\hoshinobot\hoshino\modules\hoshino_training\util\rex.py", line 10, in rex_replace
rex.allrex[k].func = func
AttributeError: 'list' object has no attribute 'func'
[2020-11-03 19:40:24,232 nonebot] INFO: Scheduler started
[hoshino_training] load module anti-holo failed
Traceback (most recent call last):
File "/root/pcrbot/HoshinoBot/hoshino/modules/hoshino_training/training.py", line 20, in load_functions
importlib.import_module('hoshino.modules.hoshino_training.functions.' + name)
File "/usr/local/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "", line 783, in exec_module
File "", line 219, in _call_with_frames_removed
File "/root/pcrbot/HoshinoBot/hoshino/modules/hoshino_training/functions/anti-holo.py", line 48, in
keyword_replace(SB_HOLO, anti_holo)
File "/root/pcrbot/HoshinoBot/hoshino/modules/hoshino_training/util/keyword.py", line 5, in keyword_replace
for keyword in keyword_list:
TypeError: 'NoneType' object is not iterable
[hoshino_training] load module comic successed
[hoshino_training] load module chara successed
[hoshino_training] load module query successed
[hoshino_training] load module util successed
[2020-11-03 19:40:24,320 anti-concurrency] INFO: Scheduled job add_trigger_words_wrapper_job start.
[2020-11-03 19:40:24,321 anti-concurrency] INFO: Scheduled job add_trigger_words_wrapper_job completed.
是否能通过升级最新的 Hoshino 的框架解决。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.