Live stacking - error in fit file produced

I have tried to use Live stacking, but run into a problem when the RAW file (.cr2) from my Canon is downloaded into the watch folder, the fit file produced has an error in that Bitpix is set to 0 (illegal) and I also receive a message about an error in libra input/output error.
I am using Siril 1.2.5 (1.2.6 doesn’t open properly, but that’s another story) on an iMac using Sequoia 15.3.2

Any suggestions please?

Console output is below:
8:56:03: Decoding Canon EOS 60D file (ISO=1250, Exposure=50.0 sec)
18:56:03: Filter pattern: GBRG
18:56:04: Reading RAW: file 2025-03-31_21-14-28_50.00s_1250_0011_145_3.67_0.70.cr2, 1 layer(s), 5202x3464 pixels
18:56:22: Error in libraw Input/output error
18:56:22: FITS error: Illegal value for BITPIX keyword: 0
18:57:12: Stopping live stacking engine…

Thanks
Steve

Hello, I’m not familiar with this error, is this happening in a directory where there is only the CR2 file you copied? If not, can you try again in an empty directory?
This feature is not great and unmaintained, but it should still do basic things like that.

Hi, the folder is an empty folder within my documents folder. I have already tried moving the folder, but with the same result.

strange, are you able to open the CR2 normally in siril? I have no other idea

My guess is that Siril try to open the file while it is not 100% complete.

Yes, the cr2 file does open in Siril (as BW), the fits file will not.

I think you may have a point there. I think I’ll try having the RAW files coming into a different folder, and write a short Python script to convert it to a fit file and then transfer into the watched folder. A bit long winded, but it may work.
Surely, I’m not the only person to try loading a .cr2 file into the live stacking though??

you may be the only one using the feature with a mac

:astonished:

I think I’ve sussed out what is happening. I am using Syncthing to transfer the raw file from my imaging laptop to my Mac where I had been hoping to use it in live stack. I believe that when syncthing transfers the file it momentarily sets up a tmp file and then replaces it with the full raw file once it has all been transferred. I think Siril is detecting this tmp file, and so libraw cannot process it, and the resulting fit file fails.
All I have to do is to wait until the file is fully written before it is processed.
Any suggestions gratefully received! :slight_smile:
Either that or I install Siril on my tiny little imaging laptop!

problem solved then, it’s not siril’s fault if your copy creates a bogus file