Comments (15)
So you have several files from the workflow, but you're missing the binary for some reason, and when Alfred doesn't find it in the folder where it's supposed to be, it looks in ~/Library/Caches/.... That's why the original error message you started this issue with shows that directory.
One of the options when first running an unsigned binary is "Move to Trash". Can you check if "search_notes" is anywhere in the trash? I verified that the binary is included in the workflow downloads on Packal and Github releases... If you cloned/downloaded the repo, the binary would not have been included, but you also wouldn't have been able to "allow" it to run either.
from alfred-search-notes-app.
Yeah, seems you're right. I might accidentally remove the bin file.
So, these steps helped me to make it working:
- Remove the workflow.
- Download & install it again.
- Right click on workflow, find it in Finder.
- Find
search_notes
bin file. Right click on it and select "Open" and confirm that it should be run. - Approve the app in the system.
- Close everything.
And now it's working.
Thank you for your help. Much appreciated! π
from alfred-search-notes-app.
It's working for me and others on Big Sur... Are you able to see the binary in the Finder and execute it? In the terminal you can try
cd /Users/sergey/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/6F8AAE28-930C-467C-A257-7A123A3DBE88/search_notes
./search_notes title blah
from alfred-search-notes-app.
No, there is no 6F8AAE28-930C-467C-A257-7A123A3DBE88
in Workflow Scropts
.
from alfred-search-notes-app.
Can you try deleting the workflow from Alfred, restart your computer, then install the workflow again?
from alfred-search-notes-app.
I've removed the workflow, restarted OS, and installed the workflow again. The same result.
Logs:
/Users/sergey/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/D427525A-76FB-41FF-B309-AEC9247517D3: line 1: search_notes/search_notes: No such file or directory
/Users/sergey/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/75961C70-E065-44E9-8668-583B9ED9EA04: line 1: search_notes/search_notes: No such file or directory
/Users/sergey/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/C2694D8C-DFB9-4228-86EE-0D3387D0FBBE: line 1: search_notes/search_notes: No such file or directory
I also do not see anything in /Users/sergey/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/
:
from alfred-search-notes-app.
That's strange...
- What version of Alfred are you using?
- Do you have the power pack?
- Are you using Dropbox sync for the Alfred preferences folder?
- Do you have any other workflows that are working? Can you find their Finder location?
from alfred-search-notes-app.
- 4.2.1 [1187]
- Yes
- No
- Yes, I do. They are located at
/Users/sergey/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows
from alfred-search-notes-app.
Can you try replacing the contents of the "n" script filter with this and see if it works?
wfd=$alfred_preferences/workflows/$alfred_workflow_uid
"$wfd/search_notes/search_notes" title "$@" 2>> "$wfd/error_log.txt"
if [[ $? != 0 ]]; then
osascript "$wfd/handle_error.scpt"
fi
from alfred-search-notes-app.
No, it doesn't work. The same as before.
w/Users/sergey/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/D427525A-76FB-41FF-B309-AEC9247517D3: line 1: search_notes/search_notes: No such file or directory
/Users/sergey/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/75961C70-E065-44E9-8668-583B9ED9EA04: line 1: search_notes/search_notes: No such file or directory
/Users/sergey/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/C2694D8C-DFB9-4228-86EE-0D3387D0FBBE: line 1: search_notes/search_notes: No such file or directory
/Users/sergey/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/7427F7F6-D58A-4A07-B1F3-08AEDF3FC858: line 2: /Users/sergey/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.E45AD698-9643-47FC-A365-0B75579A3C37/search_notes/search_notes: No such file or directory
/Users/sergey/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/E00A9C33-2F75-478A-9CDA-7827894530CB: line 2: /Users/sergey/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.E45AD698-9643-47FC-A365-0B75579A3C37/search_notes/search_notes: No such file or directory
/Users/sergey/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/6270E1D5-E7EF-4998-8E7D-9CFC77514130: line 2: /Users/sergey/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.E45AD698-9643-47FC-A365-0B75579A3C37/search_notes/search_notes: No such file or directory
/Users/sergey/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/017F804A-BB74-4377-8DC8-350EA5AFDC5D: line 2: /Users/sergey/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.E45AD698-9643-47FC-A365-0B75579A3C37/search_notes/search_notes: No such file or directory
/Users/sergey/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/D31758D9-4FFB-4708-80A0-C325BA66DEA3: line 2: /Users/sergey/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.E45AD698-9643-47FC-A365-0B75579A3C37/search_notes/search_notes: No such file or directory
from alfred-search-notes-app.
Does the directory /Users/sergey/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.E45AD698-9643-47FC-A365-0B75579A3C37
exist? What directory do you get taken to after right-clicking on the workflow and doing "Open in Finder"?
from alfred-search-notes-app.
Does the directory /Users/sergey/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.E45AD698-9643-47FC-A365-0B75579A3C37 exist?
Yes
What directory do you get taken to after right-clicking on the workflow and doing "Open in Finder"?
/Users/sergey/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.E45AD698-9643-47FC-A365-0B75579A3C37
from alfred-search-notes-app.
And that has all the right files in it? If so, does searching work in the terminal?
cd /Users/sergey/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.E45AD698-9643-47FC-A365-0B75579A3C37/search_notes
./search_notes title blah
If that works, then to get it working in Alfred, I recommend going to System Preferences > Security & Privacy > Privacy and making sure that Alfred has
- Checkmarks in the Automation category including for Finder, System Events, and Notes
- Checkmark in the Accessibility category
- Checkmark in the Full Disk Access category
- Full disk access in the Files and Folders category
If you have verified all those and it's still not working, you could try some of these ideas: https://www.alfredapp.com/help/troubleshooting/preferences. I think creating a new user and trying it there might be the best one to try first.
from alfred-search-notes-app.
And that has all the right files in it? If so, does searching work in the terminal?
from alfred-search-notes-app.
If you have Go installed you can try doing make
inside the search_notes folder, and if it works you'll have a self-signed binary and the workflow should run.
from alfred-search-notes-app.
Related Issues (20)
- Unable to Search Notes in Alfred 5 HOT 3
- Search note doesn't work on MacOS Ventura HOT 4
- notes open in All iCloud folder in Mac OS Ventura HOT 2
- Create Note Error HOT 2
- A bug occurs when creating a note HOT 3
- Operation not permitted, Ventura 13.2.1 HOT 12
- Create Note Error HOT 1
- Shift previews not showing HOT 1
- Cannot look for a specific note if Notes app already open - ERROR line 2: /usr/bin/python2: No such file or directory HOT 1
- Can't search notes after reinstalling OS (21 November 2023) HOT 1
- Just wont work..... HOT 2
- Should it work under Sonoma? HOT 2
- Cursor not set when creating new note HOT 13
- panic: unable to open database file: operation not permitted HOT 2
- Hope to be able to directly copy the title + body text. HOT 2
- Text view from Alfred >= 5.5
- ζδΈεΌοΌδΈθ½δ½Ώη¨ HOT 3
- Opening a note pauses for multiple seconds HOT 4
- Formatting of linked note for Mac/iOS no longer working HOT 2
- "Show Note Error -1743: Not authorized to send Apple events to Notes HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alfred-search-notes-app.