Plate solving dilemma

A place to report problems and bugs in SharpCap
Forum rules


If you have a problem or question, please check the FAQ to see if it already has an answer : https://www.sharpcap.co.uk/sharpcap-faqs

Please also read about Troubleshooting USB Issues before posting.

*** Please do not post license keys - please report any problems with licensing to 'admin' by private message ***

Please include the following details in any bug report:

* Version of SharpCap
* Camera and other hardware being user
* Operating system version
* Contents of the SharpCap log after the problem has occurred.
[If SharpCap crashes, please send the bug report when prompted instead of including the log]
Post Reply
rvel
Posts: 7
Joined: Tue Aug 18, 2020 5:34 pm

Plate solving dilemma

#1

Post by rvel »

I have been testing the plate solver using the test camera (Deep Sky). I can solve the image using ASTAP but not AstroTortilla. The latter is installed in the usual location and the solve-field file is where it should be. I could, of course be happy to stick with ASTAP but I would prefer to maintain both options. What really confuses me is that I tested the setup on another computer and both options work there. As far as I can see the setups are identical; the results are not.

I would appreciate any help you can give me in solving this mystery.

I have attached the log file showing the error.

Info: 13:45:03.8475315 Thread:#1 SharpCap.Program.Main() :: Starting...
Info: 13:45:03.9929743 Thread:#1 SharpCap.Program.SetupNBUG() :: Setting up bug reporting.
Info: 13:45:04.0409424 Thread:#1 SharpCap.LogSystemInfo.Run() :: Starting thread to log system info
Info: 13:45:04.0499372 Thread:LogInfo Thread#9 SharpCap.LogSystemInfo.ThreadProc() :: SharpCap Version 3.2.6411.0
Info: 13:45:04.0499372 Thread:LogInfo Thread#9 SharpCap.LogSystemInfo.ThreadProc() :: GC Memory 118Mb
Info: 13:45:04.0519386 Thread:LogInfo Thread#9 SharpCap.LogSystemInfo.ThreadProc() :: Process Memory 151Mb
Info: 13:45:04.0529368 Thread:LogInfo Thread#9 SharpCap.LogSystemInfo.ThreadProc() :: Total Physical Memory 6091Mb
Info: 13:45:04.0529368 Thread:LogInfo Thread#9 SharpCap.LogSystemInfo.ThreadProc() :: Available Physical Memory 3720Mb
Info: 13:45:04.1059032 Thread:#1 SharpCap.Program.RunApp(Boolean showSplash) :: Setting up application
Info: 13:45:04.1089010 Thread:#1 SharpCap.Program.RunApp(Boolean showSplash) :: Initializing WPF
Debug: 13:45:04.1718627 Thread:#1 SharpCap.UI.SharpCapForm..ctor() :: Started
Info: 13:45:04.5300352 Thread:#1 SharpCap.MultiCaptureProvider.AddProvider() :: Added device enumerator of type BaslerDeviceEnumerator
Info: 13:45:04.5300352 Thread:#1 SharpCap.MultiCaptureProvider.AddProvider() :: Added device enumerator of type QHYDeviceEnumerator
Info: 13:45:04.5300352 Thread:#1 SharpCap.MultiCaptureProvider.AddProvider() :: Added device enumerator of type ASIDeviceEnumerator
Info: 13:45:04.5300352 Thread:#1 SharpCap.MultiCaptureProvider.AddProvider() :: Added device enumerator of type AltairDeviceEnumerator
Info: 13:45:04.5300352 Thread:#1 SharpCap.MultiCaptureProvider.AddProvider() :: Added device enumerator of type SVBonyDeviceEnumerator
Info: 13:45:04.5520211 Thread:#1 SharpCap.MultiCaptureProvider.AddProvider() :: Added device enumerator of type PointGreyDeviceEnumerator
Info: 13:45:04.5520211 Thread:#1 SharpCap.MultiCaptureProvider.AddProvider() :: Added device enumerator of type SxDeviceEnumerator
Info: 13:45:04.5560187 Thread:#1 SharpCap.Base.InterfaceFactory`2.ScanDll(String filename) :: Probing for camera providers : C:\Program Files (x86)\SharpCap 3.2\SharpCap.Cameras.Altair.dll
Info: 13:45:04.5570184 Thread:#1 SharpCap.Base.InterfaceFactory`2.ScanDll(String filename) :: Probing for camera providers : C:\Program Files (x86)\SharpCap 3.2\SharpCap.Cameras.ASCOMCamera.dll
Info: 13:45:04.5580177 Thread:#1 SharpCap.Base.InterfaceFactory`2.ScanDll(String filename) :: Probing for camera providers : C:\Program Files (x86)\SharpCap 3.2\SharpCap.Cameras.ASI.dll
Info: 13:45:04.5590172 Thread:#1 SharpCap.Base.InterfaceFactory`2.ScanDll(String filename) :: Probing for camera providers : C:\Program Files (x86)\SharpCap 3.2\SharpCap.Cameras.Atik.dll
Info: 13:45:04.5590172 Thread:#1 SharpCap.Base.InterfaceFactory`2.ScanDll(String filename) :: Probing for camera providers : C:\Program Files (x86)\SharpCap 3.2\SharpCap.Cameras.Basler.dll
Info: 13:45:04.5600167 Thread:#1 SharpCap.Base.InterfaceFactory`2.ScanDll(String filename) :: Probing for camera providers : C:\Program Files (x86)\SharpCap 3.2\SharpCap.Cameras.Celestron.dll
Info: 13:45:04.5630148 Thread:#1 SharpCap.Base.InterfaceFactory`2.ScanDll(String filename) :: Probing for camera providers : C:\Program Files (x86)\SharpCap 3.2\SharpCap.Cameras.DS3.dll
Info: 13:45:04.5630148 Thread:#1 SharpCap.Base.InterfaceFactory`2.ScanDll(String filename) :: Probing for camera providers : C:\Program Files (x86)\SharpCap 3.2\SharpCap.Cameras.Fake.dll
Info: 13:45:04.5630148 Thread:#1 SharpCap.Base.InterfaceFactory`2.ScanDll(String filename) :: Probing for camera providers : C:\Program Files (x86)\SharpCap 3.2\SharpCap.Cameras.INova.dll
Info: 13:45:04.5670126 Thread:#1 SharpCap.Base.InterfaceFactory`2.ScanDll(String filename) :: Probing for camera providers : C:\Program Files (x86)\SharpCap 3.2\SharpCap.Cameras.Moravian.dll
Info: 13:45:04.5670126 Thread:#1 SharpCap.Base.InterfaceFactory`2.ScanDll(String filename) :: Probing for camera providers : C:\Program Files (x86)\SharpCap 3.2\SharpCap.Cameras.NewDirectShow.dll
Info: 13:45:04.5670126 Thread:#1 SharpCap.Base.InterfaceFactory`2.ScanDll(String filename) :: Probing for camera providers : C:\Program Files (x86)\SharpCap 3.2\SharpCap.Cameras.PointGrey.dll
Info: 13:45:04.5680118 Thread:#1 SharpCap.Base.InterfaceFactory`2.ScanDll(String filename) :: Probing for camera providers : C:\Program Files (x86)\SharpCap 3.2\SharpCap.Cameras.QHY.dll
Info: 13:45:04.5680118 Thread:#1 SharpCap.Base.InterfaceFactory`2.ScanDll(String filename) :: Probing for camera providers : C:\Program Files (x86)\SharpCap 3.2\SharpCap.Cameras.SVBony.dll
Info: 13:45:04.5690109 Thread:#1 SharpCap.Base.InterfaceFactory`2.ScanDll(String filename) :: Probing for camera providers : C:\Program Files (x86)\SharpCap 3.2\SharpCap.Cameras.SX.dll
Info: 13:45:04.5690109 Thread:#1 SharpCap.MultiCaptureProvider.AddProvidersByReflection(String[] providerNames) :: Added device enumerator of type CelestronDeviceEnumerator
Info: 13:45:04.5690109 Thread:#1 SharpCap.MultiCaptureProvider.AddProvidersByReflection(String[] providerNames) :: Added device enumerator of type iNovaDeviceEnumerator
Info: 13:45:04.5700108 Thread:#1 SharpCap.MultiCaptureProvider.AddProvider() :: Added device enumerator of type MoravianDeviceEnumerator
Info: 13:45:04.5700108 Thread:#1 SharpCap.MultiCaptureProvider.AddProvider() :: Added device enumerator of type AtikDeviceEnumerator
Info: 13:45:04.5700108 Thread:#1 SharpCap.MultiCaptureProvider.AddProvider() :: Added device enumerator of type DS3DeviceEnumerator
Info: 13:45:04.5700108 Thread:#1 SharpCap.MultiCaptureProvider.AddProvider() :: Added device enumerator of type AscomDeviceEnumerator
Info: 13:45:04.5700108 Thread:#1 SharpCap.MultiCaptureProvider.AddProvider() :: Added device enumerator of type FolderMonitorDeviceEnumerator
Info: 13:45:04.5700108 Thread:#1 SharpCap.MultiCaptureProvider.AddProvider() :: Added device enumerator of type FakeDeviceEnumerator
Info: 13:45:04.6049907 Thread:LogInfo Thread#9 SharpCap.LogSystemInfo.ThreadProc() :: Operating System : Microsoft Windows 10 Home
Info: 13:45:04.6049907 Thread:LogInfo Thread#9 SharpCap.LogSystemInfo.ThreadProc() :: Full OS Version 10.0.18363
Info: 13:45:04.6049907 Thread:LogInfo Thread#9 SharpCap.LogSystemInfo.ThreadProc() :: OS is 64 bit, SharpCap is 32 bit.
Info: 13:45:04.7389055 Thread:#1 SharpCap.ProxyFinder`1.LoadProxiesForFactoryType(Type t) :: Loading Hardware Proxies from SharpCap.WheelProxy.ASCOM.WheelFactory
Info: 13:45:04.7648896 Thread:#1 SharpCap.ProxyFinder`1.LoadProxiesForFactoryType(Type t) :: Found device Filter Wheel Simulator [.Net]
Info: 13:45:04.7658888 Thread:#1 SharpCap.ProxyFinder`1.LoadProxiesForFactoryType(Type t) :: Found device Simulator
Info: 13:45:04.7708854 Thread:#1 SharpCap.ProxyFinder`1.LoadProxiesForFactoryType(Type t) :: Loading Hardware Proxies from SharpCap.WheelProxy.ZWO.WheelFactory
Info: 13:45:04.7758828 Thread:#1 SharpCap.ProxyFinder`1.LoadProxiesForFactoryType(Type t) :: Loading Hardware Proxies from SharpCap.WheelProxy.ZWO.ManualWheelFactory
Info: 13:45:04.7768821 Thread:#1 SharpCap.ProxyFinder`1.LoadProxiesForFactoryType(Type t) :: Found device Manual Filter Wheel
Info: 13:45:04.8018664 Thread:#1 SharpCap.ProxyFinder`1.LoadProxiesForFactoryType(Type t) :: Loading Hardware Proxies from SharpCap.MountProxy.ASCOM.MountFactory
Info: 13:45:04.8068640 Thread:#1 SharpCap.ProxyFinder`1.LoadProxiesForFactoryType(Type t) :: Found device Celestron Telescope Driver
Info: 13:45:04.8068640 Thread:#1 SharpCap.ProxyFinder`1.LoadProxiesForFactoryType(Type t) :: Found device CPWI
Info: 13:45:04.8068640 Thread:#1 SharpCap.ProxyFinder`1.LoadProxiesForFactoryType(Type t) :: Found device Telescope Simulator for .NET
Info: 13:45:04.8068640 Thread:#1 SharpCap.ProxyFinder`1.LoadProxiesForFactoryType(Type t) :: Found device ASCOM Dome Control
Info: 13:45:04.8068640 Thread:#1 SharpCap.ProxyFinder`1.LoadProxiesForFactoryType(Type t) :: Found device Generic Hub
Info: 13:45:04.8068640 Thread:#1 SharpCap.ProxyFinder`1.LoadProxiesForFactoryType(Type t) :: Found device Pipe diagnostic tool
Info: 13:45:04.8068640 Thread:#1 SharpCap.ProxyFinder`1.LoadProxiesForFactoryType(Type t) :: Found device POTH Hub
Info: 13:45:04.8068640 Thread:#1 SharpCap.ProxyFinder`1.LoadProxiesForFactoryType(Type t) :: Found device Simulator
Info: 13:45:04.8518353 Thread:#1 SharpCap.UI.SharpCapForm..ctor() :: Application model created
Info: 13:45:05.2996397 Thread:#1 SharpCap.UI.SharpCapForm..ctor() :: Control Form created
Info: 13:45:05.3116315 Thread:#1 SharpCap.UI.SharpCapForm..ctor() :: View model initialized
Info: 13:45:05.3383569 Thread:#1 SharpCap.UI.SharpCapForm..ctor() :: Preview host created
Info: 13:45:05.3413551 Thread:#1 SharpCap.Base.Utilities.Logger.LogStackTrace(LogLevel level, String msg) :: Parent being changed on PreviewPanel
at SharpCap.UI.ScrollZoomForm.OnParentChanged(Object sender, EventArgs eventArgs)

