Closed ghost closed 4 years ago
When i run alfred-firefox in finder, i get the following errors:
nikodem@Nikodems-MacBook-Pro ~ % /Users/nikodem/Library/Application\ Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.A6F257C0-5E96-41AA-94CA-76CE474B0669/alfred-firefox ; exit; panic: invalid Workflow environment: alfred_workflow_bundleid is not set, alfred_workflow_cache is not set, alfred_workflow_data is not set
goroutine 1 [running]: github.com/deanishe/awgo.NewFromEnv(0x0, 0x0, 0xc0000aac00, 0x3, 0x3, 0xc0000aac00) /Users/daj/pkg/mod/github.com/deanishe/awgo@v0.22.0/workflow.go:159 +0xbe3 github.com/deanishe/awgo.New(0xc0000aac00, 0x3, 0x3, 0xc0000aabe0) /Users/daj/pkg/mod/github.com/deanishe/awgo@v0.22.0/workflow.go:149 +0x47 main.init() /Users/daj/Code/Alfred/alfred-firefox-assistant/main.go:54 +0x325
[Process completed]
I managed to find the log file and here's the error: 15:27:21 ---------------- END STACK TRACE ----------------- 15:27:21 Sent 1 result(s) to Alfred 15:27:21 [ERROR] open /Users/nikodem/Library/Application Support/Mozilla/NativeMessagingHosts/net.deanishe.alfred.firefox.json: no such file or directory 15:27:21 Get help at https://github.com/deanishe/alfred-firefox/issues 15:27:21 ------------------- 7.918355ms -------------------
Run ffass > Install Firefox Extension
doesn't mean type that into Alfred. It means type ffass
into Alfred, and then choose the Install Firefox Extension
item.
Ok so i tried that just now, and I'm getting the following trace:
Also it is worth pointing out I don't have an 'install firefox extension' item: https://imgur.com/a/TwtxsSM
Also it is worth pointing out I don't have an 'install firefox extension' item
Of course not. The workflow is crashing.
Which version of Firefox do you have installed?
Can you check that this directory exists: /Users/nikodem/Library/Application Support/Mozilla/NativeMessagingHosts
?
Yeah, that directory doesn't exist for me.
Create it, and the workflow should work.
That worked! Thank you so much.
I tried reinstalling the workflow and the firefox extension but that did not fix it.