Skip to content

Bear Search CrashesΒ #31

Open
Open
@UtherMerlin

Description

"bs" crashes with the error shown below. I am on Monterey with Apple silicon.

[08:03:24.480] Bear[Script Filter] Queuing argument 'f'
[08:03:24.605] Bear[Script Filter] Script with argv '(null)' finished
[08:03:24.607] ERROR: Bear[Script Filter] Code 1: 08:03:24 workflow.py:2225 DEBUG Workflow version : 0.3.5
08:03:24 workflow.py:1628 DEBUG Reading settings from /Users/lawrence/Library/Application Support/Alfred/Workflow Data/com.chrisbro.bear/settings.json ...
08:03:24 workflow.py:2514 DEBUG Update check not due
08:03:24 workflow.py:1859 DEBUG Loading cached data from : /Users/lawrence/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.chrisbro.bear/__workflow_update_status.cpickle
08:03:24 workflow.py:2444 DEBUG update_data : {u'available': False}
08:03:24 search.py:37 DEBUG Started search workflow
08:03:24 search.py:60 DEBUG [u'f']
08:03:24 search.py:42 DEBUG Searching notes for f
08:03:24 search.py:98 DEBUG Searching notes
08:03:24 workflow.py:1748 DEBUG Data db_path stored in cpickle format
08:03:24 workflow.py:1763 DEBUG Stored data loaded from : /Users/lawrence/Library/Application Support/Alfred/Workflow Data/com.chrisbro.bear/db_path.cpickle
08:03:24 queries.py:202 DEBUG /Users/lawrenceporter/Library/Group Containers/9K33E3U3T4.net.shinyfrog.bear/Application Data/database.sqlite
08:03:24 workflow.py:2243 ERROR unable to open database file
Traceback (most recent call last):
File "/Users/lawrence/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.FFB1C5EB-498D-49F8-8531-B644F70975C5/workflow/workflow.py", line 2236, in run
func(self)
File "search.py", line 43, in main
execute_search_query(args)
File "search.py", line 99, in execute_search_query
title_results = queries.search_notes_by_title(WORKFLOW, LOGGER, query)
File "/Users/lawrence/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.FFB1C5EB-498D-49F8-8531-B644F70975C5/queries.py", line 138, in search_notes_by_title
return run_query(workflow, log, sql_query)
File "/Users/lawrence/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.FFB1C5EB-498D-49F8-8531-B644F70975C5/queries.py", line 204, in run_query
conn = sqlite3.connect(db_path)
OperationalError: unable to open database file
08:03:24 workflow.py:2267 DEBUG Workflow finished in 0.017 seconds.
[08:03:24.610] Bear[Script Filter]
<title>Error in workflow 'com.chrisbro.bear'</title>unable to open database file/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions