Siril integration with Starnet++ dose not work

I am a new user of Siril. I have installed Siril 1.4.0 beta1 and Starnet++ v2 command line. I have set the preferences to use starnet++, but it dose not work. I get the following error messages. Can you help?

Running command: StarNet
10:38:01: Spawning StarNet failed during version check: Failed to read from child pipe (EOF)
10:38:01: Error: StarNet executable (C:\Users\manoo\OneDrive\Desktop\StarNetv2CLI_Win\starnet++.exe) is not valid.
10:38:01: Error in line 18 (‘starnet’): generic error.
10:38:01: Exiting batch processing.
10:38:01: Setting CWD (Current Working Directory) to ‘\Users\manoo\OneDrive\Desktop_Session\C65’
10:38:01: Script execution failed.

I have done my initial investigation:

  1. tested StarNet++ offline, separate from Siril, and it works fine
  2. I have checked for both AVX and AVX2, there are both are present
  3. OneDrive is not used, but Siril house setting points to C65 correctly
  4. No Starnet problem when using Siril 1.20.0

Does it work if you move the Starnet folder somewhere outside your OneDrive folder?

Thank you very much getting back to me.

I do not use OneDrive. The Starnet++ folder is a part of my astrophotography setup folder, among others.

It works fine running the same with Siril 1.20.0. It seems, Siril 1.4.0 needs something (i.e. C++) for execution, which I do not have?

I appreciate getting back to me, as I like the updated version of Siril features.

Regards, Manoocher

What makes you say that you’re not using OneDrive? The log messages that you posted state the opposite. You have your Starnet folder on OneDrive as well as your working directory (c65).

Yes, that is how I can have access to my image location(Biases,Darks,Flats,lights) using Siril House setting. Somehow it forces to use OneDrive as part of searching for my image location without OneDrive being there? I am also puzzling for that?

Regards, Manoocher

open up a powershell window and do the following

# Create a local folder for starnet (not in OneDrive)
New-Item -Path "C:\StarNet" -ItemType Directory -Force

# Copy starnet files from OneDrive to local folder
Copy-Item -Path "$env:USERPROFILE\OneDrive\Desktop\StarNetv2CLI_Win\*" -Destination "C:\StarNet\" -Recurse -Force

# Navigate to the local folder
cd C:\StarNet

# Run starnet from the local folder
.\starnet++.exe

Wonderful, It works,

Off course you now it would work. Many thanks and appreciation for your support.

Regards, Manoocher