Starnet not working in 1.2.0-beta1

I’ve pointed Siril to the install directory of Starnet++ CLI. Opened the result.fit created by the OSC_Preprocessing scipt. Did not apply any stretching as per the documentation. Selected Pre-Stretch Linear Image and Generate Star Mask. Clicked Execute and the console shows it completed in 402ms, which I knew it couldn’t have completed that fast. It only created a starnet_result.tif file that contains the stars and DSO. No _starless or _starmask files. Log file below.

In addition I discovered that if also select the Recompose Stars on Completion in addition to the above mentioned options, Siril shuts down.

16:12:36:176 [ALWAYS] GUDE Logging Started
16:12:36:176 [INFO] SqliteResumeCache::SqliteResumeCache basedirectory is null/empty
16:12:36:176 [ERROR] SqliteResumeCache::CreateSqliteResumeCache creating resume cache pointer failure
16:12:36:176 [ERROR] Initialize resume cache pointer failure
16:12:36:177 [INFO] gude policy POLICY_USER limit (2,2,1) chunk 2097152, chunking (UL 0 DL 1), resXfer 1, adapt 0, NSURL 0, timeout 86400
16:12:36:177 [INFO] Initialized – gude-lib version: v0.12.1 app: gude
16:12:37:986 [WARN] Ignoring attempt to reinit logging to \gude at level 4 retaining 3 days of logs
16:12:37:986 [INFO] SqliteResumeCache::SqliteResumeCache basedirectory is null/empty
16:12:37:986 [ERROR] SqliteResumeCache::CreateSqliteResumeCache creating resume cache pointer failure
16:12:37:986 [ERROR] Initialize resume cache pointer failure
16:12:37:986 [INFO] gude policy POLICY_USER limit (4,4,1) chunk 2097152, chunking (UL 0 DL 1), resXfer 1, adapt 0, NSURL 1, timeout 86400
16:12:37:986 [INFO] Initialized – gude-lib version: v0.12.1 app: gude
16:16:59:338 [ALWAYS] GUDE Logging Started
16:16:59:338 [INFO] SqliteResumeCache::SqliteResumeCache basedirectory is null/empty
16:16:59:338 [ERROR] SqliteResumeCache::CreateSqliteResumeCache creating resume cache pointer failure
16:16:59:338 [ERROR] Initialize resume cache pointer failure
16:16:59:338 [INFO] gude policy POLICY_USER limit (2,2,1) chunk 2097152, chunking (UL 0 DL 1), resXfer 1, adapt 0, NSURL 0, timeout 86400
16:16:59:338 [INFO] Initialized – gude-lib version: v0.12.1 app: gude
16:17:00:365 [WARN] Ignoring attempt to reinit logging to \gude at level 4 retaining 3 days of logs
16:17:00:365 [INFO] SqliteResumeCache::SqliteResumeCache basedirectory is null/empty
16:17:00:365 [ERROR] SqliteResumeCache::CreateSqliteResumeCache creating resume cache pointer failure
16:17:00:365 [ERROR] Initialize resume cache pointer failure
16:17:00:365 [INFO] gude policy POLICY_USER limit (4,4,1) chunk 2097152, chunking (UL 0 DL 1), resXfer 1, adapt 0, NSURL 1, timeout 86400
16:17:00:365 [INFO] Initialized – gude-lib version: v0.12.1 app: gude
16:27:56:505 [ALWAYS] GUDE Logging Started
16:27:56:505 [INFO] SqliteResumeCache::SqliteResumeCache basedirectory is null/empty
16:27:56:505 [ERROR] SqliteResumeCache::CreateSqliteResumeCache creating resume cache pointer failure
16:27:56:505 [ERROR] Initialize resume cache pointer failure
16:27:56:505 [INFO] gude policy POLICY_USER limit (2,2,1) chunk 2097152, chunking (UL 0 DL 1), resXfer 1, adapt 0, NSURL 0, timeout 86400
16:27:56:505 [INFO] Initialized – gude-lib version: v0.12.1 app: gude
16:27:57:570 [WARN] Ignoring attempt to reinit logging to \gude at level 4 retaining 3 days of logs
16:27:57:570 [INFO] SqliteResumeCache::SqliteResumeCache basedirectory is null/empty
16:27:57:570 [ERROR] SqliteResumeCache::CreateSqliteResumeCache creating resume cache pointer failure
16:27:57:570 [ERROR] Initialize resume cache pointer failure
16:27:57:570 [INFO] gude policy POLICY_USER limit (4,4,1) chunk 2097152, chunking (UL 0 DL 1), resXfer 1, adapt 0, NSURL 1, timeout 86400
16:27:57:570 [INFO] Initialized – gude-lib version: v0.12.1 app: gude

