Giter VIP home page Giter VIP logo

hoshino_training's Introduction

zyujs's GitHub stats

hoshino_training's People

Contributors

daseinem avatar zyujs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

hoshino_training's Issues

rank_online功能无法正常加载

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'

TypeError: 'NoneType' object is not iterable,但不影响使用

[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 的框架解决。

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.