Closed chang-you closed 2 years ago
That shows a problem in your local installation of Ruby. It is unlikely you made it happen, but the error is neither caused nor can it be fixed by the Workflow.
(mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e'))
Meaning you are on Apple Silicon but your system Ruby is trying to run as if it were an Intel machine.
The first thing I’d do is reboot. I doubt it will fix this issue, but I’ve seen others go away.
If the problem persists, it means it’s a deeper issue in your macOS installation. Back in January someone wrote a post detailing this issue. Unfortunately the cause and fix aren’t clear and this isn’t a pervasive issue so there aren’t many resources on it. Were I able to reproduce I could try to give you more details, but since I can’t it limits my ability to investigate.
But this will affect every Ruby script on your system and is ultimately something broken in your macOS installation. That needs to be fixed at a deeper level.
Thank you, so again, do we need to hit enter when input :gdrebuildcache
? Or just wait for it?
[21:44:08.274] Google Drive Search[Script Filter] Queuing argument '(null)'
[21:44:08.419] Google Drive Search[Script Filter] Script with argv '(null)' finished
[21:44:08.420] ERROR: Google Drive Search[Script Filter] Code 1: 2021-12-11 21:44:08.415 osascript[6116:42271] CFURLGetFSRef was passed a URL which has no scheme (the URL will not work with other CFURL routines)
/Users/yoci642/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/E59D8180-1B9E-4441-9547-0F24A8E53E77:8:42: 2021-12-11 21:44:08.416 osascript[6116:42271] CFURLCopyResourcePropertyForKey failed because it was passed a URL which has no scheme
execution error: Can’t make file ":GoogleDrive.json" into type file. (-1700)
And here's the new bug report after I reboot my MacBook, thank you!
Thank you, so again, do we need to hit enter
Yes. But you shouldn’t be calling that anyway, you should be using :gdlaunchd
. The instructions explain all of this.
But that’s irrelevant until you fix the problem with your installation.
And here's the new bug report after I reboot my MacBook, thank you!
That has nothing to do with this Workflow; you’re doing something else.
Workflow version
2021.11
Alfred version
4.6.1[1274]
macOS version
12.0.1
Debugger output
More details
Run
:gdrebuildcache
but fail