wrjlewis / notion-search-alfred-workflow

An Alfred workflow to search Notion with instant results
GNU General Public License v3.0
819 stars 43 forks source link

Unable to load libxcrun #42

Closed jonbstrong closed 2 years ago

jonbstrong commented 2 years ago

The Notion search command has stopped working all of a sudden, not quite sure why..

Here's what the log output tells me:

[19:06:17.051] Notion Search[Script Filter] Queuing argument '' [19:06:17.118] Notion Search[Script Filter] Script with argv '(null)' finished [19:06:17.120] ERROR: Notion Search[Script Filter] Code 1: xcrun: error: unable to load libxcrun (dlopen(/Library/Developer/CommandLineTools/usr/lib/libxcrun.dylib, 0x0005): tried: '/Library/Developer/CommandLineTools/usr/lib/libxcrun.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')), '/usr/lib/libxcrun.dylib' (no such file)).

wrjlewis commented 2 years ago

Are you on a M1 Mac, and recently updated perhaps?

I'm not sure but after a quick google search this appears to be when command line tools have become out of date. This workflow runs on python3 which is included in command line tools, hence the location of the error.

You could try reinstalling mac command line tools, as seen here

Basically...

junk the existing folder

sudo rm -rf /Library/Developer/CommandLineTools re-install

Reinstall

sudo Xcode-select --install

jonbstrong commented 2 years ago

After re-installing command line tools, it works! Thanks :)

wrjlewis commented 2 years ago

Awesome

On Mon, 14 Mar 2022 at 12:09, Jonathan Baillie Strong < @.***> wrote:

After re-installing command line tools, it works! Thanks :)

— Reply to this email directly, view it on GitHub https://github.com/wrjlewis/notion-search-alfred-workflow/issues/42#issuecomment-1066709902, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALY3SQJWVJD4MIJCTJMLZTU74T7ZANCNFSM5QH7YB5A . You are receiving this because you commented.Message ID: @.***>