sqlite3.OperationalError: database is locked

Bug #1780626 reported by themusicgod1
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mnemosyne (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

woke up this morning after having mnemosyne run over night to see:

An unexpected error has occurred.
Please forward the following info to the developers:

Traceback (innermost last):
  File "/usr/lib/python3/dist-packages/mnemosyne/pyqt_ui/main_wdgt.py", line 57, in controller_heartbeat
    self.controller().heartbeat()
  File "/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/controllers/default_controller.py", line 56, in heartbeat
    self.database().backup()
  File "/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/databases/SQLite.py", line 420, in backup
    self.save()
  File "/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/databases/SQLite.py", line 400, in save
    (self.version, "version"))
  File "/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/databases/_sqlite3.py", line 72, in execute
    self._cursor = self.connection.execute(sql, *args)
 sqlite3.OperationalError: database is locked

if I close this window...it just reopens again.

mnemosyne:
  Installed: 2.4-0.1
  Candidate: 2.4-0.1
ubuntu: bionic 18.04

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: mnemosyne 2.4-0.1
ProcVersionSignature: Ubuntu 4.15.0-23.25-generic 4.15.18
Uname: Linux 4.15.0-23-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Sun Jul 8 09:05:35 2018
InstallationDate: Installed on 2017-04-18 (445 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
PackageArchitecture: all
SourcePackage: mnemosyne
UpgradeStatus: Upgraded to bionic on 2018-04-30 (69 days ago)

Revision history for this message
themusicgod1 (themusicgod1) wrote :
Revision history for this message
themusicgod1 (themusicgod1) wrote :

killed mnemosyne's 2 windows (both the error and the main window) with xkill and restarted it, seems to be fine since.

Changed in mnemosyne (Ubuntu):
status: New → Invalid
Revision history for this message
themusicgod1 (themusicgod1) wrote :

Why is this invalid?

Revision history for this message
Peter Bienstman (peter-bienstman) wrote :

You no longer have the issue, right? Also, the database could have been locked by any other process.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.