Open fnl opened 3 years ago
I have the same problem. It was working until the Alfred update to 4.3. I have "disconnected" on the FF plugin
I see the following error in firefox-assistant.log:
16:11:14 workflow.go:342: ------------------ FATAL ERROR -------------------
16:11:14 workflow.go:343: server already running : goroutine 1 [running]:
runtime/debug.Stack(0xc000163d00, 0x1, 0x1)
/usr/local/opt/go/libexec/src/runtime/debug/stack.go:24 +0x9d
github.com/deanishe/awgo.(*Workflow).Run.func2(0xc000150000)
/Users/daj/pkg/mod/github.com/deanishe/awgo@v0.22.1/workflow.go:343 +0xe7
panic(0x142f1c0, 0xc0001243d0)
/usr/local/opt/go/libexec/src/runtime/panic.go:679 +0x1b2
main.run()
/Users/daj/Code/Alfred/alfred-firefox-assistant/main.go:145 +0x1c8
github.com/deanishe/awgo.(*Workflow).Run(0xc000150000, 0x14d4a18)
/Users/daj/pkg/mod/github.com/deanishe/awgo@v0.22.1/workflow.go:357 +0x2af
main.main()
/Users/daj/Code/Alfred/alfred-firefox-assistant/main.go:149 +0x39
16:11:14 workflow.go:344: ---------------- END STACK TRACE -----------------
16:11:14 workflow.go:375: [ERROR] server already running
16:11:14 workflow.go:378: Get help at https://github.com/deanishe/alfred-firefox/issues
16:11:14 workflow.go:401: ------------------ 2.04351008s -------------------
I switched now to the firefox bookmarks alfred workflow by the same author which brings me back firefox bookmark search to alfred (once I got used to that I never wanted to miss it again!)
Also encountered this issue. Took a while to figure it out. The problem I encountered was that in Catalina, Firefox has issues running files through the native client that are located in ~/Desktop, ~/Documents, ~/Downloads, iCloud Drive, third-party cloud storage, if used, removable volumes, or network volumes. (according to https://stackoverflow.com/questions/64419734/macos-catalina-launchd-cant-open-input-file-error).
The default location to save Alfred settings (and workflows) is in ~/Documents. Moving the preference bundle to my home folder did the trick to make this workflow work.
Thanks for your hard work!
@jonepatr do you mean the setting in advanced -> syncing -> set preferences folder? I tried this one and the problem remains for me.
What I found out: The problem occurs after alfred is updating. It seems with one update it stops working and then with the next update it starts working again…
I just installed the workflow and the extension and I am having this issue. I've already tried moving the preferences file. Any suggestions?
the last few times I was able to fix it with this:
I tried it many times before giving up. :(
Also encountered this issue. Took a while to figure it out. The problem I encountered was that in Catalina, Firefox has issues running files through the native client that are located in ~/Desktop, ~/Documents, ~/Downloads, iCloud Drive, third-party cloud storage, if used, removable volumes, or network volumes. (according to https://stackoverflow.com/questions/64419734/macos-catalina-launchd-cant-open-input-file-error).
The default location to save Alfred settings (and workflows) is in ~/Documents. Moving the preference bundle to my home folder did the trick to make this workflow work.
Thanks for your hard work!
thanks! I gave up, but this method makes it works again 👍
Also encountered this issue. Took a while to figure it out. The problem I encountered was that in Catalina, Firefox has issues running files through the native client that are located in ~/Desktop, ~/Documents, ~/Downloads, iCloud Drive, third-party cloud storage, if used, removable volumes, or network volumes. (according to https://stackoverflow.com/questions/64419734/macos-catalina-launchd-cant-open-input-file-error).
The default location to save Alfred settings (and workflows) is in ~/Documents. Moving the preference bundle to my home folder did the trick to make this workflow work.
Thanks for your hard work!
thanks! I moved the preference bundle to my home folder in addition to reinstalled workflow before it finally took effect
hm... moved folder, restarted firefox countless times, reinstalled addon and workflow... not sure what else to try
@s00500, https://github.com/deanishe/alfred-firefox/issues/20#issuecomment-894801306 is what worked for me and, it looks like, quite a few others -- but it did take me a minute to understand how exactly to implement it. Adding a screengrab of the specific place to make this change in the hope that it helps you and others in the future:
So, go to Alfred's preferences, choose the "Advanced" tab on the left, click "Set preferences folder," and choose your home folder in the resulting dialog. You may then have to go through these instructions in order to let your Mac know that the workflow isn't a security risk -- I did, but it did start working again after that.
@bdimaggio Thanks for instructions but I did EXACTLY that... strangely after checking today it seems like the workflow does work... not sure why
@s00500, #20 (comment) is what worked for me and, it looks like, quite a few others -- but it did take me a minute to understand how exactly to implement it. Adding a screengrab of the specific place to make this change in the hope that it helps you and others in the future:
So, go to Alfred's preferences, choose the "Advanced" tab on the left, click "Set preferences folder," and choose your home folder in the resulting dialog. You may then have to go through these instructions in order to let your Mac know that the workflow isn't a security risk -- I did, but it did start working again after that.
This is not good for those with multiple machines or want cloud backups.
@ollydixon Agreed! Would love to hear a solution that addresses the OP's problem and takes that concern into account.
@bdimaggio the solution is for Mozilla to get their ass in gear and open up the bookmarks api 😂
Alfred 4.2.1; Firefox Assistant 0.2.1; Firefox 83.0; Alfred Integration 1.1.2; Catalina 10.15.7
I have two Macs with exactly the above setup; On one, I installed the Alfred Firefox Integration without trouble, on the second I now cannot get it to work:
If I run the
server.sh
script from a terminal, it starts and even gets the searches from Alfred, but times out as it does not connect to Firefox. And the Firefox extension always insists it is "disconnected". Also,ffass workflow:register
finishes successfully.Removing and reinstalling the workflow as well as restarting the machine also did not help. Any ideas what I can try next?