europound
Member
[error] Could not drop tables: database is locked
Traceback (most recent call last):
File "bin/sentinel.py", line 9, in <module>
from models import Superblock, Proposal, GovernanceObject, Watchdog
File "lib/models.py", line 822, in <module>
check_db_sane() # ensure tables exist
File "lib/models.py", line 762, in check_db_sane
if not getattr(model, 'table_exists')():
File "/root/dashman/sentinel/venv/local/lib/python2.7/site-packages/peewee.py", line 4836, in table_exists
return cls._meta.db_table in cls._meta.database.get_tables(**kwargs)
File "/root/dashman/sentinel/venv/local/lib/python2.7/site-packages/peewee.py", line 3893, in get_tables
'type = ? ORDER BY name;', ('table',))
File "/root/dashman/sentinel/venv/local/lib/python2.7/site-packages/peewee.py", line 3683, in execute_sql
self.commit()
File "/root/dashman/sentinel/venv/local/lib/python2.7/site-packages/peewee.py", line 3507, in __exit__
reraise(new_type, new_type(*exc_args), traceback)
File "/root/dashman/sentinel/venv/local/lib/python2.7/site-packages/peewee.py", line 3676, in execute_sql
cursor.execute(sql, params or ())
peewee.OperationalError: database is locked
Traceback (most recent call last):
File "bin/sentinel.py", line 9, in <module>
from models import Superblock, Proposal, GovernanceObject, Watchdog
File "lib/models.py", line 822, in <module>
check_db_sane() # ensure tables exist
File "lib/models.py", line 762, in check_db_sane
if not getattr(model, 'table_exists')():
File "/root/dashman/sentinel/venv/local/lib/python2.7/site-packages/peewee.py", line 4836, in table_exists
return cls._meta.db_table in cls._meta.database.get_tables(**kwargs)
File "/root/dashman/sentinel/venv/local/lib/python2.7/site-packages/peewee.py", line 3893, in get_tables
'type = ? ORDER BY name;', ('table',))
File "/root/dashman/sentinel/venv/local/lib/python2.7/site-packages/peewee.py", line 3683, in execute_sql
self.commit()
File "/root/dashman/sentinel/venv/local/lib/python2.7/site-packages/peewee.py", line 3507, in __exit__
reraise(new_type, new_type(*exc_args), traceback)
File "/root/dashman/sentinel/venv/local/lib/python2.7/site-packages/peewee.py", line 3676, in execute_sql
cursor.execute(sql, params or ())
peewee.OperationalError: database is locked