extensions: [Set Audio Device] Unknown system error upon executing command

Extension – Set Audio Device

Author: @benvp

Description

All commands are failing for me with the following error:

There was an error fetching the audio devices. Command failed with Unknown system error -86: [~homepath]...
Screen Shot 2022-05-10 at 11 05 06 PM

Steps To Reproduce

  1. Install extension
  2. Attempt to run either “Set Output Device” or “Set Input Device” commands

The current behavior

Error message (pictured above)

The expected behavior

Audio inputs/outputs should be set accordingly.

Raycast version

Version 1.34.1

Of note, I am running macOS 12.3.1 on an M1 computer that currently does not have Rosetta 2 installed. I had seen the “system error -86” crop up on another extension where a dependency appeared to require that Rosetta be present, so I suspect that could be the case here.

Assuming so, I’m not sure if there’s a way to get this working without Rosetta being present, but that would be preferred if possible.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 2
  • Comments: 24 (13 by maintainers)

Commits related to this issue

Most upvoted comments

Oh, sorry, I completely skipped over that paragraph @djpowers

Did a little bit more digging on this, and the full error reads as follows:

FAILURE There was an error fetching the audio devices. Command failed with Unknown system error -86: ~Library/Application Support/com.raycast.macos/extensions/audio-device/audio-devices list --output --json

It appears this is occurring upstream on the macos-audio-devices package, as I’m also getting an error trying to install it directly: Bad CPU type in executable

I opened up an issue on that package to see it’s feasible to compile for M1 chips: karaggeorge/macos-audio-devices#23