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: crash when disconnected #32

Open
d0p1s4m4 opened this issue Jan 4, 2022 · 1 comment
Open

bug: crash when disconnected #32

d0p1s4m4 opened this issue Jan 4, 2022 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@d0p1s4m4
Copy link
Member

d0p1s4m4 commented Jan 4, 2022

we need to implement a queu

Jan 03 16:52:22 localhost python[105099]: RuntimeError: Not connected
Jan 03 16:52:22 localhost python[105099]: Ignoring exception in on_message
Jan 03 16:52:22 localhost python[105099]: Traceback (most recent call last):
Jan 03 16:52:22 localhost python[105099]:   File "/home/hades/devse-chan/.env/lib/python3.8/site-packages/nextcord/client.py", line 351, in _run_event
Jan 03 16:52:22 localhost python[105099]:     await coro(*args, **kwargs)
Jan 03 16:52:22 localhost python[105099]:   File "/home/hades/devse-chan/devsechan/discord.py", line 30, in on_message
Jan 03 16:52:22 localhost python[105099]:     parent.to_irc(message.author,
Jan 03 16:52:22 localhost python[105099]:   File "/home/hades/devse-chan/devsechan/__init__.py", line 24, in to_irc
Jan 03 16:52:22 localhost python[105099]:     self.irc.send(author, msg)
Jan 03 16:52:22 localhost python[105099]:   File "/home/hades/devse-chan/devsechan/irc/__init__.py", line 65, in send
Jan 03 16:52:22 localhost python[105099]:     self.irc.send('PRIVMSG', target=self.config['channel'].get(), message=f"<{colored_nick}> {message}")
Jan 03 16:52:22 localhost python[105099]:   File "/home/hades/devse-chan/.env/lib/python3.8/site-packages/bottom/client.py", line 181, in send
Jan 03 16:52:22 localhost python[105099]:     self.send_raw(packed_command)
Jan 03 16:52:22 localhost python[105099]:   File "/home/hades/devse-chan/.env/lib/python3.8/site-packages/bottom/client.py", line 66, in send_raw
Jan 03 16:52:22 localhost python[105099]:     raise RuntimeError("Not connected")
@d0p1s4m4 d0p1s4m4 added bug Something isn't working good first issue Good for newcomers labels Jan 4, 2022
@d0p1s4m4
Copy link
Member Author

d0p1s4m4 commented Jan 4, 2022

related to #11

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
Projects
None yet
Development

No branches or pull requests

1 participant