Unable to load SC 32bit but 64bit loads ok

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
stash
Posts: 6
Joined: Tue Feb 02, 2021 6:56 pm

Unable to load SC 32bit but 64bit loads ok

#1

Post 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.
User avatar
admin
Site Admin
Posts: 13523
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

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

#2

Post 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 669 times
stash
Posts: 6
Joined: Tue Feb 02, 2021 6:56 pm

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

#3

Post by stash »

Already found line see attached . So will empty string and let you know. :-)
Attachments
sharpcap-1.png
sharpcap-1.png (68.8 KiB) Viewed 668 times
stash
Posts: 6
Joined: Tue Feb 02, 2021 6:56 pm

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

#4

Post by stash »

OK emptied string and SC 32bit now loads ok.

Thanks
User avatar
admin
Site Admin
Posts: 13523
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

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

#5

Post 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
stash
Posts: 6
Joined: Tue Feb 02, 2021 6:56 pm

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

#6

Post by stash »

ok no problem
Post Reply