Traceback (most recent call last):


 "<console>", line 1, in <module>


 "/usr/local/lib/python2.7/dist-packages/transitions/core.py", line 251, in trigger

return self.machine._process(f)


 "/usr/local/lib/python2.7/dist-packages/transitions/core.py", line 638, in _process

return trigger()


 "/usr/local/lib/python2.7/dist-packages/transitions/core.py", line 276, in _trigger

if t.execute(event):


 "/usr/local/lib/python2.7/dist-packages/transitions/core.py", line 177, in execute

self._change_state(event_data)


 "/usr/local/lib/python2.7/dist-packages/transitions/core.py", line 188, in _change_state

event_data.machine.get_state(self.dest).enter(event_data)


 "/usr/local/lib/python2.7/dist-packages/transitions/core.py", line 62, in enter

event_data.machine._callback(oe, event_data)


 "/usr/local/lib/python2.7/dist-packages/transitions/core.py", line 621, in _callback

func(*event_data.args, **event_data.kwargs)
TypeError: 'NoneType' object is not callable

Traceback (most recent call last):


 "/usr/local/lib/python3.4/dist-packages/flexget/task.py", line 498, in __run_plugin

return method(*args, **kwargs)


 "/usr/local/lib/python3.4/dist-packages/flexget/event.py", line 23, in __call__

return self.func(*args, **kwargs)


 "/usr/local/lib/python3.4/dist-packages/flexget/plugins/input/discover.py", line 250, in on_task_input

return self.execute_searches(config, entries, task)


 "/usr/local/lib/python3.4/dist-packages/flexget/plugins/input/discover.py", line 115, in execute_searches

search_results = search.search(task=task, entry=entry, config=plugin_config)


 "/usr/local/lib/python3.4/dist-packages/flexget/plugin.py", line 118, in wrapped_func

return func(*args, **kwargs)


 "/usr/local/lib/python3.4/dist-packages/flexget/plugins/sites/piratebay.py", line 179, in search

return sorted(entries, reverse=True, key=lambda x: x.get('search_sort'))
TypeError: unorderable types: NoneType() < NoneType()
