Possible bug in multiprocessing.Queue() on Ubuntu

2010-11-03 Thread Jerrad Genson
Hello, While working with the multiprocessing module in Python 2.6.6 on Ubuntu 10.10 64-bit, the following exception was raised: >>> import multiprocessing >>> input_queue = multiprocessing.Queue() Traceback (most recent call last): File "", line 1, in File "/usr/lib/python2.6/multiprocessin

Re: Tkinter/threading issue

2010-08-15 Thread Jerrad Genson
Well, I figured it out. Thanks anyway for your help. -- http://mail.python.org/mailman/listinfo/python-list

Re: Tkinter/threading issue

2010-08-15 Thread Jerrad Genson
def check_message(self, spawn=True): '''Method for pulling message from server process.''' if spawn: self.pid2 = os.fork() if self.pid2 == 0: if verbose: print('message checker initialized') # repeat message check forever while True:

Re: Tkinter/threading issue

2010-08-15 Thread Jerrad Genson
class MessageServer: '''Creates a message server object that listens for textual information and sends it back to the main program. Intended to be spawned as a separate process. ''' def __init__(self, port_number, server_send, server_receive): '''@param server_

Re: Tkinter/threading issue

2010-08-15 Thread Jerrad Genson
Thank you for the reply. When I said "TCP/IP" protocol, what I meant was this: http://en.wikipedia.org/wiki/Internet_Protocol_Suite. The reason the server is in a separate process is because it needs to continually be listening for network packets, which would disrupt the GUI. In any case, that pa

Re: Tkinter/threading issue

2010-08-15 Thread Jerrad Genson
I should also mention that I'm running Ubuntu 10.04 and Python 2.6.5. -- http://mail.python.org/mailman/listinfo/python-list

Tkinter/threading issue

2010-08-15 Thread Jerrad Genson
Hello, I'm learning Tkinter, and I have an issue that I'd appreciate help with. I have a program that initializes a GUI (I'll call this the "GUI process"), then spawns another process that listens on a network via the TCP/IP protocol for incoming strings (I'll call this the "server process"). Ever