ushahidi / Reverberations

Measuring influence of content
http://swift.ushahidi.com
Other
11 stars 3 forks source link

500: Internal Server Error on popular tweets #1

Closed edmar closed 13 years ago

edmar commented 13 years ago

This error :
Traceback (most recent call last): File "/Library/Python/2.6/site-packages/tornado-1.2.1-py2.6.egg/tornado/web.py", line 869, in _execute getattr(self, self.request.method.lower())(_args, *_kwargs) File "api.py", line 34, in get for tweet in tree: TypeError: 'NoneType' object is not iterable

This happens when the tweet analyzed by the API has lots of retweets. The ranking method from the Reverb modulo returns a null object in this case.