<div dir="ltr">Hi,<div><br></div><div>I think there is a bug in pika's HeartbeatChecker.</div><div>When I run these scripts I get:</div><div><div>Traceback (most recent call last):</div><div><br></div><div> File "D:\Testing\src\recv_demo.py", line 35, in <module></div>
<div> connection.ioloop.start()</div><div> File "C:\Python26\Lib\site-packages\pika\adapters\select_connection.py", line 184, in start</div><div> self.poller.start()</div><div> File "C:\Python26\Lib\site-packages\pika\log.py", line 107, in debug_log</div>
<div> return method(*args, **kwargs)</div><div> File "C:\Python26\Lib\site-packages\pika\adapters\select_connection.py", line 264, in start</div><div> self.process_timeouts()</div><div> File "C:\Python26\Lib\site-packages\pika\adapters\select_connection.py", line 250, in process_timeouts</div>
<div> self._timeouts[timeout_id]['handler']()</div><div> File "C:\Python26\Lib\site-packages\pika\log.py", line 107, in debug_log</div><div> return method(*args, **kwargs)</div><div> File "C:\Python26\lib\site-packages\pika\heartbeat.py", line 115, in send_and_check</div>
<div> self.connection.send_frame(Heartbeat())</div><div>AttributeError: 'SelectConnection' object has no attribute 'send_frame'</div></div><div><br></div><div>I don't always get this error, but if I chage send_frame to _send_frame it seems to work...</div>
<div><br></div><div>Any thoughts?</div><div><br></div><div><br></div><div>Many Thanks,</div><div><br></div><div>Yoav Glazner</div></div>