Error running AMSP

While preprocessing several objects obtained on different nights, the AMSP script stopped at a certain point.

I’m not quite sure why. Everything was going well until the console displayed the following messages:

08:13:20: Ejecutando comando: register
08:13:20: Error FITS: failed to find or open the following file: (ffopen)
08:13:20: Error FITS: platesolve_data.wcs
08:13:20: Could not load FITS image for distortion
08:13:20: Command execution failed: invalid arguments.
08:13:20: Ejecutando comando: cd
08:13:20: Estableciendo CWD (Directorio Actual de Trabajo) a ‘/media/vant/TOSHIBA1Tb/Astrofotos/Trabajando’
08:13:20: :leftwards_arrow_with_hook: Returned to working directory: /media/vant/TOSHIBA1Tb/Astrofotos/Trabajando
08:13:22: _preproc directory removed.
08:13:22: Siril error: Command ‘register’ failed: Argument error

What is your Siril version? And I need the logs.

I found that the problem was caused by some images where the tracking had failed, and the script hadn’t detected them to remove them.

Perhaps it would be best if, when something like this happens, the images were discarded instead of stopping the script.