Debug: 13:45:05.6608789 Thread:#1 SharpCap.UI.SharpCapForm..ctor() :: Ended
Debug: 13:45:05.7638153 Thread:#1 SharpCap.UI.SharpCapForm.SharpCapForm_Load(Object sender, EventArgs e) :: Started
Debug: 13:45:05.7648154 Thread:#1 SharpCap.UI.SharpCapForm.SharpCapForm_Load(Object sender, EventArgs e) :: Ended
Info: 13:45:05.8827441 Thread:LogInfo Thread#9 SharpCap.LogSystemInfo.ThreadProc() :: CPU : Intel(R) Core(TM) i5-2430M CPU @ 2.40GHz with 4 cores.
Debug: 13:45:05.9077254 Thread:#1 SharpCap.UI.SharpCapForm.SharpCap_Shown(Object sender, EventArgs e) :: Started
Debug: 13:45:05.9337111 Thread:#1 SharpCap.UI.SharpCapForm.SharpCap_Shown(Object sender, EventArgs e) :: Timebomb checked
Info: 13:45:05.9397051 Thread:#1 SharpCap.Models.Application.get_Cameras() :: Starting scan for cameras
Debug: 13:45:05.9457024 Thread:#7 SharpCap.Cameras.Basler.BaslerDeviceEnumerator.GetDevices() :: Started
Debug: 13:45:05.9566960 Thread:#7 SharpCap.Cameras.Basler.BaslerDeviceEnumerator.GetDevices() :: Ended
Info: 13:45:05.9676890 Thread:#7 SharpCap.Base.SimpleDeviceEnumerator.GetDevices(Func`1 deviceNameFinder, String infoText, Func`2 fullNameToDispayName, Func`3 tagCreatorFunc) :: FindCameras - found 0 cameras
Warning: 13:45:06.1295884 Thread:#7 SharpCap.MultiCaptureProvider.DevicesFromEnumerator(IDeviceEnumerator deviceEnumerator) :: Exception from fetching cameras from provider : Atik Cameras (Experimental) : Unable to load DLL 'AtikCameras.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
Info: 13:45:06.1495761 Thread:LogInfo Thread#9 SharpCap.LogSystemInfo.ThreadProc() :: OS Full Name = Microsoft Windows 10 Home
Info: 13:45:06.1505757 Thread:LogInfo Thread#9 SharpCap.LogSystemInfo.ThreadProc() :: Windows Media Version : '12.0.18362.900'
Info: 13:45:06.1975462 Thread:#10 SharpCap.Base.SimpleDeviceEnumerator.GetDevices(Func`1 deviceNameFinder, String infoText, Func`2 fullNameToDispayName, Func`3 tagCreatorFunc) :: QHYCameraFinder - found 0 cameras
Debug: 13:45:06.2435200 Thread:#10 SharpCap.Cameras.Fake.FakeDeviceEnumerator.GetDevices() :: Started
Debug: 13:45:06.2435200 Thread:#10 SharpCap.Cameras.Fake.FakeDeviceEnumerator.GetDevices() :: Ended
Info: 13:45:06.3093213 Thread:#1 SharpCap.MultiCaptureProvider.PostProcessDevicesList(List`1 items, BrandingInfo brandingInfo) :: Detected Camera: TOSHIBA Web Camera - MP (DirectShow Cameras)
Info: 13:45:06.3093213 Thread:#1 SharpCap.MultiCaptureProvider.PostProcessDevicesList(List`1 items, BrandingInfo brandingInfo) :: Detected Camera: StarShootG (DirectShow Cameras)
Info: 13:45:06.3093213 Thread:#1 SharpCap.MultiCaptureProvider.PostProcessDevicesList(List`1 items, BrandingInfo brandingInfo) :: Detected Camera: Orion SSAG Camera (ASCOM Cameras)
Info: 13:45:06.3093213 Thread:#1 SharpCap.MultiCaptureProvider.PostProcessDevicesList(List`1 items, BrandingInfo brandingInfo) :: Detected Camera: Camera V2 simulator (ASCOM Cameras)
Info: 13:45:06.3093213 Thread:#1 SharpCap.MultiCaptureProvider.PostProcessDevicesList(List`1 items, BrandingInfo brandingInfo) :: Detected Camera: ASCOM StarShootG Camera Driver (ASCOM Cameras)
Info: 13:45:06.3093213 Thread:#1 SharpCap.MultiCaptureProvider.PostProcessDevicesList(List`1 items, BrandingInfo brandingInfo) :: Detected Camera: Folder Monitor Camera (Virtual Cameras)
Info: 13:45:06.3093213 Thread:#1 SharpCap.MultiCaptureProvider.PostProcessDevicesList(List`1 items, BrandingInfo brandingInfo) :: Detected Camera: Test Camera 1 (Deep Sky) (Test Cameras)
Info: 13:45:06.3093213 Thread:#1 SharpCap.MultiCaptureProvider.PostProcessDevicesList(List`1 items, BrandingInfo brandingInfo) :: Detected Camera: Test Camera 2 (High Speed) (Test Cameras)
Info: 13:45:06.3323077 Thread:#1 SharpCap.ViewModels.SharpCapViewModel.appModel_OnCaptureEvent(Object sender, CaptureEventArgs e) :: CameraListUpdated event received in UI thread
Debug: 13:45:06.4587663 Thread:#1 SharpCap.UI.SharpCapForm.SharpCap_Shown(Object sender, EventArgs e) :: Docking setup
Debug: 13:45:06.4597659 Thread:#1 SharpCap.UI.SharpCapForm.SharpCap_Shown(Object sender, EventArgs e) :: Startup scripts (if any) run
Debug: 13:45:06.4607653 Thread:#1 SharpCap.UI.SharpCapForm.SharpCap_Shown(Object sender, EventArgs e) :: Menu updated
Info: 13:45:06.6051752 Thread:#1 SharpCap.SharpCapApp.get_ForceSoftwareRendering() :: WPF Rendering tier is 2
Debug: 13:45:10.9106473 Thread:#1 SharpCap.UI.SharpCapForm.SharpCap_Shown(Object sender, EventArgs e) :: Splash and tips done
Debug: 13:45:10.9716418 Thread:#1 SharpCap.UI.SharpCapForm.SharpCap_Shown(Object sender, EventArgs e) :: Ended
Info: 13:45:17.4149231 Thread:#1 SharpCap.Models.Application+<>c__DisplayClass47_0.<set_SelectedCamera>b__0() :: Changing camera from none to Test Camera 1 (Deep Sky)
Info: 13:45:17.4658936 Thread:#1 SharpCap.ViewModels.SharpCapViewModel.appModel_OnCaptureEvent(Object sender, CaptureEventArgs e) :: OpeningDevice event received in UI thread
Debug: 13:45:17.4698888 Thread:#1 SharpCap.MultiCaptureProvider.OpenDevice(DeviceTagData deviceTag) :: Opening device : Test Camera 1 (Deep Sky) (via Test Cameras)
Info: 13:45:17.4768837 Thread:#1 SharpCap.Base.CaptureProviderBase`1.OpenDevice(DeviceTagData dtd) :: Started
Debug: 13:45:17.4768837 Thread:#1 SharpCap.Base.SimpleCaptureProvider.SetupDevice(DeviceTagData dtd) :: Started
Debug: 13:45:17.4798820 Thread:#1 SharpCap.Base.SimpleCaptureProvider.SetupDevice(DeviceTagData dtd) :: Ended
Info: 13:45:17.4848788 Thread:#1 SharpCap.Base.CaptureProviderBase`1.CreateCaptureControl() :: Started
Debug: 13:45:17.4858780 Thread:#1 SharpCap.Base.SimpleCaptureProvider.GetControls() :: Started
Info: 13:45:17.5058659 Thread:#1 SharpCap.Base.ColourSpacePropertyControl..ctor(IEnumFeature mainFeature, List`1 colourSpaces, IPreviewControl previewControl) :: Colour space RGB32 is valid.
Info: 13:45:17.5058659 Thread:#1 SharpCap.Base.ColourSpacePropertyControl..ctor(IEnumFeature mainFeature, List`1 colourSpaces, IPreviewControl previewControl) :: Colour space MONO8 is valid.
Info: 13:45:17.5058659 Thread:#1 SharpCap.Base.ColourSpacePropertyControl..ctor(IEnumFeature mainFeature, List`1 colourSpaces, IPreviewControl previewControl) :: Colour space MONO16 is valid.
Info: 13:45:17.5058659 Thread:#1 SharpCap.Base.ColourSpacePropertyControl..ctor(IEnumFeature mainFeature, List`1 colourSpaces, IPreviewControl previewControl) :: Colour space RAW16 is valid.
Info: 13:45:17.5058659 Thread:#1 SharpCap.Base.ColourSpacePropertyControl..ctor(IEnumFeature mainFeature, List`1 colourSpaces, IPreviewControl previewControl) :: Colour space RAW8 is valid.
Info: 13:45:17.7041132 Thread:#1 SharpCap.Base.Memory.Allocator.NumberOfMegabytesToMap() :: Paged memory check based on total memory of 6091Mb, available of 3702Mb
Info: 13:45:17.7041132 Thread:#1 SharpCap.Base.Memory.Allocator.NumberOfMegabytesToMap() :: Paged memory enabled at 1024Mb for Frame Cache and 1024Mb for LiveStack/Misc on 64 bit system.
Info: 13:45:17.7041132 Thread:#1 SharpCap.Base.Memory.Allocator..cctor() :: Assigning 1024Mb to non-pool memory and 1024Mb to the frame pool.
Info: 13:45:17.7920588 Thread:#1 SharpCap.Base.CaptureProviderBase`1.CreateCaptureControl() :: Ended
Info: 13:45:17.7920588 Thread:#1 SharpCap.Base.CaptureProviderBase`1.OpenDevice(DeviceTagData dtd) :: Ended
Debug: 13:45:17.7930584 Thread:#1 SharpCap.Models.Camera.ApplyDefaultProfile() :: Started
Info: 13:45:17.8160440 Thread:#1 SharpCap.MultiCaptureProvider.StartPreview() :: Starting preview on Test Camera 1 (Deep Sky)
Info: 13:45:17.8210409 Thread:#1 SharpCap.Base.CaptureProviderBase`1.StartPreview() :: Started
Info: 13:45:17.8270374 Thread:#1 SharpCap.Base.CaptureProviderBase`1.StartPreview() :: Starting Preview on Test Camera 1 (Deep Sky), 1280x960, Bayer_RGGB, 16bits
Debug: 13:45:17.8320341 Thread:#1 SharpCap.Base.BaseImageProvider.Start() :: Started
Debug: 13:45:17.8390314 Thread:#1 SharpCap.Base.CameraProxyBase.StartPreview() :: Started
Debug: 13:45:17.8410293 Thread:Grab Thread#22 SharpCap.Base.CameraProxyBase.GrabThreadProc() :: Started
Debug: 13:45:17.9079877 Thread:#1 SharpCap.Base.CameraProxyBase.StartPreview() :: Ended
Debug: 13:45:17.9089876 Thread:#1 SharpCap.Base.BaseImageProvider.Start() :: Ended
Info: 13:45:17.9129852 Thread:#1 SharpCap.MultiCaptureProvider.SendCaptureEvent(Object sender, CaptureEventArgs e) :: Capture Event : StartPreview
Debug: 13:45:17.9179852 Thread:#1 SharpCap.UI.WPFControlForm.InitControls(CaptureControl captureControl, String deviceName) :: Started
Debug: 13:45:17.9669499 Thread:#1 SharpCap.UI.WPFControlForm.InitControls(CaptureControl captureControl, String deviceName) :: Ended
Info: 13:45:18.0389075 Thread:#1 SharpCap.Models.Transforms.set_SelectedTransform(Transform value) :: Selecting transform None
Info: 13:45:18.0439037 Thread:#1 SharpCap.ViewModels.SharpCapViewModel.appModel_OnCaptureEvent(Object sender, CaptureEventArgs e) :: StartPreview event received in UI thread
Info: 13:45:18.0459029 Thread:#1 SharpCap.ImageProcessing.AstroTortillaPlateSolver.AutodetectCygwinBinPath() :: Found ASPS plate solver found at C:\Users\ruair\AppData\Local\Astrometry\bin
Info: 13:45:18.0479016 Thread:#1 SharpCap.Base.CaptureProviderBase`1.StartPreview() :: Ended
Debug: 13:45:18.0618915 Thread:#1 SharpCap.Models.Camera.ApplyDefaultProfile() :: Ended (Profile applied)
Debug: 13:45:24.7016415 Thread:#1 SharpCap.UI.SharpCapForm.CommandToolStripItem_Click(Object sender, EventArgs e) :: Button Pressed Plate &Solve
Debug: 13:45:24.7086366 Thread:#1 SharpCap.Models.PlateSolveOnly+<Solve>d__7.MoveNext() :: Started
Info: 13:45:24.8427712 Thread:#1 SharpCap.ViewModels.SharpCapViewModel.appModel_OnCaptureEvent(Object sender, CaptureEventArgs e) :: CapturingFrame event received in UI thread
Info: 13:45:24.9108854 Thread:#1 SharpCap.MultiCaptureProvider.SendCaptureEvent(Object sender, CaptureEventArgs e) :: Capture Event : StartCapture
Info: 13:45:24.9108854 Thread:#1 SharpCap.ViewModels.SharpCapViewModel.appModel_OnCaptureEvent(Object sender, CaptureEventArgs e) :: StartCapture event received in UI thread
Info: 13:45:25.0277324 Thread:Single Frame Thread#24 SharpCap.Base.FileWriters.FileWriterBase.Initialize(IFileNameProvider fnp, ColourSpaceId colourSpaceId, Int32 width, Int32 height, Int32 bytesPerPixelElement, Int32 significantBitDepth, Int32 colourPlanes, String DeviceName) :: Initializing PngFileWriter at 1280x960x1x16bits, Bayer_RGGB, 2 bytes per PEL for Test Camera 1 (Deep Sky)
Debug: 13:45:25.0337297 Thread:Single Frame Thread#24 SharpCap.Base.BaseImageProvider.OnStartCapture(IColourSpace colourSpaceControl, Size sz) :: Started
Debug: 13:45:25.0347292 Thread:Single Frame Thread#24 SharpCap.Base.BaseImageProvider.OnStartCapture(IColourSpace colourSpaceControl, Size sz) :: Ended
Debug: 13:45:25.0367278 Thread:Capture Write Thread#25 SharpCap.Base.BaseImageProvider.RunWriteThread() :: Started
Info: 13:45:25.4035032 Thread:#1 SharpCap.MultiCaptureProvider.SendCaptureEvent(Object sender, CaptureEventArgs e) :: Capture Event : StoppingCapture
Info: 13:45:25.4035032 Thread:#1 SharpCap.ViewModels.SharpCapViewModel.appModel_OnCaptureEvent(Object sender, CaptureEventArgs e) :: StoppingCapture event received in UI thread
Debug: 13:45:25.4035032 Thread:Single Frame Thread#24 SharpCap.Base.BaseImageProvider.BeforeStopCapture() :: Started
Debug: 13:45:25.4045020 Thread:#1 SharpCap.Models.Camera.<ImplOnCaptureEvent>b__16_1() :: Status update after capture complete.
Debug: 13:45:25.4055027 Thread:Capture Write Thread#25 SharpCap.Base.BaseImageProvider.RunWriteThread() :: Ended (WriteFrames is false)
Debug: 13:45:25.4055027 Thread:Single Frame Thread#24 SharpCap.Base.BaseImageProvider.BeforeStopCapture() :: Ended
Info: 13:45:25.4085000 Thread:#1 SharpCap.MultiCaptureProvider.SendCaptureEvent(Object sender, CaptureEventArgs e) :: Capture Event : StopCapture
Debug: 13:45:25.4085000 Thread:#1 SharpCap.Models.Application.OnStopCapture() :: Started
Debug: 13:45:25.4085000 Thread:#1 SharpCap.Models.Application.OnStopCapture() :: Ended
Info: 13:45:25.4085000 Thread:#1 SharpCap.ViewModels.SharpCapViewModel.appModel_OnCaptureEvent(Object sender, CaptureEventArgs e) :: StopCapture event received in UI thread
Info: 13:45:25.4094968 Thread:#1 SharpCap.ImageProcessing.AstroTortillaPlateSolver.AutodetectCygwinBinPath() :: Found ASPS plate solver found at C:\Users\ruair\AppData\Local\Astrometry\bin
Debug: 13:45:25.4104956 Thread:#1 SharpCap.UI.SharpCapForm.OnStopCapture() :: Started
Debug: 13:45:25.4154928 Thread:#1 SharpCap.UI.SharpCapForm.OnStopCapture() :: Ended
Info: 13:45:25.4194892 Thread:#1 SharpCap.Models.Camera.WriteCaptureSettingsTextAndHistogram(Boolean writeHistogram, String filename, String contents) :: Writing capture settings file to C:\Users\ruair\AppData\Local\Temp\tmp9982.tmp.png.CameraSettings.txt
Info: 13:45:25.5314210 Thread:#1 SharpCap.ViewModels.SharpCapViewModel.appModel_OnCaptureEvent(Object sender, CaptureEventArgs e) :: CaptureFrameComplete event received in UI thread
Info: 13:45:26.0344626 Thread:#1 SharpCap.Models.PlateSolveOnly+<Solve>d__7.MoveNext() :: Captured single frame to C:\Users\ruair\AppData\Local\Temp\tmp9982.tmp.png for plate solving, Exists?: True
Info: 13:45:26.0514713 Thread:#1 SharpCap.ImageProcessing.AstroTortillaPlateSolver.AutodetectCygwinBinPath() :: Found ASPS plate solver found at C:\Users\ruair\AppData\Local\Astrometry\bin
Info: 13:45:26.0534691 Thread:#1 SharpCap.Models.PlateSolveOnly+<Solve>d__7.MoveNext() :: Starting blind plate solve
Debug: 13:45:26.0594646 Thread:#1 SharpCap.ImageProcessing.AstroTortillaPlateSolver+<SolveFrameAsync>d__18.MoveNext() :: Started
Info: 13:45:26.0664434 Thread:#1 SharpCap.ImageProcessing.ProcessRunner+<RunCommand>d__0.MoveNext() :: Running external process: C:\Users\ruair\AppData\Local\Astrometry\bin\cygpath -w /tmp
Info: 13:45:26.3768121 Thread:#1 SharpCap.ImageProcessing.AstroTortillaPlateSolver+<SolveFrameAsync>d__18.MoveNext() :: Astrotortilla temp folder set to C:\Users\ruair\AppData\Local\Astrometry\tmp\ecb64b23-dc4c-4f3d-9ca6-975a0450a701 (/tmp/ecb64b23-dc4c-4f3d-9ca6-975a0450a701)
Info: 13:45:26.4357752 Thread:#1 SharpCap.ImageProcessing.AstroTortillaPlateSolver+<SolveImpl>d__19.MoveNext() :: Astrotortilla plate solve command is: solve-field -b /etc/astrometry/backend.cfg --sigma 50 -r --objs 100 --no-plots -N none -L 0.1 -H 20 -u degwidth -D /tmp/ecb64b23-dc4c-4f3d-9ca6-975a0450a701 /tmp/ecb64b23-dc4c-4f3d-9ca6-975a0450a701/frame.png

