-
Notifications
You must be signed in to change notification settings - Fork 231
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
Crash when sending a card #103
Comments
Could you please provide more informations about the status of the game? My two cents: is it Sanic mode? One player has left the chat or has been removed from the group, right? |
I'm confident no player left the chat during the game, but I remember the game mode has never been set. That stack trace comes from a bot which was in the same group as @unobot using the HEAD of the repository with unchanged settings. In the same group there was the @gameebot, one bot that keeps a persistent keyboard in the group for everyone. The issue was happening with @unobot at first so I came up with a second bot to see if it was a network problem, telegram bot api problem, etc. - also because I could then change logging level to DEBUG and see what was happening. I haven't dumped the logging.DEBUG but I couldn't see anything obvious there, I would need to troubleshoot the code step by step to find the exact place where there's a problem. |
Since you're using a copy of @unobot, Sanic mode is settled by default (if you didn't change the code). Could you please provide the link to your group? |
It would be https://t.me/joinchat/bD3i0o7K2CtjMDIx |
Hi @iuriguilherme , did you resolve the issue? I have the same exact one. Please let me know |
Long ago I got the same error and I'm pretty sure it depends on the "status_update" function in your cases too. One of your group admins has probably removed one of the players from the group. Alternatively, one of the players may have probably left the group in the middle of a game. Try to remove the "status_update" function from |
There is an ongoing bug which fails to check if a card can be sent and as a consequence doesn't record the play, doesn't update the hand, etc. and leads to timeout skipping to the next player, allowing the sticker to be sent to the group but not removing the card from the hand and not finishing the current play.
Trace:
The text was updated successfully, but these errors were encountered: