ynput / ayon-core

Apache License 2.0
28 stars 34 forks source link

MacOS: can't run Explore here action #964

Open johhnry opened 5 days ago

johhnry commented 5 days ago

Is there an existing issue for this?

Current Behavior:

On MacOS I can't run the Explore here action to open the directory using Finder. Looks like it tries to use the folder entity path as the executable which is weird.

Expected Behavior:

It should open the Finder application (used on MacOS).

Version

1.0.0

What platform you are running on?

MacOS

Steps To Reproduce:

  1. Open the launcher
  2. Click on any folder
  3. Click the Explore here action

Are there any labels you wish to add?

Relevant log output:

The application /Volumes/projets/TEST_PIPE/sequences/sq01/sh01/work/layout 
cannot be opened for an unexpected reason,
error=Error Domain=NSOSStatusErrorDomain Code=-10827 "kLSNoExecutableErr: The executable is missing" 
UserInfo={_LSLine=4129, _LSFunction=_LSOpenStuffCallLocal}

Additional context:

No response

BigRoy commented 5 days ago

It should be running open -na {path}, see here.

I wonder if it should be open -R {path} as mentioned here.

@johhnry do you happen to know?

johhnry commented 5 days ago

@BigRoy I just tested open -R {path} on MacOS and it works perfectly whereas open -na raise the above error!