FKLC / WhatsAppToDiscord

WhatsAppToDiscord is a Discord bot that uses WhatsApp Web as a bridge between Discord and WhatsApp.
https://fklc.github.io/WhatsAppToDiscord/
MIT License
252 stars 74 forks source link

Bot crashing #137

Closed arespawn closed 1 year ago

arespawn commented 1 year ago

Describe the bug The bot crashes on Ubuntu 20.04.4 LTS after 1 or 2 messages, I suspect it has to do when its chatting with whatsapp groups as trying 1on1 chat seems to be okay although it stills throws a mutex deadlock but it doesn't crash the bot yet.

To Reproduce Steps to reproduce the behavior:

  1. start sending messages through the bot
  2. it shows some mutex deadlock error and it crashes/quits
  3. See the error

Expected behavior Should not be crashing

Logs logs.txt Platform Ubuntu 20.04.4 LTS

Additional context terminal output.odt

JasperTheMinecraftDev commented 1 year ago

That's because your internet disconnects, it's not due to the mutex deadlock errors. When your internet is gone it just quits the program instead of trying again.

arespawn commented 1 year ago

Oh i see! Then we can change to an enchantment for the future thank you for the answer.

On 9 Jun 2023, at 10:21, JasperTheMinecraftDev @.***> wrote:



That's because your internet disconnects, it's not due to the mutex deadlock errors. When your internet is gone it just quits the program instead of trying again.

— Reply to this email directly, view it on GitHubhttps://github.com/FKLC/WhatsAppToDiscord/issues/137#issuecomment-1584097709, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGM2F73WNQMMB54UEYRFGTDXKLFHHANCNFSM6AAAAAAXGLBTVU. You are receiving this because you authored the thread.Message ID: @.***>

FKLC commented 1 year ago

Fixed this bug. It was because you received a weird emoji to your message and it crashed.