Platesolve2 solver failure

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
Jdef
Posts: 5
Joined: Sun Jul 14, 2024 2:44 pm

Platesolve2 solver failure

#1

Post by Jdef »

Hi,
when using Platesolve2 as solver I got an error message.
Capture d'écran 2024-07-14 163918.png
Capture d'écran 2024-07-14 163918.png (123.04 KiB) Viewed 1444 times
Best regards
Attachments
Log_2024-07-15T12_14_33-17336.log
(44.08 KiB) Downloaded 36 times
User avatar
admin
Site Admin
Posts: 17545
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Platesolve2 solver failure

#2

Post by admin »

Hi,

OK, I see the problem - I forgot to force the decimal separator to '.' rather than ',' when setting up the parameters. Because your PC is set up with ',' as the decimal separator, the parameter list to PS2 looks like it has too many entries.

I will fix for the next update - thanks for reporting!

cheers,

Robin
Jdef
Posts: 5
Joined: Sun Jul 14, 2024 2:44 pm

Re: Platesolve2 solver failure

#3

Post by Jdef »

Hi Robin,
The modification is Ok, Platesolve2 is correctly launched. However, a new "funny" bug has arised : Platesolve2 got a solution, but SharpCap says that is a failure because ... it got a valid solution. :shock:
I have seen the platesolve2 window confirming the solving before it is force closed, even if we do not request to.

This does not happen when we launch the test in the parameter menu/platesolving.

Best regards
Jacques
Attachments
Capture d'écran 2024-07-22 214750.png
Capture d'écran 2024-07-22 214750.png (491.06 KiB) Viewed 1381 times
User avatar
admin
Site Admin
Posts: 17545
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Platesolve2 solver failure

#4

Post by admin »

Hi,

can you send me the log file from that run please - the error seems to indicate that SharpCap thought the result file created by PlateSolve2 didn't match the expected format (or that the first flag in the result file indicated failure). The PlateSolve2 result file will be included in the SharpCap log, so I can work from that to understand what went wrong.

thanks,

Robin
Jdef
Posts: 5
Joined: Sun Jul 14, 2024 2:44 pm

Re: Platesolve2 solver failure

#5

Post by Jdef »

Hi,
here is the log file.
The failure is reported at the time code 22:29:38.279326, seems to be again the decimal point problem, but that time in the platesolve2 results (lines 329 and 330).
Best regards
jacques
Attachments
Log_2024-07-24T22_28_54-2408.log
(77.25 KiB) Downloaded 36 times
User avatar
admin
Site Admin
Posts: 17545
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Platesolve2 solver failure

#6

Post by admin »

Hi Jacques,

yes, it's an issue with the use of a ',' as the decimal separator :(

SharpCap expects to find 3 numbers separated by commas in the first line of the log, but because PlateSolve2 has used the regional settings from your computer for formatting numbers and also uses a ',' to separate the values, it looks like five numbers instead.

Code: Select all

Info   	22:29:38.274443	#1 	Plate solving log:						
Info   	22:29:38.274596	#1 	5,19605741,0,15447957,1					
Info   	22:29:38.274736	#1 	4,39311,189,08,-0,99972,-0,00009,140	
Really it's a platesolve2 issue - it should either use something like a ';' to separate the values to avoid confusion or ignore the regional settings and use a '.' for a decimal separator. However, I don't suppose it will be updated, so I will try to workaround in SharpCap. I guess if I see four commas and five values in the first line then I can assume that the decimal separator is a ',' and every second comma should actually be a '.'



cheers,

Robin
Jdef
Posts: 5
Joined: Sun Jul 14, 2024 2:44 pm

Re: Platesolve2 solver failure

#7

Post by Jdef »

Hi,
Don't worry, I forced windows to accept "decimal point" as seperator, even for french language :evil: .
Platesolve2 is launched correctly and the return is accepted by SharpCap.
Thank you.
Best regards
Jacques
User avatar
admin
Site Admin
Posts: 17545
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Platesolve2 solver failure

#8

Post by admin »

Hi,

glad to hear that worked to get you going. I do have a fix now that will be in the next update, so you can go back to your proper language settings from next week!

cheers,

Robin
Post Reply