SIRIL 1.4.0-Beta - Mac OS X - Blind Plate solving unavailable

Hello
I am trying to use blind plate solving using astrometry-net as explained in the manual (Platesolving — Siril 1.4.0-beta1 documentation)

  • Astrometry executable directory (solve-field) is in the $PATH as requested : /usr/local/astrometry/bin:/opt/Homebrew/bin:/usr/local/Cellar/astrometry-net/0.97/bin
  • Installation of astrometry-net is fine and working (tested on a sample, in the sample directory, with a bunch of index files located in another directory)
  • The “whereis solve-field” terminal command returns the correct path

Nevertheless the Plate Solver list that is supposed to allow using astrometry-net is desperatly greyed and limited to “Solver SIRIL”

I might have missed something but the manual instructions indicates a quite straightforward process for OS X.

Answering to myself:

Documentation in SIRIL is quite unclear (or there is definitly a bug) as it is necessary, at least for my installation, to indicate the localization of the solve-field executable in SIRIL → Preferences → astrometry. Then to save and quit / relaunch SIRIL for the parameter to be applied.

This is indicated in Preferences (GUI) — Siril 1.4.0-beta1 documentation
but no (clear) reference to this section in Platesolving — Siril 1.4.0-beta1 documentation

I don’t know much about macOS, but I had a similar problem on Fedora 42 Linux.
The issue I encountered might be related to yours. I was running Siril as a Flatpak, which is a sandboxed environment. This means it’s only allowed access to certain resources — and the solve-field app isn’t included.

My solution was to write two simple C++ applications (actually, ChatGPT helped generate the code). One is a solve-field client app, which can be launched by Siril. This client connects to a solve-field server app outside the sandbox that receives commands from the client. The server app then forks and runs the actual solve-field application to perform the blind solve. The results are passed back to the client app, which then reports them back to Siril.