SGP 4.0.0.680 crashes [Solved]

I just upgraded my previous sgp v4.0.0.xxx version to .680 but now it crashes when I’ll try to start the program.

Logfiles:
[08/26/21 12:57:22.115][DEBUG][Unknown][NONE] .NET Framework Version: 4.8
[08/26/21 12:57:22.123][INFO][Unknown][NONE] ASCOM Platform version: 6.5.1.3234
[08/26/21 12:57:26.041][DEBUG][Main Thread][NONE] SGPro retail license…
[08/26/21 12:57:27.065][DEBUG][Main Thread][NONE] API successfully started on port 59590…
[08/26/21 12:57:27.065][DEBUG][Main Thread][NONE] Last attempt to migrate failed… loading default settings and start SGPro…
[08/26/21 12:57:28.179][DEBUG][Main Thread][NONE] Error loading notification settings! Kan bestand C:\Users\robmu\AppData\Local\SequenceGenerator\Sequence Generator Pro\notifications.sgd niet vinden.
[08/26/21 12:57:28.185][DEBUG][Main Thread][NONE] ===== S E Q U E N C E G E N E R A T O R (v4.0.0.680) =====
[08/26/21 12:57:28.262][DEBUG][Main Thread][NONE] OS: Microsoft Windows 10 Pro
[08/26/21 12:57:28.651][DEBUG][Auto Guider Error Thread][NONE] Entering Auto Guider message dispatch loop…
[08/26/21 12:57:28.652][DEBUG][Focuser Thread][NONE] Entering Fouser message dispatch loop…
[08/26/21 12:57:28.652][DEBUG][Camera Thread][NONE] Entering camera message dispatch loop…
[08/26/21 12:57:28.652][DEBUG][TEC Thread][NONE] Entering TEC message dispatch loop…
[08/26/21 12:57:28.652][DEBUG][Filter Wheel Thread][NONE] Entering Filter Wheel message dispatch loop…
[08/26/21 12:57:28.652][DEBUG][Telescope Thread][NONE] Entering Telescope message dispatch loop…
[08/26/21 12:57:28.653][DEBUG][Rotator Thread][NONE] Entering Rotator message dispatch loop…
[08/26/21 12:57:28.653][DEBUG][Auto Guider Thread][NONE] Entering Auto Guider message dispatch loop…
[08/26/21 12:57:28.653][DEBUG][Dome Thread][NONE] Entering Dome message dispatch loop…
[08/26/21 12:57:28.653][DEBUG][Safety Thread][NONE] Starting safety monitor…
[08/26/21 12:57:28.653][DEBUG][Environment Device Thread][NONE] Starting environment device monitor…
[08/26/21 12:57:28.686][DEBUG][Main Thread][NONE] Settings changed (or loaded)…
[08/26/21 12:57:28.686][DEBUG][Main Thread][NONE] ****************** SETTINGS DUMP **************
[08/26/21 12:57:28.725][DEBUG][Main Thread][NONE] {"_migrationStatus":“running”,"_settingAfTestPackPath":"","_settingAlnitakComPort":"","_settingAstroArtDisplayInstructions":true,"_settingAutoSave":true,"_settingBasename":"","_settingCameraOverhead":"","_settingCanonFileFormat":“Single Image (CFA FITS)”,"_settingCpPosition":“0, 0”,"_settingDataDirectory":“C:\Users\robmu\AppData\Local\SequenceGenerator\”,"_settingDefaultDirectory":"","_settingDelayBetween":0,"_settingDelayFirst":0,"_settingFinishFullEvent":true,"_settingFliFlushHigh":0,"_settingFliFlushLow":0,"_settingIgCopyAndRenameFiles":false,"_settingIgCopyLocation":"","_settingIgLastCsvFolder":"","_settingIgLastFileFolder":"","_settingIgLastFolder":"","_settingIgOverwriteExisting":false,"_settingIgRenameFiles":false,"_settingIgRenameStringLocation":2,"_settingIgRenameType":0,"_settingIgSubFolders":false,"_settingImportFromCfw":true,"_settingLastAscomCamera":“ASCOM.RPI_Camera_V3.Camera”,"_settingLastAscomFilterWheel":“ASCOM.AtikEFW2.FilterWheel”,"_settingLastAscomFocuser":“ASCOM.MoonliteDRO.Focuser”,"_settingLastAscomTelescope":“ASCOM.iOptron2017.Telescope”,"_settingLastImageSaveFolder":“C:\Users\robmu\Desktop\Metius\Light\M51 - RPi Camera”,"_settingLastSGSaveFolder":“C:\Users\robmu\Documents\”,"_settingLastUpdateCheck":“2021-08-26T11:52:41.2822034+02:00”,"_settingMdiAutoStretch":true,"_settingMdiLastImageDir":"","_settingMdiLocation":“551, 0”,"_settingMdiMouseAction":“Stretch”,"_settingMdiNewWindow":false,"_settingMdiPhdDecColor":“Red”,"_settingMdiPhdDisplay":“RA/Dec”,"_settingMdiPhdRaColor":“Blue”,"_settingMdiPhdScale":“100”,"_settingMdiPhdZoom":40,"_settingMdiShowCrosshairs":false,"_settingMdiShowStatusTrip":true,"_settingMdiShowToolStrip":true,"_settingMdiSize":“1374, 1047”,"_settingMdiState":“normal”,"_settingMfPosition":“269, 271”,"_settingMicroTouchLocation":"","_settingNagger":false,"_settingNaggerText":"","_settingNumEvents":5,"_settingPinpointCatalog":"","_settingPlateCamBlank":"","_settingPlateCamScale":0.0,"_settingRecentSequences":“C:\Users\robmu\Documents\Target 1.sgf;C:\Users\robmu\Documents\RPi Camera - 480mm.sgf;C:\Users\robmu\Documents\flats.sgf;”,"_settingSBIGCfwPort":"","_settingSBIGCfwUseRS232":false,"_settingSBIGConnection":“USB”,"_settingSBIGFilterWheel":“Auto Detect”,"_settingSBIGLpt1Address":“378”,"_settingSBIGLpt2Address":“278”,"_settingSBIGLpt3Address":“3BC”,"_settingShowTooltipHelp":true,"_settingSoundCompleted":"","_settingTempFiles":“C:\Users\robmu\AppData\Local\SequenceGenerator\Temp”,"_settingUseSequenceOptions":false,"_WindowGeometry":"","_WindowGeometryOpen":"","_settingTemperHumColor":“Grey”,"_settingTemperhumInterval":300.0,"_settingTemperHumUnits":“C”,"_settingEnableImageHistory":false,"_settingHfrColor":“RoyalBlue”,"_settingStarsColor":“OrangeRed”,"_settingAutoRecoveryActive":true,"_settingNikonDataFormat":“FITS”,"_settingLastNikonType":“Auto Connect”,"_settingAutoStretchLevel":“Low”,"_settingSBIGGuider":“None”,"_settingSBIGFanOffWithTec":false,"_settingQSIFanOffWithTec":false,"_settingProfileDirectory":“C:\Users\robmu\AppData\Local\SequenceGenerator\Sequence Generator Pro”,"_settingLookForTemperDevices":false,"_settingCanonMirrorSettle":0,"_settingSBIGEthernetIP":“0.0.0.0”,"_settingSBIGAutoDetectIp":true,"_settingLastAscomSafetyMonitor":"","_settingTemperHumUserHumidityComp":0.0,"_settingTemperHumUserTempComp":0.0,"_settingQSIFanSpeed":2,"_settingCanonAfBinning":1,"_settingNikonAfBinning":1,"_settingFliNormalSpeedMode":0,"_settingFliHighSpeedMode":0,"_settingFliRbiMitigation":false,"_settingPhd2InstallPath":“C:\Program Files (x86)\PHDGuiding2”,"_settingNikonUseBulbModeAlways":false,"_settingRecoveryDuration":90,"_settingRecoveryInterval":10,"_settingCaptureCalFramesAlways":false,"_settingPlateSolve3Catalogs":"","_settingAstrometryNetEndpoint":“Astrometry.NET (Remote)”,"_settingCheckForUpdatesOnStart":true,"_settingLogApiCalls":false,"_settingHelpLanguage":“English”,"_settingDefaultMfwFov":4.0,"_settingEventSuffixes":[“Lum”,“Red”,“Green”,“Blue”,“Ha”,“OIII”,“SII”,“Lum_H”],"_settingFocusLockDirectory":"","_settingLoadLastSequence":true,"_settingLastSequence":“C:\Users\robmu\Documents\Target 1.sgf”,"_settingShowPopupInfo":false,"_settingShowPopupAlert":true,"_settingShowPopupError":true,"_settingShowPopupWarn":true,"_settingShowPopupImageComplete":false,"_settingRestartAfterUnsafe":false,"_settingFindStars":“Normal (recommended)”,"_settingShowBetas":false,"_settingRotatorAngleOffset":0.0,"_settingFormScaleWarning":false,"_settingTrialQuestionsAsked":false,"_settingMosaicOverlap":20,"_settingAstrometryNetEndpointList":[],"_settingSimDownloadTimesPlate":false,"_settingSimDownloadTimesAf":false,"_settingLastAscomDome":"","_settingLastAscomRotator":“ASCOM.MoonliteDRO.Rotator”,"_settingShutdownAbortOptions":false,"_settingShutdownAbortDelay":30,"_settingMoveToNextTargetOnRecoveryFail":false,"_settingHasSeenQsiUpdateDriverNotice":false,"_settingDontShowAgain":{“rAcxViLHF9OMz13YACieCA==”:6,“DlDpg+JP8CQaJmC0/BiwEA==”:6,“x2py2kKbNW1kDeihcu/RiA==”:6,“15012b31-9c0a-4598-bfac-c36d7fbd025e”:6,“0+UI7OjdovfXaDHF1sAp1Q==”:6,“7HewETo5xdMy5StjCc2Ymg==”:6,“OSZyBJv5b8JSolL2NQGjVw==”:6,“Y7E9pmj601nnhDjH3ez0Ng==”:6,“9H0SpOMGyfon4tMKb++3CA==”:6,“1dbc43db-1a85-4bce-8f6e-7c5dc1b0c0f7”:6,“GzPOINlJp+CXiyFZrsaluQ==”:6,“iPiQNTbxkf77Xv8NnIrgQw==”:6,“b3eaa4eb-07a5-4b78-9002-054ab57421f2”:6,“TfwUDJiFuxRoRbOiSCue0w==”:6,“otw5Gze5iAr2sSlQLHTsFg==”:6,“160940dc-6cb7-40da-81dc-c76abe5a727d”:6,“67ps/Ku/lW1uCfSs5uHt9g==”:6,“seHcwKnL/FMvpeYFZwXaMA==”:6,“47694643-c608-44de-99f3-1fa969be503e”:6,“SQK8fSKae+rWMOHqAojVVg==”:6,“oMWPuYGB6MXeSZNueHMqvw==”:6,“2VIZAwd0Sj1WjaJre18A0w==”:6,“0a68cac5-1ee1-4af2-a941-4d6470c8ffb3”:6,“e5ccffc8-c0bf-414d-bdd5-8d3a9d9436a1”:6,“hJ8ArQrw+X2bg7CBFaShIg==”:6,“Mv0t7jOG5T7IbzWyZDzKxA==”:6,“ecb98cae-6a6d-4ee3-bc23-f9a8f8aa012f”:6,“Tkj4VxREQkggvAj8x+4XTw==”:6},"_settingPlateSolve2ApmDirectory":"","_settingPlateSolve2Ucac3Directory":"","_settingAstapDirectory":“C:\Program Files\astap\”,"_settingMfwPreferGrayscaleImages":false,"_settingPreferredMfwCenteringOption":"","_settingPreferredMfwRotateOption":false,"_settingPreferredMfwWorkingImageOption":false,"_settingAllowUsageStats":true,"_settingPromptedToAllowUsageStats":true,"_settingShowSwitchSims":true,"_settingShowSwitchEagle":true,"_settingEagleIPAddress":null,"_settingEaglePort":1380}
[08/26/21 12:57:28.726][DEBUG][Main Thread][NONE] ************** END SETTINGS DUMP **************
[08/26/21 12:57:28.876][DEBUG][Main Thread][NONE] ASCOM Observing Conditions Hub (OCH)
[08/26/21 12:57:28.876][DEBUG][Main Thread][NONE] ASCOM Observing Conditions Simulator
[08/26/21 12:57:28.876][DEBUG][Main Thread][NONE] OnStep Observing Conditions
[08/26/21 12:57:28.876][DEBUG][Main Thread][NONE] OpenWeatherMap ObservingConditions
[08/26/21 12:57:28.876][DEBUG][Main Thread][NONE] TEMPerHUM
[08/26/21 12:57:28.887][DEBUG][Main Thread][NONE] Making ASCOM switch: ASCOM.Simulator.Switch…
[08/26/21 12:57:29.185][DEBUG][Main Thread][NONE] Making ASCOM switch: ASCOM.Simulator.Switch…
[08/26/21 12:57:29.198][DEBUG][Main Thread][NONE] Making ASCOM switch: ASCOM.OnStep.Switch…
[08/26/21 12:57:29.538][DEBUG][Main Thread][NONE] Making ASCOM switch: ASCOM.OnStep.Switch…
[08/26/21 12:57:29.598][DEBUG][Main Thread][NONE] Making ASCOM switch: SwitchSim.Switch…
[08/26/21 12:57:30.031][DEBUG][Main Thread][NONE] Application level exception! : CommandString (System.Reflection.TargetInvocationException: Het doel van een aanroep heeft een uitzondering veroorzaakt. —> System.Runtime.InteropServices.COMException: CommandString
— Einde van intern uitzonderingsstackpad —
bij System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters)
bij System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
bij ASCOM.DriverAccess.MemberFactory.CallMember(Int32 memberCode, String memberName, Type[] parameterTypes, Object[] parms) in C:\ASCOM Build\Export\ASCOM.DriverAccess\MemberFactory.cs:regel 242)
bij ASCOM.DriverAccess.MemberFactory.CallMember(Int32 memberCode, String memberName, Type[] parameterTypes, Object[] parms) in C:\ASCOM Build\Export\ASCOM.DriverAccess\MemberFactory.cs:regel 287
bij ASCOM.DriverAccess.AscomDriver.get_Name() in C:\ASCOM Build\Export\ASCOM.DriverAccess\AscomDriver.cs:regel 362
bij s2.q2(jl A_0)
bij System.Collections.Generic.List1.ForEach(Action1 action)
bij s2.r5()
bij tp.qs(rt A_0, Boolean A_1)
bij tp…ctor(rt A_0, Boolean A_1)
bij t0.a(String[] A_0)

In the mean time I did a remove install for the older and the 4.0.0.860 version and a reinstall of this version (and after removing it also of version 4.0.0676 which also crashed when starten).

Anyone, any hint of how to correct this?

I removed all entries within the ASCOM profile I don’t use (dome drivers, condition drivers, simulators, etc.) and that fixed the issue. Consider this one solved…

Hi RobRob,
I have the same issue after upgrading to v4 - the application goes up to license check and that is it: the window just closes. The log file looks similar to yours.
Could you please explain what do you mean by “ASCOM profile”?
Is it a separate Ascom settings file for the SGPro stored in some folder?

Gintautas

I removed all crap entries (simulators, hubs, etc.) with the ASCOM Profile Explorer (this not a SGP component but an ASCOM component) and that fixed the issue.

Thanks.
Will try to do the same.

I believe the issue is being caused by one of the older Switch simulators that is now deprecated. I’ll see if we can just completely ignore it as part of the connectivity checks.

Jared

OK, have found the cause. Have removed devices one by one in the ASCOM Profile explorer.
In my case it is the Onstep Switch driver. I have the latest Onstep ASCOM driver 1.0.18.
Probably will post to Onstep group.

Gintautas

1 Like