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.
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.