Warning: 13:45:26.4367746 Thread:#1 SharpCap.ImageProcessing.AsyncProcessRunner.Start(String cpath, CancellationToken cancellationToken, String[] args) :: C:\Users\ruair\AppData\Local\Astrometry\bin\bash does not exist.
Info: 13:45:26.4367746 Thread:#1 SharpCap.ImageProcessing.AsyncProcessRunner.Start(String cpath, CancellationToken cancellationToken, String[] args) :: Running external command : C:\Users\ruair\AppData\Local\Astrometry\bin\bash --login -c /tmp/ecb64b23-dc4c-4f3d-9ca6-975a0450a701/script.sh
Info: 13:45:26.8836863 Thread:#1 SharpCap.Models.PlateSolveOnly+<>c__DisplayClass7_0.<Solve>b__2(Object s, SolveProgressEventArgs a) :: Plate solving : Reading input file 1 of 1: "/tmp/ecb64b23-dc4c-4f3d-9ca6-975a0450a701/frame.png"...
Info: 13:45:28.6452482 Thread:#1 SharpCap.Models.PlateSolveOnly+<>c__DisplayClass7_0.<Solve>b__2(Object s, SolveProgressEventArgs a) :: Plate solving : Extracting sources...
Info: 13:45:39.0527966 Thread:#1 SharpCap.Models.PlateSolveOnly+<>c__DisplayClass7_0.<Solve>b__2(Object s, SolveProgressEventArgs a) :: Plate solving : simplexy: found 3715 sources.
Info: 13:45:40.8198101 Thread:#1 SharpCap.Models.PlateSolveOnly+<>c__DisplayClass7_0.<Solve>b__2(Object s, SolveProgressEventArgs a) :: Plate solving : Solving...
Warning: 13:45:41.0390833 Thread:#1 SharpCap.ImageProcessing.AstroTortillaPlateSolver+<SolveImpl>d__19.MoveNext() :: StdErr from plate solver : Read file /tmp/tmp.ppm.im53dj: 1280 x 960 pixels x 1 color(s); maxval 65535
Using 16-bit output
solve-field.c:518:run_backend backend failed. Command that failed was:
/usr/lib/astrometry/bin/backend --config /etc/astrometry/backend.cfg /tmp/ecb64b23-dc4c-4f3d-9ca6-975a0450a701/frame.axy
ioutils.c:605:run_command_get_outputs Command failed: return value 255

