Traceback (most recent call last):


 "_ctypes/callbacks.c", line 315, in 'calling callback function'


 "/usr/local/lib/python2.7/dist-packages/picamera/mmalobj.py", line 1220, in wrapper

buf = MMALBuffer(buf)
TypeError: 'NoneType' object is not callable

Traceback (most recent call last):


 "/opt/medusa/ext/tornado/web.py", line 1592, in _execute

result = yield result


 "/opt/medusa/ext/tornado/gen.py", line 1133, in run

value = future.result()


 "/opt/medusa/ext/tornado/gen.py", line 1141, in run

yielded = self.gen.throw(*exc_info)


 "/opt/medusa/medusa/server/api/v2/base.py", line 83, in async_call

content = yield IOLoop.current().run_in_executor(executor, prepared)


 "/opt/medusa/ext/tornado/gen.py", line 1133, in run

value = future.result()


 "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run

result = self.fn(*self.args, **self.kwargs)


 "/opt/medusa/medusa/server/api/v2/series.py", line 56, in get

for s in Series.find_series(predicate=filter_series)


 "/opt/medusa/medusa/server/api/v2/series.py", line 56, in <listcomp>

for s in Series.find_series(predicate=filter_series)


 "/opt/medusa/medusa/tv/series.py", line 2053, in to_json

data['lastUpdate'] = datetime.date.fromordinal(self._last_update_indexer).isoformat()
TypeError: an integer is required (got type NoneType)
