ynput / ayon-applications

AYON addon to maintain applications
Apache License 2.0
4 stars 5 forks source link

MacOS: can't open native Terminal app in AYON folder #39

Open johhnry opened 1 month ago

johhnry commented 1 month ago

Is there an existing issue for this?

Current Behavior:

I can't run the Terminal action in the Launcher when clicking on a folder.

Expected Behavior:

It should open the MacOS terminal app that handles the right URI as stated here.

Version

1.0.0

What platform you are running on?

MacOS

Steps To Reproduce:

  1. Open the Launcher
  2. Click on a folder
  3. Click the Terminal button

Are there any labels you wish to add?

Relevant log output:

Defined executable paths for application "Terminal Main"(terminal/main) are not available on this machine.

Defined paths:
- Terminal.app
==============================
Traceback (most recent call last):
  File "/Users/flame/Library/Application Support/AYON/addons/core_1.0.1/ayon_core/tools/launcher/models/actions.py", line 405, in trigger_action
    action.process(selection)
  File "/Users/flame/Library/Application Support/AYON/addons/applications_1.0.2/ayon_applications/plugins/launcher_actions/debug_terminal.py", line 100, in process
    self.launch_terminal_with_app_context(
  File "/Users/flame/Library/Application Support/AYON/addons/applications_1.0.2/ayon_applications/plugins/launcher_actions/debug_terminal.py", line 189, in launch_terminal_with_app_context
    return application_manager.launch_with_context(launch_context)
  File "/Users/flame/Library/Application Support/AYON/addons/applications_1.0.2/ayon_applications/manager.py", line 148, in launch_with_context
    raise ApplicationExecutableNotFound(launch_context.application)
ayon_applications.exceptions.ApplicationExecutableNotFound: Defined executable paths for application "Terminal Main"(terminal/main) are not available on this machine.

Defined paths:
- Terminal.app

Additional context:

On this machine, there's the default native Terminal app but it doesn't open.