Re: simple chat server

2010-06-12 Thread Burakk
Thank you , now i can go on happy learning... :) -- http://mail.python.org/mailman/listinfo/python-list

Re: simple chat server

2010-06-12 Thread Thomas Jollans
On 06/11/2010 12:26 AM, Burakk wrote: > Hi, > > I am using ubuntu lucid and i have started to learn python(vrs 3.1). I > am trying to make a tutorial code(see below) work but when i run the > code, open a terminal window and connect as client with telnet and > type somethings and hit enter, give m

Re: simple chat server

2010-06-11 Thread Burakk
Thank you for your replies... I have overriden the error handlers and the results: Traceback (most recent call last): File "/home/burak/NetBeansProjects/intantMarkup/src/ 02basicServer.py", line 65, in try: asyncore.loop() File "/usr/lib/python3.1/asyncore.py", line 206, in loop poll

Re: simple chat server

2010-06-11 Thread Giampaolo RodolĂ 
In every dispatcher instance of your application I recommend to override handle_error as follows: class A(asyncore.dispatcher) def handle_error(self): raise This will print a common traceback message instead of the compact one provided by asyncore which provides a lot less informat

Re: simple chat server

2010-06-11 Thread Peter Pearson
On Thu, 10 Jun 2010 15:26:28 -0700 (PDT), Burakk wrote: > Hi, > > I am using ubuntu lucid and i have started to learn python(vrs 3.1). I > am trying to make a tutorial code(see below) work but when i run the > code, open a terminal window and connect as client with telnet and > type somethings and

simple chat server

2010-06-10 Thread Burakk
Hi, I am using ubuntu lucid and i have started to learn python(vrs 3.1). I am trying to make a tutorial code(see below) work but when i run the code, open a terminal window and connect as client with telnet and type somethings and hit enter, give me error below...(the terminal says connection clos