Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: 分刀插件无法跨面 #9

Open
SaarChaffee opened this issue Sep 23, 2023 · 1 comment
Open

Bug: 分刀插件无法跨面 #9

SaarChaffee opened this issue Sep 23, 2023 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed

Comments

@SaarChaffee
Copy link

当指定一个以上的阶段时就会报错。
指令:分刀 ACC T 153


[2023-09-23 17:39:05,535 分刀] ERROR: <class 'UnboundLocalError'> occured when fen_dao handling message 114514.,
[2023-09-23 17:39:05,526 分刀] INFO: Message 1081809367 triggered fen_dao.,
[2023-09-23 17:39:05,526] INFO in msghandler: Message 114514 triggered fen_dao.,
[2023-09-23 17:39:05,535] ERROR in msghandler: <class 'UnboundLocalError'> occured when fen_dao handling message 114514.,
[2023-09-23 17:39:05,535 分刀] ERROR: local variable 'stage' referenced before assignment,
Traceback (most recent call last):,
  File "/HoshinoBot/hoshino/msghandler.py", line 23, in handle_message,
    await service_func.func(bot, event),
  File "/HoshinoBot/hoshino/modules/kanna_connection_redive/fendao/__init__.py", line 268, in fen_dao,
    result = await dao.fen_dao(),
  File "/HoshinoBot/hoshino/modules/kanna_connection_redive/fendao/timeaxis.py", line 263, in fen_dao,
    await self.get_work_list(works[0], boss, stage),
UnboundLocalError: local variable 'stage' referenced before assignment,
@SonderXiaoming SonderXiaoming added bug Something isn't working help wanted Extra attention is needed good first issue Good for newcomers labels Sep 24, 2023
@SonderXiaoming
Copy link
Owner

等修

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants