Closed Stopkumoi closed 2 years ago
尝试以下方案:
sagiri-bot
sagiri-bot
并删除对应的 data.db
,删除后启动方案1:失败 方案2:失败 QAQ
源码版本
是这个吗 66d6d404acb7263829a11f860e6dbf7e9eb87ec6
看一下数据库里有没有表和数据
哪个数据库 QaQ
data.db
QAQ
SQLite format 3 @ ._ ? M ?? ?9???€y?A??Y=kM ? !!?tablegroup_teamgroup_teamCREATE TABLE group_team ( creator BIGINT, group_id BIGINT NOT NULL, name VARCHAR(200) NOT NULL, teammates TEXT, PRIMARY KEY (group_id, name) )3G! indexsqlite_autoindex_group_team_1group_team? --?tablewordle_statisticwordle_statisticCREATE TABLE wordle_statistic ( group_id BIGINT NOT NULL, member_id BIGINT NOT NULL, game_count BIGINT, win_count BIGINT, lose_count BIGINT, correct_count BIGINT, wrong_count BIGINT, hint_count BIGINT, PRIMARY KEY (group_id, member_id) )?S- indexsqlite_autoindex_wordle_statistic_1wordle_statistic? %%?tablelolicon_datalolicon_dataCREATE TABLE lolicon_data ( pid BIGINT NOT NULL, p INTEGER NOT NULL, uid BIGINT NOT NULL, title VARCHAR(200) NOT NULL, author VARCHAR(200) NOT NULL, r18 BOOLEAN NOT NULL, width INTEGER NOT NULL, height INTEGER NOT NULL, tags VARCHAR(1000) NOT NULL, ext VARCHAR(20) NOT NULL, upload_date DATETIME NOT NULL, original_url VARCHAR(200) NOT NULL, PRIMARY KEY (pid, p) )7K% indexsqlite_autoindex_lolicon_data_1lolicon_data? 99?tablefunction_called_recordfunction_called_recordCREATE TABLE function_called_record ( id INTEGER NOT NULL, time DATETIME NOT NULL, group_id BIGINT NOT NULL, member_id BIGINT NOT NULL, function VARCHAR(40) NOT NULL, result BOOLEAN, PRIMARY KEY (id) )? ++乲tabletrigger_keywordtrigger_keyword CREATE TABLE trigger_keyword ( keyword VARCHAR(60) NOT NULL, function VARCHAR(20), PRIMARY KEY (keyword) )= Q+ indexsqlite_autoindex_trigger_keyword_1trigger_keyword乿 ''?tablekeyword_replykeyword_replyCREATE TABLE keyword_reply ( keyword VARCHAR(200) NOT NULL, "group" BIGINT, reply_type VARCHAR(10) NOT NULL, reply TEXT NOT NULL, reply_md5 VARCHAR(32) NOT NULL, PRIMARY KEY (keyword, reply_md5) )9M' indexsqlite_autoindex_keyword_reply_1keyword_reply? //?tableuser_called_countuser_called_count CREATE TABLE user_called_count ( group_id BIGINT NOT NULL, member_id BIGINT NOT NULL, setu INTEGER, real INTEGER, bizhi INTEGER, at INTEGER, search INTEGER, song_order INTEGER, chat_count INTEGER, functions INTEGER, PRIMARY KEY (group_id, member_id) )A U/ indexsqlite_autoindex_user_called_count_1user_called_count ? ?tablesettingsetting CREATE TABLE setting ( group_id BIGINT NOT NULL, group_name VARCHAR(60) NOT NULL, repeat BOOLEAN, frequency_limit BOOLEAN, setu BOOLEAN, real BOOLEAN, real_high_quality BOOLEAN, bizhi BOOLEAN, r18 BOOLEAN, img_search BOOLEAN, bangumi_search BOOLEAN, compile BOOLEAN, dice BOOLEAN, avatar_func BOOLEAN, anti_revoke BOOLEAN, anti_flash_image BOOLEAN, online_notice BOOLEAN, daily_newspaper BOOLEAN, setting TEXT, debug BOOLEAN, switch BOOLEAN, active BOOLEAN, music VARCHAR(10), r18_process VARCHAR(10), speak_mode VARCHAR(10), long_text_type VARCHAR(5), voice VARCHAR(10), PRIMARY KEY (group_id) )- A indexsqlite_autoindex_setting_1setting? ++?tableuser_permissionuser_permissionCREATE TABLE user_permission ( group_id BIGINT NOT NULL, member_id BIGINT NOT NULL, level INTEGER, PRIMARY KEY (group_id, member_id) )=Q+ indexsqlite_autoindex_user_permission_1user_permission? !!?tableblack_listblack_listCREATE TABLE black_list ( member_id BIGINT NOT NULL, group_id BIGINT NOT NULL, is_global BOOLEAN, PRIMARY KEY (member_id, group_id) )3G! indexsqlite_autoindex_black_list_1black_list ? ##僎tablechat_recordchat_recordCREATE TABLE chat_record ( id INTEGER NOT NULL, time DATETIME NOT NULL, group_id BIGINT NOT NULL, member_id BIGINT NOT NULL, persistent_string VARCHAR(4000) NOT NULL, seg VARCHAR(4000) NOT NULL, PRIMARY KEY (id)
看起来是建表了但是没写进数据
请问该怎么办捏(ΘдΘ;)
方便提供启动至完成的完整日志吗
首先更新到最新版本,删除数据库后重试
@nullqwertyuiop (stop) C:\Users\29388>cd C:\Users\29388\bot\sagiri-bot-3.3.0
(stop) C:\Users\29388\bot\sagiri-bot-3.3.0>python main.py
2022-09-15 10:43:56.560 | INFO | sagiri_bot.core.app_core:init:74 - Initializing
2022-09-15 10:43:56.564 | INFO | sagiri_bot.core.app_core:init:94 - Initialize end
2022-09-15 10:43:56.568 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.abbreviated_prediction
2022-09-15 10:43:56.580 | INFO | graia.saya:require:134 - module loading finished: sagiri_bot.handler.handlers.abbreviated_prediction
2022-09-15 10:43:56.581 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.abstract_message_transform
2022-09-15 10:43:56.597 | INFO | graia.saya:require:134 - module loading finished: sagiri_bot.handler.handlers.abstract_message_transform
2022-09-15 10:43:56.598 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.aminer
2022-09-15 10:43:56.602 | ERROR | main:
File "main.py", line 51, in
saya.require(f"sagiri_bot.handler.handlers.{module.split('.')[0]}") │ └ <function Saya.require at 0x0000027909724430> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init__.py", line 120, in require channel = self.require_resolve(module) │ │ └ 'sagiri_bot.handler.handlers.aminer' │ └ <function Saya.require_resolve at 0x0000027909724310> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init.py", line 76, in require_resolve imported_module = importlib.import_module(module, module) │ │ │ └ 'sagiri_bot.handler.handlers.aminer' │ │ └ 'sagiri_bot.handler.handlers.aminer' │ └ <function import_module at 0x0000027907339C10> └ <module 'importlib' from 'C:\Users\29388\anaconda3\envs\stop\lib\importlib\init__.py'>
File "C:\Users\29388\anaconda3\envs\stop\lib\importlib__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) │ │ │ │ │ └ 0 │ │ │ │ └ 'sagiri_bot.handler.handlers.aminer' │ │ │ └ 0 │ │ └ 'sagiri_bot.handler.handlers.aminer' │ └ <function _gcd_import at 0x0000027906B0E430> └ <module 'importlib._bootstrap' (frozen)>
File "
File "C:\Users\29388\bot\sagiri-bot-3.3.0\sagiri_bot\handler\handlers\aminer__init__.py", line 23, in
File "C:\Users\29388\bot\sagiri-bot-3.3.0\utils\text_engine\adapter.py", line 2, in
ModuleNotFoundError: No module named 'requests'
2022-09-15 10:43:56.624 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.apex_stat
2022-09-15 10:43:56.629 | INFO | graia.saya:require:134 - module loading finished: sagiri_bot.handler.handlers.apex_stat
2022-09-15 10:43:56.630 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.avatar_fun
2022-09-15 10:43:56.631 | ERROR | main:
File "main.py", line 51, in
saya.require(f"sagiri_bot.handler.handlers.{module.split('.')[0]}") │ └ <function Saya.require at 0x0000027909724430> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init__.py", line 120, in require channel = self.require_resolve(module) │ │ └ 'sagiri_bot.handler.handlers.avatar_fun' │ └ <function Saya.require_resolve at 0x0000027909724310> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init.py", line 76, in require_resolve imported_module = importlib.import_module(module, module) │ │ │ └ 'sagiri_bot.handler.handlers.avatar_fun' │ │ └ 'sagiri_bot.handler.handlers.avatar_fun' │ └ <function import_module at 0x0000027907339C10> └ <module 'importlib' from 'C:\Users\29388\anaconda3\envs\stop\lib\importlib\init__.py'>
File "C:\Users\29388\anaconda3\envs\stop\lib\importlib__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) │ │ │ │ │ └ 0 │ │ │ │ └ 'sagiri_bot.handler.handlers.avatar_fun' │ │ │ └ 0 │ │ └ 'sagiri_bot.handler.handlers.avatar_fun' │ └ <function _gcd_import at 0x0000027906B0E430> └ <module 'importlib._bootstrap' (frozen)>
File "
File "C:\Users\29388\bot\sagiri-bot-3.3.0\sagiri_bot\handler\handlers\avatar_fun__init__.py", line 3, in
ModuleNotFoundError: No module named 'numpy'
2022-09-15 10:43:56.649 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.bangumi_info_searcher
2022-09-15 10:43:56.651 | ERROR | main:
File "main.py", line 51, in
saya.require(f"sagiri_bot.handler.handlers.{module.split('.')[0]}") │ └ <function Saya.require at 0x0000027909724430> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init__.py", line 120, in require channel = self.require_resolve(module) │ │ └ 'sagiri_bot.handler.handlers.bangumi_info_searcher' │ └ <function Saya.require_resolve at 0x0000027909724310> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init.py", line 76, in require_resolve imported_module = importlib.import_module(module, module) │ │ │ └ 'sagiri_bot.handler.handlers.bangumi_info_searcher' │ │ └ 'sagiri_bot.handler.handlers.bangumi_info_searcher' │ └ <function import_module at 0x0000027907339C10> └ <module 'importlib' from 'C:\Users\29388\anaconda3\envs\stop\lib\importlib\init__.py'>
File "C:\Users\29388\anaconda3\envs\stop\lib\importlib__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) │ │ │ │ │ └ 0 │ │ │ │ └ 'sagiri_bot.handler.handlers.bangumi_info_searcher' │ │ │ └ 0 │ │ └ 'sagiri_bot.handler.handlers.bangumi_info_searcher' │ └ <function _gcd_import at 0x0000027906B0E430> └ <module 'importlib._bootstrap' (frozen)>
File "
File "C:\Users\29388\bot\sagiri-bot-3.3.0\sagiri_bot\handler\handlers\bangumi_info_searcher__init__.py", line 15, in
File "C:\Users\29388\bot\sagiri-bot-3.3.0\utils\text_engine\adapter.py", line 2, in
ModuleNotFoundError: No module named 'requests'
2022-09-15 10:43:56.665 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.bangumi_searcher
2022-09-15 10:43:56.670 | INFO | graia.saya:require:134 - module loading finished: sagiri_bot.handler.handlers.bangumi_searcher
2022-09-15 10:43:56.671 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.bilibili_bangumi_scheduler
2022-09-15 10:43:56.681 | ERROR | main:
File "main.py", line 51, in
saya.require(f"sagiri_bot.handler.handlers.{module.split('.')[0]}") │ └ <function Saya.require at 0x0000027909724430> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init__.py", line 120, in require channel = self.require_resolve(module) │ │ └ 'sagiri_bot.handler.handlers.bilibili_bangumi_scheduler' │ └ <function Saya.require_resolve at 0x0000027909724310> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init.py", line 76, in require_resolve imported_module = importlib.import_module(module, module) │ │ │ └ 'sagiri_bot.handler.handlers.bilibili_bangumi_scheduler' │ │ └ 'sagiri_bot.handler.handlers.bilibili_bangumi_scheduler' │ └ <function import_module at 0x0000027907339C10> └ <module 'importlib' from 'C:\Users\29388\anaconda3\envs\stop\lib\importlib\init__.py'>
File "C:\Users\29388\anaconda3\envs\stop\lib\importlib__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) │ │ │ │ │ └ 0 │ │ │ │ └ 'sagiri_bot.handler.handlers.bilibili_bangumi_scheduler' │ │ │ └ 0 │ │ └ 'sagiri_bot.handler.handlers.bilibili_bangumi_scheduler' │ └ <function _gcd_import at 0x0000027906B0E430> └ <module 'importlib._bootstrap' (frozen)>
File "
File "C:\Users\29388\bot\sagiri-bot-3.3.0\sagiri_bot\handler\handlers\bilibili_bangumi_scheduler__init__.py", line 15, in
File "C:\Users\29388\bot\sagiri-bot-3.3.0\utils\text_engine\text_engine.py", line 9, in
File "C:\Users\29388\bot\sagiri-bot-3.3.0\utils\text_engine\adapter.py", line 2, in
ModuleNotFoundError: No module named 'requests'
2022-09-15 10:43:56.700 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.black_white_grass
2022-09-15 10:43:56.705 | INFO | graia.saya:require:134 - module loading finished: sagiri_bot.handler.handlers.black_white_grass
2022-09-15 10:43:56.706 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.bt
2022-09-15 10:43:56.707 | ERROR | main:
File "main.py", line 51, in
saya.require(f"sagiri_bot.handler.handlers.{module.split('.')[0]}") │ └ <function Saya.require at 0x0000027909724430> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init__.py", line 120, in require channel = self.require_resolve(module) │ │ └ 'sagiri_bot.handler.handlers.bt' │ └ <function Saya.require_resolve at 0x0000027909724310> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init.py", line 76, in require_resolve imported_module = importlib.import_module(module, module) │ │ │ └ 'sagiri_bot.handler.handlers.bt' │ │ └ 'sagiri_bot.handler.handlers.bt' │ └ <function import_module at 0x0000027907339C10> └ <module 'importlib' from 'C:\Users\29388\anaconda3\envs\stop\lib\importlib\init__.py'>
File "C:\Users\29388\anaconda3\envs\stop\lib\importlib__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) │ │ │ │ │ └ 0 │ │ │ │ └ 'sagiri_bot.handler.handlers.bt' │ │ │ └ 0 │ │ └ 'sagiri_bot.handler.handlers.bt' │ └ <function _gcd_import at 0x0000027906B0E430> └ <module 'importlib._bootstrap' (frozen)>
File "
File "C:\Users\29388\bot\sagiri-bot-3.3.0\sagiri_bot\handler\handlers\bt__init__.py", line 3, in
ModuleNotFoundError: No module named 'bs4'
2022-09-15 10:43:56.722 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.chat_reply
2022-09-15 10:43:56.723 | ERROR | main:
File "main.py", line 51, in
saya.require(f"sagiri_bot.handler.handlers.{module.split('.')[0]}") │ └ <function Saya.require at 0x0000027909724430> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init__.py", line 120, in require channel = self.require_resolve(module) │ │ └ 'sagiri_bot.handler.handlers.chat_reply' │ └ <function Saya.require_resolve at 0x0000027909724310> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init.py", line 76, in require_resolve imported_module = importlib.import_module(module, module) │ │ │ └ 'sagiri_bot.handler.handlers.chat_reply' │ │ └ 'sagiri_bot.handler.handlers.chat_reply' │ └ <function import_module at 0x0000027907339C10> └ <module 'importlib' from 'C:\Users\29388\anaconda3\envs\stop\lib\importlib\init__.py'>
File "C:\Users\29388\anaconda3\envs\stop\lib\importlib__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) │ │ │ │ │ └ 0 │ │ │ │ └ 'sagiri_bot.handler.handlers.chat_reply' │ │ │ └ 0 │ │ └ 'sagiri_bot.handler.handlers.chat_reply' │ └ <function _gcd_import at 0x0000027906B0E430> └ <module 'importlib._bootstrap' (frozen)>
File "
File "C:\Users\29388\bot\sagiri-bot-3.3.0\sagiri_bot\handler\handlers\chat_reply__init__.py", line 21, in
ModuleNotFoundError: No module named 'tencentcloud'
2022-09-15 10:43:56.738 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.color_card
2022-09-15 10:43:56.744 | INFO | graia.saya:require:134 - module loading finished: sagiri_bot.handler.handlers.color_card
2022-09-15 10:43:56.745 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.content_moderation
2022-09-15 10:43:56.746 | INFO | graia.saya:require:134 - module loading finished: sagiri_bot.handler.handlers.content_moderation
2022-09-15 10:43:56.746 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.cp_generator
2022-09-15 10:43:56.753 | INFO | graia.saya:require:134 - module loading finished: sagiri_bot.handler.handlers.cp_generator
2022-09-15 10:43:56.754 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.daily_newspaper
2022-09-15 10:43:56.757 | ERROR | main:
File "main.py", line 51, in
saya.require(f"sagiri_bot.handler.handlers.{module.split('.')[0]}") │ └ <function Saya.require at 0x0000027909724430> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init__.py", line 120, in require channel = self.require_resolve(module) │ │ └ 'sagiri_bot.handler.handlers.daily_newspaper' │ └ <function Saya.require_resolve at 0x0000027909724310> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init.py", line 76, in require_resolve imported_module = importlib.import_module(module, module) │ │ │ └ 'sagiri_bot.handler.handlers.daily_newspaper' │ │ └ 'sagiri_bot.handler.handlers.daily_newspaper' │ └ <function import_module at 0x0000027907339C10> └ <module 'importlib' from 'C:\Users\29388\anaconda3\envs\stop\lib\importlib\init__.py'>
File "C:\Users\29388\anaconda3\envs\stop\lib\importlib__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) │ │ │ │ │ └ 0 │ │ │ │ └ 'sagiri_bot.handler.handlers.daily_newspaper' │ │ │ └ 0 │ │ └ 'sagiri_bot.handler.handlers.daily_newspaper' │ └ <function _gcd_import at 0x0000027906B0E430> └ <module 'importlib._bootstrap' (frozen)>
File "
File "C:\Users\29388\bot\sagiri-bot-3.3.0\sagiri_bot\handler\handlers\daily_newspaper__init__.py", line 10, in
ModuleNotFoundError: No module named 'graia.scheduler'
2022-09-15 10:43:56.770 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.dd_check
2022-09-15 10:43:56.772 | ERROR | main:
File "main.py", line 51, in
saya.require(f"sagiri_bot.handler.handlers.{module.split('.')[0]}") │ └ <function Saya.require at 0x0000027909724430> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init__.py", line 120, in require channel = self.require_resolve(module) │ │ └ 'sagiri_bot.handler.handlers.dd_check' │ └ <function Saya.require_resolve at 0x0000027909724310> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init.py", line 76, in require_resolve imported_module = importlib.import_module(module, module) │ │ │ └ 'sagiri_bot.handler.handlers.dd_check' │ │ └ 'sagiri_bot.handler.handlers.dd_check' │ └ <function import_module at 0x0000027907339C10> └ <module 'importlib' from 'C:\Users\29388\anaconda3\envs\stop\lib\importlib\init__.py'>
File "C:\Users\29388\anaconda3\envs\stop\lib\importlib__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) │ │ │ │ │ └ 0 │ │ │ │ └ 'sagiri_bot.handler.handlers.dd_check' │ │ │ └ 0 │ │ └ 'sagiri_bot.handler.handlers.dd_check' │ └ <function _gcd_import at 0x0000027906B0E430> └ <module 'importlib._bootstrap' (frozen)>
File "
File "C:\Users\29388\bot\sagiri-bot-3.3.0\sagiri_bot\handler\handlers\dd_check__init__.py", line 1, in
ModuleNotFoundError: No module named 'graia.scheduler'
2022-09-15 10:43:56.786 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.dice
2022-09-15 10:43:56.787 | INFO | graia.saya:require:134 - module loading finished: sagiri_bot.handler.handlers.dice
2022-09-15 10:43:56.788 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.emoji_mix
2022-09-15 10:43:56.859 | INFO | graia.saya:require:134 - module loading finished: sagiri_bot.handler.handlers.emoji_mix
2022-09-15 10:43:56.860 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.encoder_decoder
2022-09-15 10:43:56.861 | ERROR | main:
File "main.py", line 51, in
saya.require(f"sagiri_bot.handler.handlers.{module.split('.')[0]}") │ └ <function Saya.require at 0x0000027909724430> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init__.py", line 120, in require channel = self.require_resolve(module) │ │ └ 'sagiri_bot.handler.handlers.encoder_decoder' │ └ <function Saya.require_resolve at 0x0000027909724310> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init.py", line 76, in require_resolve imported_module = importlib.import_module(module, module) │ │ │ └ 'sagiri_bot.handler.handlers.encoder_decoder' │ │ └ 'sagiri_bot.handler.handlers.encoder_decoder' │ └ <function import_module at 0x0000027907339C10> └ <module 'importlib' from 'C:\Users\29388\anaconda3\envs\stop\lib\importlib\init__.py'>
File "C:\Users\29388\anaconda3\envs\stop\lib\importlib__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) │ │ │ │ │ └ 0 │ │ │ │ └ 'sagiri_bot.handler.handlers.encoder_decoder' │ │ │ └ 0 │ │ └ 'sagiri_bot.handler.handlers.encoder_decoder' │ └ <function _gcd_import at 0x0000027906B0E430> └ <module 'importlib._bootstrap' (frozen)>
File "
File "C:\Users\29388\bot\sagiri-bot-3.3.0\sagiri_bot\handler\handlers\encoder_decoder__init__.py", line 3, in
ModuleNotFoundError: No module named 'chardet'
2022-09-15 10:43:56.882 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.fake_forward
2022-09-15 10:43:56.887 | INFO | graia.saya:require:134 - module loading finished: sagiri_bot.handler.handlers.fake_forward
2022-09-15 10:43:56.888 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.flash_image_catcher
2022-09-15 10:43:56.889 | INFO | graia.saya:require:134 - module loading finished: sagiri_bot.handler.handlers.flash_image_catcher
2022-09-15 10:43:56.889 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.genshin_chara_card
2022-09-15 10:43:56.891 | ERROR | main:
File "main.py", line 51, in
saya.require(f"sagiri_bot.handler.handlers.{module.split('.')[0]}") │ └ <function Saya.require at 0x0000027909724430> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init__.py", line 120, in require channel = self.require_resolve(module) │ │ └ 'sagiri_bot.handler.handlers.genshin_chara_card' │ └ <function Saya.require_resolve at 0x0000027909724310> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init.py", line 76, in require_resolve imported_module = importlib.import_module(module, module) │ │ │ └ 'sagiri_bot.handler.handlers.genshin_chara_card' │ │ └ 'sagiri_bot.handler.handlers.genshin_chara_card' │ └ <function import_module at 0x0000027907339C10> └ <module 'importlib' from 'C:\Users\29388\anaconda3\envs\stop\lib\importlib\init__.py'>
File "C:\Users\29388\anaconda3\envs\stop\lib\importlib__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) │ │ │ │ │ └ 0 │ │ │ │ └ 'sagiri_bot.handler.handlers.genshin_chara_card' │ │ │ └ 0 │ │ └ 'sagiri_bot.handler.handlers.genshin_chara_card' │ └ <function _gcd_import at 0x0000027906B0E430> └ <module 'importlib._bootstrap' (frozen)>
File "
File "C:\Users\29388\bot\sagiri-bot-3.3.0\sagiri_bot\handler\handlers\genshin_chara_card__init__.py", line 3, in
ModuleNotFoundError: No module named 'pypinyin'
2022-09-15 10:43:56.906 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.genshin_material_remind
2022-09-15 10:43:56.908 | ERROR | main:
File "main.py", line 51, in
saya.require(f"sagiri_bot.handler.handlers.{module.split('.')[0]}") │ └ <function Saya.require at 0x0000027909724430> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init__.py", line 120, in require channel = self.require_resolve(module) │ │ └ 'sagiri_bot.handler.handlers.genshin_material_remind' │ └ <function Saya.require_resolve at 0x0000027909724310> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init.py", line 76, in require_resolve imported_module = importlib.import_module(module, module) │ │ │ └ 'sagiri_bot.handler.handlers.genshin_material_remind' │ │ └ 'sagiri_bot.handler.handlers.genshin_material_remind' │ └ <function import_module at 0x0000027907339C10> └ <module 'importlib' from 'C:\Users\29388\anaconda3\envs\stop\lib\importlib\init__.py'>
File "C:\Users\29388\anaconda3\envs\stop\lib\importlib__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) │ │ │ │ │ └ 0 │ │ │ │ └ 'sagiri_bot.handler.handlers.genshin_material_remind' │ │ │ └ 0 │ │ └ 'sagiri_bot.handler.handlers.genshin_material_remind' │ └ <function _gcd_import at 0x0000027906B0E430> └ <module 'importlib._bootstrap' (frozen)>
File "
File "C:\Users\29388\bot\sagiri-bot-3.3.0\sagiri_bot\handler\handlers\genshin_material_remind__init__.py", line 17, in
File "C:\Users\29388\bot\sagiri-bot-3.3.0\utils\browser__init__.py", line 4, in
ModuleNotFoundError: No module named 'playwright'
2022-09-15 10:43:56.927 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.genshin_resource_points
2022-09-15 10:43:56.929 | ERROR | main:
File "main.py", line 51, in
saya.require(f"sagiri_bot.handler.handlers.{module.split('.')[0]}") │ └ <function Saya.require at 0x0000027909724430> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init__.py", line 120, in require channel = self.require_resolve(module) │ │ └ 'sagiri_bot.handler.handlers.genshin_resource_points' │ └ <function Saya.require_resolve at 0x0000027909724310> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init.py", line 76, in require_resolve imported_module = importlib.import_module(module, module) │ │ │ └ 'sagiri_bot.handler.handlers.genshin_resource_points' │ │ └ 'sagiri_bot.handler.handlers.genshin_resource_points' │ └ <function import_module at 0x0000027907339C10> └ <module 'importlib' from 'C:\Users\29388\anaconda3\envs\stop\lib\importlib\init__.py'>
File "C:\Users\29388\anaconda3\envs\stop\lib\importlib__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) │ │ │ │ │ └ 0 │ │ │ │ └ 'sagiri_bot.handler.handlers.genshin_resource_points' │ │ │ └ 0 │ │ └ 'sagiri_bot.handler.handlers.genshin_resource_points' │ └ <function _gcd_import at 0x0000027906B0E430> └ <module 'importlib._bootstrap' (frozen)>
File "
File "C:\Users\29388\bot\sagiri-bot-3.3.0\sagiri_bot\handler\handlers\genshin_resource_points__init__.py", line 12, in
File "C:\Users\29388\bot\sagiri-bot-3.3.0\utils\text_engine\adapter.py", line 2, in
ModuleNotFoundError: No module named 'requests'
2022-09-15 10:43:56.945 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.github_info
2022-09-15 10:43:56.947 | ERROR | main:
File "main.py", line 51, in
saya.require(f"sagiri_bot.handler.handlers.{module.split('.')[0]}") │ └ <function Saya.require at 0x0000027909724430> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init__.py", line 120, in require channel = self.require_resolve(module) │ │ └ 'sagiri_bot.handler.handlers.github_info' │ └ <function Saya.require_resolve at 0x0000027909724310> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init.py", line 76, in require_resolve imported_module = importlib.import_module(module, module) │ │ │ └ 'sagiri_bot.handler.handlers.github_info' │ │ └ 'sagiri_bot.handler.handlers.github_info' │ └ <function import_module at 0x0000027907339C10> └ <module 'importlib' from 'C:\Users\29388\anaconda3\envs\stop\lib\importlib\init__.py'>
File "C:\Users\29388\anaconda3\envs\stop\lib\importlib__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) │ │ │ │ │ └ 0 │ │ │ │ └ 'sagiri_bot.handler.handlers.github_info' │ │ │ └ 0 │ │ └ 'sagiri_bot.handler.handlers.github_info' │ └ <function _gcd_import at 0x0000027906B0E430> └ <module 'importlib._bootstrap' (frozen)>
File "
File "C:\Users\29388\bot\sagiri-bot-3.3.0\sagiri_bot\handler\handlers\github_info__init__.py", line 19, in
File "C:\Users\29388\bot\sagiri-bot-3.3.0\utils\text_engine\adapter.py", line 2, in
ModuleNotFoundError: No module named 'requests'
2022-09-15 10:43:56.962 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.group_team
2022-09-15 10:43:56.970 | INFO | graia.saya:require:134 - module loading finished: sagiri_bot.handler.handlers.group_team
2022-09-15 10:43:56.971 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.group_wordcloud_generator
2022-09-15 10:43:56.973 | ERROR | main:
File "main.py", line 51, in
saya.require(f"sagiri_bot.handler.handlers.{module.split('.')[0]}") │ └ <function Saya.require at 0x0000027909724430> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init__.py", line 120, in require channel = self.require_resolve(module) │ │ └ 'sagiri_bot.handler.handlers.group_wordcloud_generator' │ └ <function Saya.require_resolve at 0x0000027909724310> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init.py", line 76, in require_resolve imported_module = importlib.import_module(module, module) │ │ │ └ 'sagiri_bot.handler.handlers.group_wordcloud_generator' │ │ └ 'sagiri_bot.handler.handlers.group_wordcloud_generator' │ └ <function import_module at 0x0000027907339C10> └ <module 'importlib' from 'C:\Users\29388\anaconda3\envs\stop\lib\importlib\init__.py'>
File "C:\Users\29388\anaconda3\envs\stop\lib\importlib__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) │ │ │ │ │ └ 0 │ │ │ │ └ 'sagiri_bot.handler.handlers.group_wordcloud_generator' │ │ │ └ 0 │ │ └ 'sagiri_bot.handler.handlers.group_wordcloud_generator' │ └ <function _gcd_import at 0x0000027906B0E430> └ <module 'importlib._bootstrap' (frozen)>
File "
File "C:\Users\29388\bot\sagiri-bot-3.3.0\sagiri_bot\handler\handlers\group_wordcloud_generator__init__.py", line 5, in
ModuleNotFoundError: No module named 'numpy'
2022-09-15 10:43:56.986 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.hot_words_explainer
2022-09-15 10:43:56.988 | INFO | graia.saya:require:134 - module loading finished: sagiri_bot.handler.handlers.hot_words_explainer
2022-09-15 10:43:56.989 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.image_adder
2022-09-15 10:43:56.990 | INFO | graia.saya:require:134 - module loading finished: sagiri_bot.handler.handlers.image_adder
2022-09-15 10:43:56.991 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.image_searcher
2022-09-15 10:43:56.993 | ERROR | main:
File "main.py", line 51, in
saya.require(f"sagiri_bot.handler.handlers.{module.split('.')[0]}") │ └ <function Saya.require at 0x0000027909724430> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init__.py", line 120, in require channel = self.require_resolve(module) │ │ └ 'sagiri_bot.handler.handlers.image_searcher' │ └ <function Saya.require_resolve at 0x0000027909724310> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init.py", line 76, in require_resolve imported_module = importlib.import_module(module, module) │ │ │ └ 'sagiri_bot.handler.handlers.image_searcher' │ │ └ 'sagiri_bot.handler.handlers.image_searcher' │ └ <function import_module at 0x0000027907339C10> └ <module 'importlib' from 'C:\Users\29388\anaconda3\envs\stop\lib\importlib\init__.py'>
File "C:\Users\29388\anaconda3\envs\stop\lib\importlib__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) │ │ │ │ │ └ 0 │ │ │ │ └ 'sagiri_bot.handler.handlers.image_searcher' │ │ │ └ 0 │ │ └ 'sagiri_bot.handler.handlers.image_searcher' │ └ <function _gcd_import at 0x0000027906B0E430> └ <module 'importlib._bootstrap' (frozen)>
File "
File "C:\Users\29388\bot\sagiri-bot-3.3.0\sagiri_bot\handler\handlers\image_searcher__init__.py", line 20, in
File "C:\Users\29388\bot\sagiri-bot-3.3.0\sagiri_bot\handler\handlers\image_searcher\baidu.py", line 2, in
ModuleNotFoundError: No module named 'PicImageSearch'
2022-09-15 10:43:57.016 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.image_sender
2022-09-15 10:43:57.018 | INFO | graia.saya:require:134 - module loading finished: sagiri_bot.handler.handlers.image_sender
2022-09-15 10:43:57.019 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.i_have_a_friend
2022-09-15 10:43:57.023 | INFO | graia.saya:require:134 - module loading finished: sagiri_bot.handler.handlers.i_have_a_friend
2022-09-15 10:43:57.024 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.joke
2022-09-15 10:43:57.026 | INFO | graia.saya:require:134 - module loading finished: sagiri_bot.handler.handlers.joke
2022-09-15 10:43:57.027 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.keyword_respondent
2022-09-15 10:43:57.030 | INFO | graia.saya:require:134 - module loading finished: sagiri_bot.handler.handlers.keyword_respondent
2022-09-15 10:43:57.030 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.kugimiya_voice
2022-09-15 10:43:57.033 | ERROR | main:
File "main.py", line 51, in
saya.require(f"sagiri_bot.handler.handlers.{module.split('.')[0]}") │ └ <function Saya.require at 0x0000027909724430> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init__.py", line 120, in require channel = self.require_resolve(module) │ │ └ 'sagiri_bot.handler.handlers.kugimiya_voice' │ └ <function Saya.require_resolve at 0x0000027909724310> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init.py", line 76, in require_resolve imported_module = importlib.import_module(module, module) │ │ │ └ 'sagiri_bot.handler.handlers.kugimiya_voice' │ │ └ 'sagiri_bot.handler.handlers.kugimiya_voice' │ └ <function import_module at 0x0000027907339C10> └ <module 'importlib' from 'C:\Users\29388\anaconda3\envs\stop\lib\importlib\init__.py'>
File "C:\Users\29388\anaconda3\envs\stop\lib\importlib__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) │ │ │ │ │ └ 0 │ │ │ │ └ 'sagiri_bot.handler.handlers.kugimiya_voice' │ │ │ └ 0 │ │ └ 'sagiri_bot.handler.handlers.kugimiya_voice' │ └ <function _gcd_import at 0x0000027906B0E430> └ <module 'importlib._bootstrap' (frozen)>
File "
File "C:\Users\29388\bot\sagiri-bot-3.3.0\sagiri_bot\handler\handlers\kugimiya_voice__init__.py", line 3, in
ModuleNotFoundError: No module named 'graiax'
2022-09-15 10:43:57.047 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.leetcode_info
2022-09-15 10:43:57.050 | ERROR | main:
File "main.py", line 51, in
saya.require(f"sagiri_bot.handler.handlers.{module.split('.')[0]}") │ └ <function Saya.require at 0x0000027909724430> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init__.py", line 120, in require channel = self.require_resolve(module) │ │ └ 'sagiri_bot.handler.handlers.leetcode_info' │ └ <function Saya.require_resolve at 0x0000027909724310> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init.py", line 76, in require_resolve imported_module = importlib.import_module(module, module) │ │ │ └ 'sagiri_bot.handler.handlers.leetcode_info' │ │ └ 'sagiri_bot.handler.handlers.leetcode_info' │ └ <function import_module at 0x0000027907339C10> └ <module 'importlib' from 'C:\Users\29388\anaconda3\envs\stop\lib\importlib\init__.py'>
File "C:\Users\29388\anaconda3\envs\stop\lib\importlib__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) │ │ │ │ │ └ 0 │ │ │ │ └ 'sagiri_bot.handler.handlers.leetcode_info' │ │ │ └ 0 │ │ └ 'sagiri_bot.handler.handlers.leetcode_info' │ └ <function _gcd_import at 0x0000027906B0E430> └ <module 'importlib._bootstrap' (frozen)>
File "
File "C:\Users\29388\bot\sagiri-bot-3.3.0\sagiri_bot\handler\handlers\leetcode_info__init__.py", line 16, in
File "C:\Users\29388\bot\sagiri-bot-3.3.0\utils\text_engine\adapter.py", line 2, in
ModuleNotFoundError: No module named 'requests'
2022-09-15 10:43:57.066 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.lolicon_keyword_searcher
2022-09-15 10:43:57.068 | INFO | graia.saya:require:134 - module loading finished: sagiri_bot.handler.handlers.lolicon_keyword_searcher
2022-09-15 10:43:57.069 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.marketing_content_generator
2022-09-15 10:43:57.074 | INFO | graia.saya:require:134 - module loading finished: sagiri_bot.handler.handlers.marketing_content_generator
2022-09-15 10:43:57.075 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.memes
2022-09-15 10:43:57.076 | ERROR | main:
File "main.py", line 51, in
saya.require(f"sagiri_bot.handler.handlers.{module.split('.')[0]}") │ └ <function Saya.require at 0x0000027909724430> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init__.py", line 120, in require channel = self.require_resolve(module) │ │ └ 'sagiri_bot.handler.handlers.memes' │ └ <function Saya.require_resolve at 0x0000027909724310> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init.py", line 76, in require_resolve imported_module = importlib.import_module(module, module) │ │ │ └ 'sagiri_bot.handler.handlers.memes' │ │ └ 'sagiri_bot.handler.handlers.memes' │ └ <function import_module at 0x0000027907339C10> └ <module 'importlib' from 'C:\Users\29388\anaconda3\envs\stop\lib\importlib\init__.py'>
File "C:\Users\29388\anaconda3\envs\stop\lib\importlib__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) │ │ │ │ │ └ 0 │ │ │ │ └ 'sagiri_bot.handler.handlers.memes' │ │ │ └ 0 │ │ └ 'sagiri_bot.handler.handlers.memes' │ └ <function _gcd_import at 0x0000027906B0E430> └ <module 'importlib._bootstrap' (frozen)>
File "
File "C:\Users\29388\bot\sagiri-bot-3.3.0\sagiri_bot\handler\handlers\memes__init__.py", line 3, in
ModuleNotFoundError: No module named 'imageio'
2022-09-15 10:43:57.090 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.message_merger
2022-09-15 10:43:57.092 | ERROR | main:
File "main.py", line 51, in
saya.require(f"sagiri_bot.handler.handlers.{module.split('.')[0]}") │ └ <function Saya.require at 0x0000027909724430> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init__.py", line 120, in require channel = self.require_resolve(module) │ │ └ 'sagiri_bot.handler.handlers.message_merger' │ └ <function Saya.require_resolve at 0x0000027909724310> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init.py", line 76, in require_resolve imported_module = importlib.import_module(module, module) │ │ │ └ 'sagiri_bot.handler.handlers.message_merger' │ │ └ 'sagiri_bot.handler.handlers.message_merger' │ └ <function import_module at 0x0000027907339C10> └ <module 'importlib' from 'C:\Users\29388\anaconda3\envs\stop\lib\importlib\init__.py'>
File "C:\Users\29388\anaconda3\envs\stop\lib\importlib__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) │ │ │ │ │ └ 0 │ │ │ │ └ 'sagiri_bot.handler.handlers.message_merger' │ │ │ └ 0 │ │ └ 'sagiri_bot.handler.handlers.message_merger' │ └ <function _gcd_import at 0x0000027906B0E430> └ <module 'importlib._bootstrap' (frozen)>
File "
File "C:\Users\29388\bot\sagiri-bot-3.3.0\sagiri_bot\handler\handlers\message_merger__init__.py", line 12, in
File "C:\Users\29388\bot\sagiri-bot-3.3.0\utils\text_engine\adapter.py", line 2, in
ModuleNotFoundError: No module named 'requests'
2022-09-15 10:43:57.107 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.mockingbird
2022-09-15 10:43:57.109 | ERROR | main:
File "main.py", line 51, in
saya.require(f"sagiri_bot.handler.handlers.{module.split('.')[0]}") │ └ <function Saya.require at 0x0000027909724430> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init__.py", line 120, in require channel = self.require_resolve(module) │ │ └ 'sagiri_bot.handler.handlers.mockingbird' │ └ <function Saya.require_resolve at 0x0000027909724310> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init.py", line 76, in require_resolve imported_module = importlib.import_module(module, module) │ │ │ └ 'sagiri_bot.handler.handlers.mockingbird' │ │ └ 'sagiri_bot.handler.handlers.mockingbird' │ └ <function import_module at 0x0000027907339C10> └ <module 'importlib' from 'C:\Users\29388\anaconda3\envs\stop\lib\importlib\init__.py'>
File "C:\Users\29388\anaconda3\envs\stop\lib\importlib__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) │ │ │ │ │ └ 0 │ │ │ │ └ 'sagiri_bot.handler.handlers.mockingbird' │ │ │ └ 0 │ │ └ 'sagiri_bot.handler.handlers.mockingbird' │ └ <function _gcd_import at 0x0000027906B0E430> └ <module 'importlib._bootstrap' (frozen)>
File "
File "C:\Users\29388\bot\sagiri-bot-3.3.0\sagiri_bot\handler\handlers\mockingbird__init__.py", line 8, in
ModuleNotFoundError: No module named 'graiax'
2022-09-15 10:43:57.124 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.network_compiler
2022-09-15 10:43:57.130 | INFO | graia.saya:require:134 - module loading finished: sagiri_bot.handler.handlers.network_compiler
2022-09-15 10:43:57.131 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.nudge
2022-09-15 10:43:57.138 | INFO | graia.saya:require:134 - module loading finished: sagiri_bot.handler.handlers.nudge
2022-09-15 10:43:57.138 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.pdf_searcher
2022-09-15 10:43:57.140 | ERROR | main:
File "main.py", line 51, in
saya.require(f"sagiri_bot.handler.handlers.{module.split('.')[0]}") │ └ <function Saya.require at 0x0000027909724430> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init__.py", line 120, in require channel = self.require_resolve(module) │ │ └ 'sagiri_bot.handler.handlers.pdf_searcher' │ └ <function Saya.require_resolve at 0x0000027909724310> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init.py", line 76, in require_resolve imported_module = importlib.import_module(module, module) │ │ │ └ 'sagiri_bot.handler.handlers.pdf_searcher' │ │ └ 'sagiri_bot.handler.handlers.pdf_searcher' │ └ <function import_module at 0x0000027907339C10> └ <module 'importlib' from 'C:\Users\29388\anaconda3\envs\stop\lib\importlib\init__.py'>
File "C:\Users\29388\anaconda3\envs\stop\lib\importlib__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) │ │ │ │ │ └ 0 │ │ │ │ └ 'sagiri_bot.handler.handlers.pdf_searcher' │ │ │ └ 0 │ │ └ 'sagiri_bot.handler.handlers.pdf_searcher' │ └ <function _gcd_import at 0x0000027906B0E430> └ <module 'importlib._bootstrap' (frozen)>
File "
File "C:\Users\29388\bot\sagiri-bot-3.3.0\sagiri_bot\handler\handlers\pdf_searcher__init__.py", line 3, in
ModuleNotFoundError: No module named 'bs4'
2022-09-15 10:43:57.155 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.pero_dog
2022-09-15 10:43:57.163 | INFO | graia.saya:require:134 - module loading finished: sagiri_bot.handler.handlers.pero_dog
2022-09-15 10:43:57.164 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.phantom_tank
2022-09-15 10:43:57.166 | ERROR | main:
File "main.py", line 51, in
saya.require(f"sagiri_bot.handler.handlers.{module.split('.')[0]}") │ └ <function Saya.require at 0x0000027909724430> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init__.py", line 120, in require channel = self.require_resolve(module) │ │ └ 'sagiri_bot.handler.handlers.phantom_tank' │ └ <function Saya.require_resolve at 0x0000027909724310> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init.py", line 76, in require_resolve imported_module = importlib.import_module(module, module) │ │ │ └ 'sagiri_bot.handler.handlers.phantom_tank' │ │ └ 'sagiri_bot.handler.handlers.phantom_tank' │ └ <function import_module at 0x0000027907339C10> └ <module 'importlib' from 'C:\Users\29388\anaconda3\envs\stop\lib\importlib\init__.py'>
File "C:\Users\29388\anaconda3\envs\stop\lib\importlib__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) │ │ │ │ │ └ 0 │ │ │ │ └ 'sagiri_bot.handler.handlers.phantom_tank' │ │ │ └ 0 │ │ └ 'sagiri_bot.handler.handlers.phantom_tank' │ └ <function _gcd_import at 0x0000027906B0E430> └ <module 'importlib._bootstrap' (frozen)>
File "
File "C:\Users\29388\bot\sagiri-bot-3.3.0\sagiri_bot\handler\handlers\phantom_tank__init__.py", line 3, in
ModuleNotFoundError: No module named 'numpy'
2022-09-15 10:43:57.181 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.pica
2022-09-15 10:43:57.184 | ERROR | main:
File "main.py", line 51, in
saya.require(f"sagiri_bot.handler.handlers.{module.split('.')[0]}") │ └ <function Saya.require at 0x0000027909724430> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init__.py", line 120, in require channel = self.require_resolve(module) │ │ └ 'sagiri_bot.handler.handlers.pica' │ └ <function Saya.require_resolve at 0x0000027909724310> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init.py", line 76, in require_resolve imported_module = importlib.import_module(module, module) │ │ │ └ 'sagiri_bot.handler.handlers.pica' │ │ └ 'sagiri_bot.handler.handlers.pica' │ └ <function import_module at 0x0000027907339C10> └ <module 'importlib' from 'C:\Users\29388\anaconda3\envs\stop\lib\importlib\init__.py'>
File "C:\Users\29388\anaconda3\envs\stop\lib\importlib__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) │ │ │ │ │ └ 0 │ │ │ │ └ 'sagiri_bot.handler.handlers.pica' │ │ │ └ 0 │ │ └ 'sagiri_bot.handler.handlers.pica' │ └ <function _gcd_import at 0x0000027906B0E430> └ <module 'importlib._bootstrap' (frozen)>
File "
File "C:\Users\29388\bot\sagiri-bot-3.3.0\sagiri_bot\handler\handlers\pica__init__.py", line 19, in
File "C:\Users\29388\bot\sagiri-bot-3.3.0\sagiri_bot\handler\handlers\pica\Pica.py", line 10, in
ModuleNotFoundError: No module named 'pyzipper'
2022-09-15 10:43:57.204 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.poisonous_chicken_soup
2022-09-15 10:43:57.209 | INFO | graia.saya:require:134 - module loading finished: sagiri_bot.handler.handlers.poisonous_chicken_soup
2022-09-15 10:43:57.210 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.qrcode_generator
2022-09-15 10:43:57.211 | ERROR | main:
File "main.py", line 51, in
saya.require(f"sagiri_bot.handler.handlers.{module.split('.')[0]}") │ └ <function Saya.require at 0x0000027909724430> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init__.py", line 120, in require channel = self.require_resolve(module) │ │ └ 'sagiri_bot.handler.handlers.qrcode_generator' │ └ <function Saya.require_resolve at 0x0000027909724310> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init.py", line 76, in require_resolve imported_module = importlib.import_module(module, module) │ │ │ └ 'sagiri_bot.handler.handlers.qrcode_generator' │ │ └ 'sagiri_bot.handler.handlers.qrcode_generator' │ └ <function import_module at 0x0000027907339C10> └ <module 'importlib' from 'C:\Users\29388\anaconda3\envs\stop\lib\importlib\init__.py'>
File "C:\Users\29388\anaconda3\envs\stop\lib\importlib__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) │ │ │ │ │ └ 0 │ │ │ │ └ 'sagiri_bot.handler.handlers.qrcode_generator' │ │ │ └ 0 │ │ └ 'sagiri_bot.handler.handlers.qrcode_generator' │ └ <function _gcd_import at 0x0000027906B0E430> └ <module 'importlib._bootstrap' (frozen)>
File "
File "C:\Users\29388\bot\sagiri-bot-3.3.0\sagiri_bot\handler\handlers\qrcode_generator__init__.py", line 2, in
ModuleNotFoundError: No module named 'qrcode'
2022-09-15 10:43:57.224 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.random_character
2022-09-15 10:43:57.230 | INFO | graia.saya:require:134 - module loading finished: sagiri_bot.handler.handlers.random_character
2022-09-15 10:43:57.230 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.random_food
2022-09-15 10:43:57.235 | INFO | graia.saya:require:134 - module loading finished: sagiri_bot.handler.handlers.random_food
2022-09-15 10:43:57.236 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.random_wife
2022-09-15 10:43:57.240 | INFO | graia.saya:require:134 - module loading finished: sagiri_bot.handler.handlers.random_wife
2022-09-15 10:43:57.241 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.repeater
2022-09-15 10:43:57.242 | INFO | graia.saya:require:134 - module loading finished: sagiri_bot.handler.handlers.repeater
2022-09-15 10:43:57.242 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.speak
2022-09-15 10:43:57.244 | ERROR | main:
File "main.py", line 51, in
saya.require(f"sagiri_bot.handler.handlers.{module.split('.')[0]}") │ └ <function Saya.require at 0x0000027909724430> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init__.py", line 120, in require channel = self.require_resolve(module) │ │ └ 'sagiri_bot.handler.handlers.speak' │ └ <function Saya.require_resolve at 0x0000027909724310> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init.py", line 76, in require_resolve imported_module = importlib.import_module(module, module) │ │ │ └ 'sagiri_bot.handler.handlers.speak' │ │ └ 'sagiri_bot.handler.handlers.speak' │ └ <function import_module at 0x0000027907339C10> └ <module 'importlib' from 'C:\Users\29388\anaconda3\envs\stop\lib\importlib\init__.py'>
File "C:\Users\29388\anaconda3\envs\stop\lib\importlib__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) │ │ │ │ │ └ 0 │ │ │ │ └ 'sagiri_bot.handler.handlers.speak' │ │ │ └ 0 │ │ └ 'sagiri_bot.handler.handlers.speak' │ └ <function _gcd_import at 0x0000027906B0E430> └ <module 'importlib._bootstrap' (frozen)>
File "
File "C:\Users\29388\bot\sagiri-bot-3.3.0\sagiri_bot\handler\handlers\speak__init__.py", line 12, in
ModuleNotFoundError: No module named 'graiax'
2022-09-15 10:43:57.259 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.steam_game_info_searcher
2022-09-15 10:43:57.264 | INFO | graia.saya:require:134 - module loading finished: sagiri_bot.handler.handlers.steam_game_info_searcher
2022-09-15 10:43:57.265 | DEBUG | graia.saya:require:111 - require sagiri_bot.handler.handlers.style_picture_generator
2022-09-15 10:43:57.266 | ERROR | main:
File "main.py", line 51, in
saya.require(f"sagiri_bot.handler.handlers.{module.split('.')[0]}") │ └ <function Saya.require at 0x0000027909724430> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init__.py", line 120, in require channel = self.require_resolve(module) │ │ └ 'sagiri_bot.handler.handlers.style_picture_generator' │ └ <function Saya.require_resolve at 0x0000027909724310> └ <graia.saya.Saya object at 0x000002790B5CF2B0>
File "C:\Users\29388\anaconda3\envs\stop\lib\site-packages\graia\saya__init.py", line 76, in require_resolve imported_module = importlib.import_module(module, module) │ │ │ └ 'sagiri_bot.handler.handlers.style_picture_generator' │ │ └ 'sagiri_bot.handler.handlers.style_picture_generator' │ └ <function import_module at 0x0000027907339C10> └ <module 'importlib' from 'C:\Users\29388\anaconda3\envs\stop\lib\importlib\init__.py'>
File "C:\Users\29388\anaconda3\envs\stop\lib\importlib__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) │ │ │ │ │ └ 0 │ │ │ │ └ 'sagiri_bot.handler.handlers.style_picture_generator' │ │ │ └ 0 │ │ └ 'sagiri_bot.handler.handlers.style_picture_generator' │ └ <function _gcd_import at 0x0000027906B0E430> └ <module 'importlib._bootstrap' (frozen)>
File "
File "C:\Users\29388\bot\sagiri-bot-3.3.0\sagiri_bot\handler\handlers\style_picture_generator__init__.py", line 2, in
@SAGIRI-kawaii 更新sagiri吗,刚下的欸
请按照文档进行部署,由日志来看,似乎您并没有安装项目依赖
ok了,thx
问题
bot的指令只有[已加载插件]会给出反应 其他的指令均显示 raise ValueError(f"未找到 {group} -> {str(setting)} 结果!请检查数据库!")
ValueError: 未找到 群号 -> Setting.switch 结果!请检查数据库!
如何复现
环境python3.8虚拟环境 配置默认 发送除[已加载插件]外的指令
预期行为
应该是正常响应呗
使用环境
日志/截图