On the last 3-4 betas (back to .328 at least, for sure all of the new quadratic AF routines), I get a crash of SGP when running AF. I can focus manually via SGP, but AF itself crashes instantly.
Using the moonlight DRO ASCOM driver. Have tried reinstalling it to test if it was the driver - happens regardless.
Each log ends with this:
[11/12/19 18:49:37.792][DEBUG] [Camera Thread] SGM_FOCUSER_AUTO_FOCUS message received…
[11/12/19 18:49:37.811][DEBUG] [Camera Thread] GlobalExceptionHandler caught: Could not load file or assembly ‘netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51’ or one of its dependencies. The system cannot find the file specified.
[11/12/19 18:49:37.811][DEBUG] [Camera Thread] InnerException: Empty
[11/12/19 18:49:37.825][DEBUG] [Camera Thread] Call stack: at sd.qg(Event A_0, Boolean A_1, Boolean A_2)
at rq.uo()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
[11/12/19 18:49:37.825][DEBUG] [Camera Thread] Runtime terminating: True
Can you either send the full log or copy and paste the line from the log file that identifies the OS (exactly) you are using (not just Windows 10 or whatever, but I need the very specific variant of Windows). You can open any log file and search for OS:
I just updated to the latest beta build (366) and have the same issue with autofocus crashing:
[11/15/19 21:47:53.960][DEBUG] [Camera Thread] SGM_FOCUSER_AUTO_FOCUS message received…
[11/15/19 21:47:53.960][DEBUG] [Camera Thread] Alnitak Flat Box - Getting shutter status
[11/15/19 21:47:54.011][DEBUG] [Camera Thread] Alnitak Flat Box - Updating Device Variables - Model: 19 Motor Status: 0 Light Status: 0
[11/15/19 21:47:54.011][DEBUG] [Camera Thread] SetFlatBoxShutter: OPEN
[11/15/19 21:47:54.014][DEBUG] [Camera Thread] GlobalExceptionHandler caught: Could not load file or assembly ‘netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51’ or one of its dependencies. The system cannot find the file specified.
[11/15/19 21:47:54.014][DEBUG] [Camera Thread] InnerException: Empty
[11/15/19 21:47:54.014][DEBUG] [Camera Thread] Call stack: at se.qs(Event A_0, Boolean A_1, Boolean A_2)
at rs.u1()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
[11/15/19 21:47:54.014][DEBUG] [Camera Thread] Runtime terminating: True
[11/15/19 21:46:57.255][DEBUG] [Main Thread] OS: Microsoft Windows 7 Professional
I did just check the windows update and I have some .net patches. So I am applying them now and will report back. Also, am I correct in that Win 7 is no longer supported with SGP?
I am also occasionally running into a situation where focuser position changes aren’t being responded to by the driver. If I disconnect and reconnect the driver (Moonlight DRO), then all the pent-up focuser changes that didn’t happen go into effect happen all at once upon reconnect. I’m trying to find where this is in the log file, will see if I can track it down.
Update: I upgraded my .NET to version 4.8 (4.8.03761) and no more crashes of SGP when I start an autofocus run. Now if I could get clear skies tonight…