Info: 13:45:41.0390833 Thread:#1 SharpCap.Models.PlateSolveOnly+<>c__DisplayClass7_0.<Solve>b__2(Object s, SolveProgressEventArgs a) :: Plate solving : You must list at least one index in the config file (/etc/astrometry/backend.cfg)
Warning: 13:45:41.0400863 Thread:#1 SharpCap.ImageProcessing.AstroTortillaPlateSolver+<SolveImpl>d__19.MoveNext() :: Plate Solving Failed with 255 : Read file /tmp/tmp.ppm.im53dj: 1280 x 960 pixels x 1 color(s); maxval 65535
Using 16-bit output
solve-field.c:518:run_backend backend failed. Command that failed was:
/usr/lib/astrometry/bin/backend --config /etc/astrometry/backend.cfg /tmp/ecb64b23-dc4c-4f3d-9ca6-975a0450a701/frame.axy
ioutils.c:605:run_command_get_outputs Command failed: return value 255

Error: 13:45:41.0580748 Thread:#1 SharpCap.ImageProcessing.AstroTortillaPlateSolver+<SolveFrameAsync>d__18.MoveNext() :: Exception of type 'Exception' from Failed to plate solve : Plate solving failed : Read file /tmp/tmp.ppm.im53dj: 1280 x 960 pixels x 1 color(s); maxval 65535
Using 16-bit output
solve-field.c:518:run_backend backend failed. Command that failed was:
/usr/lib/astrometry/bin/backend --config /etc/astrometry/backend.cfg /tmp/ecb64b23-dc4c-4f3d-9ca6-975a0450a701/frame.axy
ioutils.c:605:run_command_get_outputs Command failed: return value 255

