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

Bear Search Crashes #31

Open
UtherMerlin opened this issue Jan 25, 2022 · 0 comments
Open

Bear Search Crashes #31

UtherMerlin opened this issue Jan 25, 2022 · 0 comments

Comments

@UtherMerlin
Copy link

"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

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

1 participant