Socket code not executing properly in a thread (Windows)

Andrew D'Angelo excel at pharcyde.org
Sat Jul 7 12:33:29 EDT 2012


"Thomas Jollans" <t at jollybox.de> wrote in message 
news:mailman.1895.1341677582.4697.python-list at python.org...
> On 07/08/2012 12:55 PM, Andrew D'Angelo wrote:
>
> Please set your clock to the correct date and time.

My BIOS battery has died and I haven't gotten a chance to replace it. Made a 
mistake when setting the date on boot-up. :-\

> Do you have an error message or something?

No, it simply does not send the message.

> Without knowing more about the IRC library you're using

I am sending plain text to the socket, without a library.

> However,
> it's clear that you should be calling IRC.send from the main thread.
> That shouldn't be too hard to achieve, save the message to some sort of
> event or outgoing message queue that the main thread processes in 
> sequence.

Good idea, thanks. 





More information about the Python-list mailing list