Stack Trace: at SharpCap.ImageProcessing.AstroTortillaPlateSolver.<SolveImpl>d__19.MoveNext() in C:\Documents\Source Code\SharpCap3.2\src\SharpCap.ImageProcessing\AstroTortillaPlateSolver.cs:line 209
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SharpCap.ImageProcessing.AstroTortillaPlateSolver.<SolveFrameAsync>d__18.MoveNext() in C:\Documents\Source Code\SharpCap3.2\src\SharpCap.ImageProcessing\AstroTortillaPlateSolver.cs:line 155
User avatar
admin
Site Admin
Posts: 13344
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Plate solving dilemma

#2

Post by admin »

Hi,

I think the key line in that log file is this one

Code: Select all


Info: 13:45:41.0390833 Thread:#1 SharpCap.Models.PlateSolveOnly+<>c__DisplayClass7_0.<Solve>b__2(Object s, SolveProgressEventArgs a) :: Plate solving : You must list at least one index in the config file (/etc/astrometry/backend.cfg)
That's Astrotortilla complaining that it can't find any index files. If it's installed to the usual location then the index files should be in the folder

Code: Select all

C:\cygwin\usr\share\astrometry\data
And the configuration file should be in

Code: Select all

C:\cygwin\etc\astrometry
The data folder should be full of lots of large fits files and the backend.cfg file should have this section in it which would then let the platesolver find the indexes properly

