AttributeError: 'SSLSocket' object has no attribute 'producer_fifo'

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Sat Oct 24 07:14:58 CEST 2009


En Fri, 23 Oct 2009 03:27:40 -0300, VYAS ASHISH M-NTB837  
<ashish.vyas at motorola.com> escribió:

> Tried using asyncore.dispatcher_with_send in place of
> asynchat.async_chat and after a few request-responses, I get this:
> Exception in thread Thread-2:
> Traceback (most recent call last):
>   File "C:\Python31\lib\threading.py", line 509, in _bootstrap_inner
>     self.run()
>   File "C:\Python31\lib\threading.py", line 462, in run
>     self._target(*self._args, **self._kwargs)
>   File "D:\XPress_v1.3\XPress\Model.py", line 3328, in run
>     asyncore.loop()
>   File "C:\Python31\lib\asyncore.py", line 206, in loop
>     poll_fun(timeout, map)
>   File "C:\Python31\lib\asyncore.py", line 124, in poll
>     is_w = obj.writable()
>   File "C:\Python31\lib\asyncore.py", line 516, in writable
>     return (not self.connected) or len(self.out_buffer)
>   File "C:\Python31\lib\asyncore.py", line 399, in __getattr__
>     return getattr(self.socket, attr)
> AttributeError: 'SSLSocket' object has no attribute 'out_buffer'
> Someone please throw some light on this!

How do you manage asyncore's map? It should contain dispatcher objects --  
looks like you've got objects of another type there.

-- 
Gabriel Genellina




More information about the Python-list mailing list