music-assistant / companion

Music Assistant Companion App
https://music-assistant.io/companion-app/
Apache License 2.0
39 stars 5 forks source link

None of the macOS apps work #23

Closed Smarthome-Creator closed 4 months ago

Smarthome-Creator commented 7 months ago

I have tried all three variants on my MacBook Air with M2.

JeffersonBledsoe commented 7 months ago

@Smarthome-Creator Looks like this is an error with communicated with squeezelite. I got the following when building the app in dev mode:

Failed to get output devices: Io(Os { code: 13, kind: PermissionDenied, message: "Permission denied" })
stack backtrace:
   0: rust_begin_unwind
             at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:645:5
   1: core::panicking::panic_fmt
             at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panicking.rs:72:14
   2: core::result::unwrap_failed
             at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/result.rs:1649:5
   3: core::result::Result<T,E>::expect
             at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/result.rs:1030:23
   4: music_assistant_companion::get_output_devices
             at ./src/main.rs:36:40
   5: music_assistant_companion::main::{{closure}}
             at ./src/main.rs:151:25
   6: <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call
             at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/alloc/src/boxed.rs:2029:9
   7: tauri::manager::WindowManager<R>::run_invoke_handler
             at /Users/jefferson/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-1.6.0/src/manager.rs:942:5
   8: tauri::window::Window<R>::on_message
             at /Users/jefferson/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-1.6.0/src/window.rs:1622:11
   9: tauri::manager::WindowManager<R>::prepare_ipc_handler::{{closure}}
             at /Users/jefferson/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-1.6.0/src/manager.rs:624:19
  10: <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call
             at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/alloc/src/boxed.rs:2029:9
  11: tauri_runtime_wry::create_ipc_handler::{{closure}}
             at /Users/jefferson/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-runtime-wry-0.14.4/src/lib.rs:3409:5
  12: <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call
             at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/alloc/src/boxed.rs:2029:9
  13: <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call
             at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/alloc/src/boxed.rs:2029:9
  14: wry::webview::wkwebview::InnerWebView::new::did_receive
             at /Users/jefferson/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wry-0.24.7/src/webview/wkwebview/mod.rs:106:13
  15: <unknown>
  16: <unknown>
  17: <unknown>
  18: <unknown>
  19: <unknown>
  20: <unknown>
  21: <unknown>
  22: <unknown>
  23: <unknown>
  24: <unknown>
  25: <unknown>
  26: <unknown>
  27: <unknown>
  28: <unknown>
  29: <unknown>
  30: <unknown>
  31: <unknown>
  32: <unknown>
  33: <unknown>
  34: <unknown>
  35: <unknown>
  36: <() as objc::message::MessageArguments>::invoke
             at /Users/jefferson/.cargo/registry/src/index.crates.io-6f17d22bba15001f/objc-0.2.7/src/message/mod.rs:128:17
  37: objc::message::platform::send_unverified::{{closure}}
             at /Users/jefferson/.cargo/registry/src/index.crates.io-6f17d22bba15001f/objc-0.2.7/src/message/apple/mod.rs:27:9
  38: objc_exception::try::{{closure}}
             at /Users/jefferson/.cargo/registry/src/index.crates.io-6f17d22bba15001f/objc_exception-0.1.2/src/lib.rs:68:31
  39: objc_exception::try_no_ret::try_objc_execute_closure
             at /Users/jefferson/.cargo/registry/src/index.crates.io-6f17d22bba15001f/objc_exception-0.1.2/src/lib.rs:34:9
  40: RustObjCExceptionTryCatch
             at /Users/jefferson/.cargo/registry/src/index.crates.io-6f17d22bba15001f/objc_exception-0.1.2/extern/exception.m:10:9
  41: objc_exception::try_no_ret
             at /Users/jefferson/.cargo/registry/src/index.crates.io-6f17d22bba15001f/objc_exception-0.1.2/src/lib.rs:44:19
  42: objc_exception::try
             at /Users/jefferson/.cargo/registry/src/index.crates.io-6f17d22bba15001f/objc_exception-0.1.2/src/lib.rs:67:9
  43: objc::exception::try
             at /Users/jefferson/.cargo/registry/src/index.crates.io-6f17d22bba15001f/objc-0.2.7/src/exception.rs:8:5
  44: objc::message::platform::send_unverified
             at /Users/jefferson/.cargo/registry/src/index.crates.io-6f17d22bba15001f/objc-0.2.7/src/message/apple/mod.rs:26:5
  45: objc::message::send_message
             at /Users/jefferson/.cargo/registry/src/index.crates.io-6f17d22bba15001f/objc-0.2.7/src/message/mod.rs:178:5
  46: tao::platform_impl::platform::event_loop::EventLoop<T>::run_return
             at /Users/jefferson/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tao-0.16.5/src/platform_impl/macos/event_loop.rs:193:16
  47: tao::platform_impl::platform::event_loop::EventLoop<T>::run
             at /Users/jefferson/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tao-0.16.5/src/platform_impl/macos/event_loop.rs:160:21
  48: tao::event_loop::EventLoop<T>::run
             at /Users/jefferson/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tao-0.16.5/src/event_loop.rs:179:5
  49: <tauri_runtime_wry::Wry<T> as tauri_runtime::Runtime<T>>::run
             at /Users/jefferson/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-runtime-wry-0.14.4/src/lib.rs:2302:5
  50: tauri::app::App<R>::run
             at /Users/jefferson/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-1.6.0/src/app.rs:868:5
  51: tauri::app::Builder<R>::run
             at /Users/jefferson/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-1.6.0/src/app.rs:1722:5
  52: music_assistant_companion::main
             at ./src/main.rs:104:5
  53: core::ops::function::FnOnce::call_once
             at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
error Command failed with exit code 101.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
The service was stopped: write EPIPE                                                               
The service is no longer running: write EPIPE
The service is no longer running: write EPIPE
The service is no longer running: write EPIPE

Happy for me to update this issue with the details as I dig into it?

Smarthome-Creator commented 7 months ago

@JeffersonBledsoe , unfortunately, I have no idea about programming, I just build all the great things you do. ;-) I tested the Linux app today on Ubuntu and will test it later on my Steam Deck. The app ran flawlessly on Ubuntu.

agdamsbo commented 6 months ago

Following as I have the exact same problem running on an M1 Macbook Air

Smarthome-Creator commented 4 months ago

Thank you for staying tuned. Intel and ARM versions are now running.

Unfortunately, the Brew installation still has the same problem.

arctixdev commented 4 months ago

I think I fixed the homebrew tap now