sqlite3.OperationalError: database is locked
Opened this issue · 0 comments
kickoff-player.desktop[5526]: Traceback (most recent call
kickoff-player.desktop[5526]: File "/usr/lib/python3.6/site-packages/peewee.py", line 3768,
kickoff-player.desktop[5526]: return self._connect(self.database, **self.connect_kwargs)
kickoff-player.desktop[5526]: File "/usr/lib/python3.6/site-packages/peewee.py", line 4026,
kickoff-player.desktop[5526]: self._add_conn_hooks(conn)
kickoff-player.desktop[5526]: File "/usr/lib/python3.6/site-packages/playhouse/sqlite_ext.py", line 882,
kickoff-player.desktop[5526]: self._set_pragmas(conn)
kickoff-player.desktop[5526]: File "/usr/lib/python3.6/site-packages/peewee.py", line 4042,
kickoff-player.desktop[5526]: cursor.execute('PRAGMA %s = %s;'
kickoff-player.desktop[5526]: sqlite3.OperationalError: database is locked
kickoff-player.desktop[5526]: During handling of the
kickoff-player.desktop[5526]: Traceback (most recent call
kickoff-player.desktop[5526]: File "/usr/bin/kickoff-player", line 109,
kickoff-player.desktop[5526]: player = KickoffPlayer()
kickoff-player.desktop[5526]: File "/usr/bin/kickoff-player", line 35,
kickoff-player.desktop[5526]: self.cache = CacheHandler()
kickoff-player.desktop[5526]: File "/opt/kickoff-player-git/handlers/cache.py", line 14,
kickoff-player.desktop[5526]: self.register_models()
kickoff-player.desktop[5526]: File "/opt/kickoff-player-git/handlers/cache.py", line 17,
kickoff-player.desktop[5526]: self.dbs.connect()
kickoff-player.desktop[5526]: File "/usr/lib/python3.6/site-packages/peewee.py", line 3738,
kickoff-player.desktop[5526]: self._local.conn = self._create_connection()
kickoff-player.desktop[5526]: File "/usr/lib/python3.6/site-packages/peewee.py", line 3768,
kickoff-player.desktop[5526]: return self._connect(self.database, **self.connect_kwargs)
kickoff-player.desktop[5526]: File "/usr/lib/python3.6/site-packages/peewee.py", line 3656,
kickoff-player.desktop[5526]: reraise(new_type, new_type(*exc_args), traceback)
kickoff-player.desktop[5526]: File "/usr/lib/python3.6/site-packages/peewee.py", line 135,
kickoff-player.desktop[5526]: raise value.with_traceback(tb)
kickoff-player.desktop[5526]: File "/usr/lib/python3.6/site-packages/peewee.py", line 3768,
kickoff-player.desktop[5526]: return self._connect(self.database, **self.connect_kwargs)
kickoff-player.desktop[5526]: File "/usr/lib/python3.6/site-packages/peewee.py", line 4026,
kickoff-player.desktop[5526]: self._add_conn_hooks(conn)
kickoff-player.desktop[5526]: File "/usr/lib/python3.6/site-packages/playhouse/sqlite_ext.py", line 882,
kickoff-player.desktop[5526]: self._set_pragmas(conn)
kickoff-player.desktop[5526]: File "/usr/lib/python3.6/site-packages/peewee.py", line 4042,
kickoff-player.desktop[5526]: cursor.execute('PRAGMA %s = %s;'
kickoff-player.desktop[5526]: peewee.OperationalError: database is locked
kickoff-player.desktop[6886]: Exception in thread Thread-7:
kickoff-player.desktop[6886]: Traceback (most recent call
kickoff-player.desktop[6886]: File "/usr/lib/python3.6/threading.py", line 916,
kickoff-player.desktop[6886]: self.run()
kickoff-player.desktop[6886]: File "/usr/lib/python3.6/threading.py", line 864,
kickoff-player.desktop[6886]: self._target(*self._args, **self.kwargs)
kickoff-player.desktop[6886]: File "/opt/kickoff-player-git/handlers/channel.py", line 61,
kickoff-player.desktop[6886]: self.app.streams_api.save_channels()
kickoff-player.desktop[6886]: File "/opt/kickoff-player-git/apis/streams.py", line 111,
kickoff-player.desktop[6886]: ch_id = "%s%s" %
kickoff-player.desktop[6886]: AttributeError: 'NoneType' object has
kickoff-player[13301]: Allocating size to GtkApplicationWindow