Code: Select all

# In which directories should we search for indices?
add_path /usr/share/astrometry/data

# Load any indices found in the directories listed above.
autoindex
Worth checking that is to see if anything looks amiss.

Cheers, Robin
rvel
Posts: 7
Joined: Tue Aug 18, 2020 5:34 pm

Re: Plate solving dilemma

#3

Post by rvel »

Robin,

Thank you for your suggestions.

The index files are where they should be and the config file has the information you pointed out. The problem doesn't seem to be with Astrotortilla itself. In fact, Astrotortilla successfully solves the nebula when it is used in freestanding mode. {I had to change the png image to fits so that Astrotortilla could deal with it.) The log file I sent yesterday mentions "read file /tmp/tmp.ppm.im53dj". (The error message that appears refers to this.) This file does not seem to exist.

I would hate to be raising a hare that exists only in my own back yard. But I am confused. Is this a problem with SharpCap, or Astrotortilla or something else? Finding a solution, or even an explanation, is certainly beyond my skills or knowledge.

PS. As a long retired mathematician I really appreciate your scientific approach in the program and in a YouTube video I saw of a lecture you gave.
User avatar
admin
Site Admin
Posts: 13344
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Plate solving dilemma

#4

Post by admin »

Hi,

the line

Code: Select all

Warning: 13:45:41.0390833 Thread:#1 SharpCap.ImageProcessing.AstroTortillaPlateSolver+<SolveImpl>d__19.MoveNext() :: StdErr from plate solver : Read file /tmp/tmp.ppm.im53dj: 1280 x 960 pixels x 1 color(s); maxval 65535
is a red herring - the 'StdErr' here refers to the fact that SharpCap found this message printed on the standard error output stream of the plate solving script. However it's fairly standard to use that stream for progress messages as well as errors, which is the case here.

