WolframResearch / wolfram-app-discovery-rs

Locate local installations of the Wolfram Language.
Apache License 2.0
14 stars 5 forks source link

MacOS: Wolfram Engine homebrew installation triggers wolframscript exited with non-success status code #56

Open simonbyrne opened 1 year ago

simonbyrne commented 1 year ago

Using Wolfram Engine installed by Homebrew (brew install --cask wolfram-engine), I get the following error:

thread 'main' panicked at 'wolframscript exited with non-success status code: exit status: 255', src/lib.rs:1218:9
stack backtrace:
   0:        0x100d01ec6 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h0a1c410dd2eebc30
   1:        0x100d1a1ba - core::fmt::write::hfa389e524187f2c6
   2:        0x100cff2fc - std::io::Write::write_fmt::h366bfde824bc90c5
   3:        0x100d01caa - std::sys_common::backtrace::print::hc90b083c930997af
   4:        0x100d03313 - std::panicking::default_hook::{{closure}}::h75efc5c6aebec0e0
   5:        0x100d03068 - std::panicking::default_hook::hc8ee2f0ee4fbe744
   6:        0x100d03a4f - std::panicking::rust_panic_with_hook::h479ead1480e59d8d
   7:        0x100d03814 - std::panicking::begin_panic_handler::{{closure}}::h69ffc77690b7f126
   8:        0x100d02368 - std::sys_common::backtrace::__rust_end_short_backtrace::h7fbeef7420a96564
   9:        0x100d034dd - _rust_begin_unwind
  10:        0x100d23283 - core::panicking::panic_fmt::h9b5d807e24bcaaed
  11:        0x100c8e6a7 - wolfram_app_discovery::WolframApp::try_default_with_filter::hef1227a40160ade8
  12:        0x100c7169f - wolfram_app_discovery::main::haa4810c74479aee4
  13:        0x100c6d72b - std::sys_common::backtrace::__rust_begin_short_backtrace::hb68d3b8234a767b2
  14:        0x100c7ad4b - std::rt::lang_start::{{closure}}::h6b6f4c676d08f646
  15:        0x100cfa680 - std::rt::lang_start_internal::h72dc55d09e0a2397
  16:        0x100c76e3c - _main

https://github.com/JuliaInterop/MathLink.jl/actions/runs/4635530121/jobs/8202662463#step:7:89

simonbyrne commented 1 year ago

Note that spotlight is able to find it via mdfind "kMDItemCFBundleIdentifier == 'com.wolfram.*'" https://github.com/JuliaInterop/MathLink.jl/actions/runs/4635726532/jobs/8203011073?pr=68#step:7:2