hhromic / python-twitter-toolbox

Twitter Toolbox for Python.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ocassional crash while listening to the Streaming API

hhromic opened this issue · comments

Hello all,
there is a bug in Tweepy that produces an ocassional crash while listening for long-enough time to the Streaming API. The problem has been reported since a while in upstream Tweepy:
tweepy/tweepy#576

I will try to think on a way to circumvent the problem, but the real fix has to come from the Tweepy developers.

Cheers!
Hugo.

I now implemented a more robust handling of the streaming endpoint. It will not crash but simply warn that something went wrong, then re-connect the stream to keep going automatically.

Hope the guys from tweepy fixes this upstream soon.