simple chat server

Burakk burak.kuyucakli at gmail.com
Fri Jun 11 15:03:33 EDT 2010


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 <module>
    try: asyncore.loop()
  File "/usr/lib/python3.1/asyncore.py", line 206, in loop
    poll_fun(timeout, map)
  File "/usr/lib/python3.1/asyncore.py", line 147, in poll
    read(obj)
  File "/usr/lib/python3.1/asyncore.py", line 79, in read
    obj.handle_error()
  File "/usr/lib/python3.1/asyncore.py", line 75, in read
    obj.handle_read_event()
  File "/usr/lib/python3.1/asyncore.py", line 420, in
handle_read_event
    self.handle_read()
  File "/usr/lib/python3.1/asynchat.py", line 170, in handle_read
    index = self.ac_in_buffer.find(terminator)
TypeError: expected an object with the buffer interface


 But i want to add that i am writing the code in netbeans with python
3.1 and running the code from the programme.. Ubuntu deafult python is
2.6.5. Is this a problem. And i also want to add that i made the .py
executable and run that from terminal too with the same
results...



More information about the Python-list mailing list