[Twisted-Python] Wierd Error

Glyph Lefkowitz glyph at twistedmatrix.com
Fri Aug 10 18:50:31 EDT 2001


Yes, you are correct, it should be.

                      ______      __   __  _____  _     _
                     |  ____ |      \_/   |_____] |_____|
                     |_____| |_____  |    |       |     |
                     @ t w i s t e d m a t r i x  . c o m
                     http://twistedmatrix.com/users/glyph

On Fri, 10 Aug 2001, Itamar wrote:

> Might this is be the result of a connection being closed by a thread, implying that this is not thread safe?
> If so (even if the error resulted from something else, actually) I think the FileDescriptor.loseConnection() method should also be synchronized.
> 
> 
> Unexpected error in Selector.run.
> Traceback (most recent call last):
>    File "twisted/internet/main.py", line 277, in run
>      doSelect(timeout)
>    File "twisted/internet/main.py", line 191, in doSelect
>      [], timeout)
>    File "twisted/internet/abstract.py", line 232, in fileno
>      raise NotImplementedError(str(self.__class__)+' has no fileno method')
> NotImplementedError: twisted.internet.tcp.Server has no fileno method
> 
> 
> 
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
> 






More information about the Twisted-Python mailing list