opicron / mysticbbs-irc

IRC client for MysticBBS
GNU General Public License v3.0
11 stars 1 forks source link

Listen thread exception #7

Closed vbchrisrj closed 1 month ago

vbchrisrj commented 1 month ago

I had a user attempt to join the #spacex room on EFnet and they received the following error:

Listen thread exception: Traceback (most recent call last): File "/mystic/themes/CJs/scripts/irc.mpy", line 1164, in thread_listen command = args.pop(0)IndexError: pop from empty list

This appears to be the only one that is having an issue. The connection information is:

host [4] = "irc.deft.com" port [4] = 6667 channel [4] = "#spacex" srvpass [4] = "" password [4] = "" ssl [4] = False

I'm pretty sure that this was working fine at one point. I tested each of the options that I had setup, when I set them up. I tried it after the user hung up and received the same error message.

opicron commented 1 month ago

Let me test this tomorrow.

opicron commented 1 month ago

Im am connected without issue here.

Screenshot 2024-08-15 115856

opicron commented 1 month ago

I added exception catch for sockets and the user notification should be improved now.

opicron commented 1 month ago

By they way, you might want to connect to port 9999 and put SSL on True. That way your users chats are at least not send as plaintext over the internet.