TwitterSearch streaming API - hangs


#1

Hi,

I use TwitterSearch for my program.
But it hangs after the following trace.
Kindly help me on this.

socket.py(562): sock.connect(sa)
— modulename: socket, funcname: meth
socket.py(224): return getattr(self._sock,name)(*args)
socket.py(563): return sock
smtplib.py(310): (code, msg) = self.getreply()
— modulename: smtplib, funcname: getreply
smtplib.py(349): resp = []
smtplib.py(350): if self.file is None:
smtplib.py(351): self.file = self.sock.makefile(‘rb’)
— modulename: socket, funcname: makefile
socket.py(217): return _fileobject(self._sock, mode, bufsize)
— modulename: socket, funcname: init
socket.py(247): self._sock = sock
socket.py(248): self.mode = mode # Not actually used in this version
socket.py(249): if bufsize < 0:
socket.py(250): bufsize = self.default_bufsize
socket.py(251): self.bufsize = bufsize
socket.py(252): self.softspace = False
socket.py(256): if bufsize == 0:
socket.py(258): elif bufsize == 1:
socket.py(261): self._rbufsize = bufsize
socket.py(262): self._wbufsize = bufsize
socket.py(267): self._rbuf = StringIO()
socket.py(268): self._wbuf = [] # A list of strings
socket.py(269): self._wbuf_len = 0
socket.py(270): self._close = close
smtplib.py(352): while 1:
smtplib.py(353): try:
smtplib.py(354): line = self.file.readline()
— modulename: socket, funcname: readline
socket.py(407): buf = self._rbuf
socket.py(408): buf.seek(0, 2) # seek end
socket.py(409): if buf.tell() > 0:
socket.py(418): if size < 0:
socket.py(420): if self._rbufsize <= 1:
socket.py(443): buf.seek(0, 2) # seek end
socket.py(444): self._rbuf = StringIO() # reset _rbuf. we consume it via buf.
socket.py(445): while True:
socket.py(446): try:
socket.py(447): data = self._sock.recv(self._rbufsize)