Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sqlite3.OperationalError: database is locked #10

Open
ghost opened this issue Dec 5, 2017 · 0 comments
Open

sqlite3.OperationalError: database is locked #10

ghost opened this issue Dec 5, 2017 · 0 comments

Comments

@ghost
Copy link

ghost commented Dec 5, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants