alfred-firefoxbookmarks icon indicating copy to clipboard operation
alfred-firefoxbookmarks copied to clipboard

SqlLite "Database Is Locked" Errors

Open jamesbeldock opened this issue 5 years ago • 0 comments

Getting the following traceback when attempting to search Firefox bookmarks:

[2019-04-22 17:31:29][input.scriptfilter] Queuing argument 's'
[2019-04-22 17:31:30][input.scriptfilter] Queuing argument 'ss'
[2019-04-22 17:31:30][input.scriptfilter] Queuing argument 'sso'
[2019-04-22 17:31:35][input.scriptfilter] Script with argument '(null)' finished
[2019-04-22 17:31:35][ERROR: input.scriptfilter] Code 1: Traceback (most recent call last):
  File "bookmarks.py", line 91, in <module>
    alfred.write(alfred.xml(results(places_db, favicons_db, query), maxresults=_MAX_RESULTS))
  File "/Users/jbeldock/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.3F21093D-1CD0-4113-868E-67722E77A88A/alfred.py", line 87, in xml
    for item in itertools.islice(items, maxresults):
  File "bookmarks.py", line 51, in results
    for result in places_db.execute(sql(query)):
sqlite3.OperationalError: database is locked

jamesbeldock avatar Apr 23 '19 00:04 jamesbeldock