mnadel / freddiebear

An Alfred Workflow for Bear 2
7 stars 0 forks source link

Command not found #2

Open mjknght opened 2 months ago

mjknght commented 2 months ago

This looks great! I’m having trouble getting it working, however. Having installed the workflow from the latest installation, the debugger shows:

Freddiebear[Script Filter] Script with argv '(null)' finished
[13:32:51.566] ERROR: Freddiebear[Script Filter] Code 127: zsh:1: command not found: freddiebear

Perhaps I have to install something else separately? Thanks in advance for any steers.

mnadel commented 2 months ago

If freddiebear isn't in your path, you can specify its location here:

image
mnadel commented 2 months ago

Sorry! The most recent version moved this to the workflow config, did you add a value there?

image
mjknght commented 1 month ago

Sorry, late response! Forgive the silly question, but I take it this means I need to install a binary separate from downloading and adding the Alfred Workflow? Thanks in advance.

mnadel commented 1 month ago

It does, but in the next week or so I’ll publish those binaries so you can easily download them. Right now you’d have to compile it yourself. I’ll reach back out here once the install process is streamlined. Stay tuned!

mnadel commented 1 month ago

Alright, v1.9.3 now has a fbinstall command to install the binary. If you update to this version, then run that keyword, you should be good. Let me know how it goes 🤞

mjknght commented 3 weeks ago

Hello! Sorry for a late response; just back from a couple of weeks away.

I’ve updated and tried this, but get the following:

[10:24:05.973] ERROR: Freddiebear[Run Script] Mon Aug 26 10:24:05 +08 2024 freddiebear.arm64.gz icon.png info.plist downloading ver=1.9.2 arch=arm64
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100     9  100     9    0     0    131      0 --:--:-- --:--:-- --:--:--   132
uncompressing
gzip: freddiebear.arm64.gz: not in gzip format
[10:24:05.987] Freddiebear[Run Script] Processing complete
[10:24:05.988] Freddiebear[Run Script] Passing output 'error
' to Conditional
[10:24:05.989] Freddiebear[Conditional] Processing complete
[10:24:05.990] Freddiebear[Conditional] Passing output 'error
' to Post Notification

Is the problem on my end?

mnadel commented 3 weeks ago

If you update to the latest (1.9.3) this should be fixed, sorry!

mjknght commented 3 weeks ago

Hi, sorry, I should have specified that this is the message I get when running fbinstall in 1.9.3.

mnadel commented 3 weeks ago

Just to confirm -- in the log output you posted, it's showing v1.9.2; did you upgrade after capturing the above and are still seeing the issue?

mjknght commented 3 weeks ago

Oh, I had not spotted that! When I download the workflow from the 1.9.3 release and open it, it is 1.9.2 that I see. Is the wrong version included in the release? Perhaps that’s why it is not working. Thanks again, looking forward to giving the workflow a spin when I finally crack this!

mjknght commented 2 days ago

Hi there! Just to be clear, having checked again – after I download 1.9.3, I still see 1.9.2 as the version. I am wondering whether that’s the version included in the release by mistake. Thanks again in advance!