Traceback (most recent call last):


 "migrate.py", line 5, in <module>

models.db.migrate(**app.config['DB_PARAMS'])


 "/home/john/.virtualenvs/hw/lib/python3.6/site-packages/pony/orm/core.py", line 684, in migrate

return migrate(self, command)


 "/home/john/.virtualenvs/hw/lib/python3.6/site-packages/pony/migrate/command.py", line 61, in migrate

return _migrate(db, cmd, **kwargs)


 "/home/john/.virtualenvs/hw/lib/python3.6/site-packages/pony/migrate/command.py", line 96, in _migrate

return graph.make(db=db, empty=empty, custom=custom, description=name)


 "/home/john/.virtualenvs/hw/lib/python3.6/site-packages/pony/migrate/migration.py", line 289, in make

generated = writer.as_string()


 "/home/john/.virtualenvs/hw/lib/python3.6/site-packages/pony/migrate/writer.py", line 349, in as_string

body = self._get_operations_block(imports)


 "/home/john/.virtualenvs/hw/lib/python3.6/site-packages/pony/migrate/writer.py", line 314, in _get_operations_block

self.operations = self._get_ops()


 "/home/john/.virtualenvs/hw/lib/python3.6/site-packages/pony/migrate/writer.py", line 224, in _get_ops

if prev_attr.entity is not prev_entity: assert False, 'Not implemented'
AttributeError: 'NoneType' object has no attribute 'entity'

Traceback (most recent call last):


 "/home/sandip/.local/lib/python2.7/site-packages/twisted/web/server.py", line 198, in process

self.render(resrc)


 "/home/sandip/.local/lib/python2.7/site-packages/twisted/web/server.py", line 258, in render

body = resrc.render(self)


 "/home/sandip/.local/lib/python2.7/site-packages/twisted/web/resource.py", line 250, in render

return m(request)


 "/home/sandip/tudelft/tribler/Tribler/Core/Modules/restapi/debug_endpoint.py", line 311, in render_GET

return json.dumps({"cpu_history": self.session.lm.resource_monitor.get_cpu_history_dict()})
AttributeError: 'NoneType' object has no attribute 'get_cpu_history_dict'