Please can you post a copy of all the contents of the backend.cfg file and a list of the files in the data folder. It would also be good to know what version of Astrotortilla you have - with that info I should be able to recreate the situation and see if I can understand what is going on.

Robin

PS. Glad you liked the talk - as an ex scientist myself I do enjoy getting to the bottom of a problem and understanding how things really work :)
rvel
Posts: 7
Joined: Tue Aug 18, 2020 5:34 pm

Re: Plate solving dilemma

#5

Post by rvel »

Dear Robin,

I have attached the two files you asked for. I hope they help. I' was using AstroTortilla 0.7 but last night updated to 0.8 to see if that made a difference. None!
Attachments
backend,cfg.txt
(2.53 KiB) Downloaded 75 times
filenames.txt
(69.61 KiB) Downloaded 69 times
User avatar
admin
Site Admin
Posts: 13344
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Plate solving dilemma

#6

Post by admin »

Hi,

I can see a couple of odd things in the list of files in your data folder

firstly, that folder seems to contain a number of subdirectories that look like copies of the things you would expect to find in the top level c:\cygwin folder - bin, dev, etc, home, lib, temp, usr. That's weird – I wouldn't expect to see those there and I don't see them in my data folder.

Secondly, you are missing the wide-angle indices - index-4211 through 4219 - I can't see why this would make a big difference because it should see the indexes that are there, but it's to have those wide-angle ones missing as they are the smallest files.

