Page 1 of 1

Unable to load SC 32bit but 64bit loads ok

Posted: Tue Feb 02, 2021 7:12 pm
by stash
OK story

1. Had been working with 32bit SC Pro ok

2. Changed Platesolving to try and pick up Ansvr as SC wouldn't find it - had been using ASTAP ok

3. Marked enter manually and copy and pasted location of Ansvr

4. Hit Apply - SC creates exception

5. OK I thought just repair to get rid of filename as that was the only change

6. Repair worked but luanch of SC 32 fails - just see splash then nothing

7. Tried uninstalling SC (32bit) - ran ok and nothing in folder - did restart

8. Install SC 32bit - install ok but launch fails as before

9. Tried SC 64 install - this installs OK and loads ok except for "64 bit needs AV instruction set" - my test PC is AMD 64bit of a number of years ok. But appears to run e.g. alterted Platesolving and hit "Test platesolve" that worked (still doesn't find Ansvr).

I need the 32bit to work and it looks like there is something left in the registery that only 32bit app uses but I need to be able to get around this problem

event viewer has 2 errors

--------------------------------
Application: SharpCap.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ArgumentException
at System.IO.Path.CheckInvalidPathChars(System.String, Boolean)
at System.IO.Path.Combine(System.String, System.String)
at SharpCap.ImageProcessing.AstrometryNetPlateSolveFactory.CheckInstalledImpl()
at SharpCap.ImageProcessing.ManualPlateSolverFactory.CheckInstalledImpl()
at SharpCap.ImageProcessing.AstrometryNetPlateSolveFactory.CheckInstalled()
at SharpCap.ImageProcessing.CombinedAstrometryPlateSolveFactory.CheckInstalledImpl()
at SharpCap.ImageProcessing.CombinedAstrometryPlateSolveFactory.CheckInstalled()
at SharpCap.Models.PlateSolveFactory.CheckInstalled()
at SharpCap.Models.Application..ctor(SharpCap.UI.IDisableableWindow, SharpCap.UI.NightMode, Boolean)
at SharpCap.UI.SharpCapForm..ctor()
at SharpCap.Program.RunApp(Boolean)
at SharpCap.Program.Main()
at SharpCap.Launcher.Program.Main()
-------------------------

and

------------------------
Faulting application name: SharpCap.exe, version: 3.2.6473.0, time stamp: 0x5ff0805e
Faulting module name: KERNELBASE.dll, version: 10.0.19041.746, time stamp: 0x197b16c5
Exception code: 0xe0434352
Fault offset: 0x0012a842
Faulting process id: 0x261c
Faulting application start time: 0x01d6f993ec023bb2
Faulting application path: C:\Program Files (x86)\SharpCap 3.2\SharpCap.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: 50f48ca7-a679-446a-8079-2a578b2c0a58
Faulting package full name:
Faulting package-relative application ID:
-----------------


No log file exists under 32bit folder.

Re: Unable to load SC 32bit but 64bit loads ok

Posted: Tue Feb 02, 2021 7:23 pm
by admin
Hi,

I think you will need to make a small registry change to fix this - sounds like the saved location has an invalid character in it (an '&' or '|' maybe?). If you wipe the saved location then all should be well hopefully.

Use regedit to reset the value of 'PlateSolve.SolverLocation' in HKEY_CURRENT_USER\SOFTWARE\AstroSharp Limited\SharpCap\3.2\misc to an empty string (or delete PlateSolve.SolverLocation entirely). See the screenshot below.

Hope this helps,

Robin
Capture.JPG
Capture.JPG (112.56 KiB) Viewed 795 times

Re: Unable to load SC 32bit but 64bit loads ok

Posted: Tue Feb 02, 2021 7:28 pm
by stash
Already found line see attached . So will empty string and let you know. :-)

Re: Unable to load SC 32bit but 64bit loads ok

Posted: Tue Feb 02, 2021 7:30 pm
by stash
OK emptied string and SC 32bit now loads ok.

Thanks

Re: Unable to load SC 32bit but 64bit loads ok

Posted: Tue Feb 02, 2021 7:35 pm
by admin
Ah, I see, you copied in the whole line from the console including the '>' character (from the prompt) which causes the problem.

I think the correct value would be

Code: Select all

C:\Users\[YOUR USER NAME]\AppData\Local\cygwin_ansvr\bin\solve-field
Not sure that the %LOCALAPPDATA% bit would work - I suspect not.

Robin

Re: Unable to load SC 32bit but 64bit loads ok

Posted: Tue Feb 02, 2021 7:48 pm
by stash
ok no problem