Hi,

thx for the report.
Could you test the following?
Instead of starting Siril with the shortcut, start a command window (type cmd and hit Enter in Windows bar) and type:
“C:\Program Files\Siril\bin\siril.exe” >log.txt

And see if starnet works?

That worked. Problem only exists when using the shortcut. I tried creating a new shortcut as well just to test, and same issue.

log: Welcome to siril v1.2.0-beta1
log: Supported file types: BMP images, PIC images (IRIS), PGM and PPM binary images, RAW images, FITS-CFA images, Films, SER sequences, TIFF images, JPG images, PNG images, HEIF images.
log: Setting CWD (Current Working Directory) to ‘C:\Astrophotography\2022-09-08 PacMan’
log: Parallel processing enabled: using 12 logical processors.
Successfully loaded ‘C:\Program Files\Siril\share\siril\siril.css’
Successfully loaded ‘C:\Program Files\Siril\share\siril\siril3.glade’
log: Searching scripts in: “C:\Program Files\SiriL\scripts”…
log: Loading script: Mono_Preprocessing
log: Loading script: OSC_Extract_Ha
log: Loading script: OSC_Extract_HaOIII
log: Loading script: OSC_Preprocessing
log: Loading script: OSC_Preprocessing_WithDrizzle
log: Loading script: OSC_Preprocessing_WithoutDark
log: Loading script: OSC_Preprocessing_WithoutDBF
log: Loading script: OSC_Preprocessing_WithoutFlat
log: Loading script: RGB_Composition
log: Loading registration method: 1-2-3 Stars Registration (deep-sky)
log: Loading registration method: Global Star Alignment (deep-sky)
log: Loading registration method: Two-Pass Global Star Alignment (deep-sky)
log: Loading registration method: Image Pattern Alignment (planetary - full disk)
log: Loading registration method: KOMBAT (planetary surfaces or full disk)
log: Loading registration method: Comet/Asteroid Registration
log: Loading registration method: Apply Existing Registration
log: Default FITS extension is set to .fit
Last available version: 1.2.0-beta1
Purging previously saved reference frame data.
log: Reading FITS: file result.fit, 3 layer(s), 6024x4020 pixels, 16 bits
log: StarNet: running. Please wait…
log: StarNet: linear mode. Applying Midtone Transfer Function (MTF) pre-stretch to image.
log: Applying MTF with values 0.001528, 0.000633, 1.000000
log: Saving TIFF: 16-bit file C:\Astrophotography\2022-09-08 PacMan\starnet_result.tif, 3 layer(s), 6024x4020 pixels
log: Reading TIFF: 16-bit file starless_result.tif, 3 layer(s), 6024x4020 pixels
log: StarNet: linear mode. Applying inverse MTF stretch to starless image.
log: Applying inverse MTF with values 0.001528, 0.000633, 1.000000
log: Saving FITS: file C:\Astrophotography\2022-09-08 PacMan\starless_result.fit, 3 layer(s), 6024x4020 pixels, 32 bits
log: StarNet: starless image generated
log: Saving FITS: file C:\Astrophotography\2022-09-08 PacMan\starmask_result.fit, 3 layer(s), 6024x4020 pixels, 32 bits
log: StarNet: star mask generated
log: StarNet: job completed.
log: Execution time: 1 min 28 s
Purging previously saved reference frame data.
Purging previously saved reference frame data.
Purging previously saved reference frame data.

I’ve complemented the release note with the workaround. Also wrote a small bat file that you can save to your Desktop and use as a shortcut until we fix.

Cheers,

C.

Great! Thanks for the update.