Your config files identical to the one I have on my system where Astro tortilla works, so there is nothing to be gained by worrying about that file. I would try installing the wide-angle indices and if that makes no difference then I would be very tempted to uninstall astro tortilla, then delete the c:\cygwin folder manually to get rid of any leftovers and then reinstall from scratch. If you wanted you could copy the data folder files somewhere safe to save the time of re-downloading index data.

Cheers, Robin
rvel
Posts: 7
Joined: Tue Aug 18, 2020 5:34 pm

Re: Plate solving dilemma

#7

Post by rvel »

Robin,

Many thanks for the suggestions. I had noticed the subdirectories, almost all were empty, and had tried by renaming them, then deleting them. it made no difference. After getting your suggestions I followed them and reinstalled AstroTortilla with the index files. I can solve other files but not the SharpCap samples. I get the same error message. Nothing has changed.

Sorry for the trouble.
User avatar
admin
Site Admin
Posts: 13344
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Plate solving dilemma

#8

Post by admin »

Sorry, I think I have been leading you on a wild goose chase – the reason was there in the log and I just hadn't spotted it

Code: Select all

Info: 13:45:18.0459029 Thread:#1 SharpCap.ImageProcessing.AstroTortillaPlateSolver.AutodetectCygwinBinPath() :: Found ASPS plate solver found at C:\Users\ruair\AppData\Local\Astrometry\bin
SharpCap automatically looks for plate solving engines based on the astrometry.net code - there are three that it can find

ASPS
AnSvr
AstroTortilla

In this case it looks like previously installed ASPS and SharpCap has spotted that and used it instead of AstroTortilla. It's probably ASPS that doesn't have any index files installed :(

The correct solution is going to be either uninstalling the partial install of ASPS or going to the SharpCap plate solving settings and manually telling it to use AstroTortilla instead of allowing it to autodetect.

Sorry for not spotting this earlier, Robin
rvel
Posts: 7
Joined: Tue Aug 18, 2020 5:34 pm

Re: Plate solving dilemma

#9

Post by rvel »

Many thanks, Robin.

I really appreciate your help. The dilemma is now resolved and the problem SOLVED!

I had noticed ASPS in the log. I use it with ATP but the location for index files there is c:\cygwin\...... as you had suggested, and which is the default AstroTortilla location. However this is not the default index location in ASPS. It appears that SharpCap was looking for index files in the default location despite the fact that the location in ASPS was set to the AstroTortilla location. The solution was to copy index files into the default ASPS location. This had already been done on the other computer which is why the plate solving worked there. I did some other experiments - like deleting ASPS and SharpCap and then reinstalllng SharpCap. But it seems that the new installation remembered that ASPS had once been installed so the plate solving didn't work.
User avatar
admin
Site Admin
Posts: 13344
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Plate solving dilemma

#10

Post by admin »

Hi,

Glad to hear that you have things working now. I'm going to try to improve the plate solver detection code in a future version to do a more thorough check of whether the application that it finds is configured correctly.

Cheers, Robin
Post Reply