Page 1 of 3

Push-to plate solving issue beta 4.1.10872.0

Posted: Wed Jul 12, 2023 3:48 am
by PeterAB
Hi,

I jumped from 4.1.10700.0 to 4.1.10872.0 last night. I am mostly testing the Push-to assistant feature with various combinations of equipment.

With 4.1.10872.0, plate solving in the general case of using tools-plate solve works well. However, when the push-to assistant attempts a plate solve it now fails immediately with a "something went wrong" error on all attempts to solve. I am using the same exposure with the tools-plate solve and tools-push to assistant cases. Plate solving worked as expected in the older beta version 4.1.10700.0 while using push to assistant.

I have a attached the log file. There are failed plate solves in this log from the usual causes such as "not enough stars", or by me canceling the plate solve. The cases I don't understand are the "something went wrong" errors while using push to assistant. There are examples of successful plate solves right after closing out of the push to assistant using tools-plate solve and the same exposure that had just failed.

I wasn't able to spend too much time trying to track down this issue more as clouds rolled in and cut my observing time short. Please let me know if I am just missing something simple like a new setting that I missed.

I am enjoying the push-to feature. Please see my note in the features request forum section.

Thanks,

Peter

Re: Push-to plate solving issue beta 4.1.10872.0

Posted: Wed Jul 12, 2023 1:34 pm
by admin
Hi Peter,

the plate solving errors I can see in that log are due to a lack of stars being detected - some of the attempts are only detecting 6, 7 or 8 stars in the image, which just isn't enough, while others are detecting a hundred or more (and are working). It could be that the failing frames are being captured during the movements of the telescope, which would explain the low star count because they would be trailed out, making the faint ones undetectable.

I probably need to think a bit more about how errors are reported and what the Push-To assistant does on a plate solving error to fine tune it for maximum usability.

I can also see a couple of uploaded crash reports that I believe I already have a fix for ready for the next update.

cheers,

Robin

Re: Push-to plate solving issue beta 4.1.10872.0

Posted: Fri Jul 14, 2023 4:58 pm
by PeterAB
Hello Robin,

I have attached a simpler log file to clarify the plate solving issue that I am seeing.

At 2248:39.585962 Push to assistant is started

At 2249:30.386450 plate solving fails with an exception that leads to a "Something went wrong" error being displayed. This error repeats until the push to assistant is closed. There are no successful solves, or failed solves do to too few stars.

After I closed the push to assistant I ran a tools-plate solve at 2250:21.513750. This solve was successful.

Is this the exception that you are aware of already mentioned in your last reply?

I like to experiment with new equipment and software on nights that are not great for observing. I have gotten many too few star errors while using push to assistant do to clouds. I think this situation is handled well. Push to assistant lets me know when plate solving is working and when it is not. I do not expect plate solving to work while the telescope is moving. However, I would be interesting if a moving telescope is moving could be detected and a different error reported. This may be a feature request for the plate solver that would help in many applications.

I hope you had a nice holiday,

Peter

Re: Push-to plate solving issue beta 4.1.10872.0

Posted: Fri Jul 14, 2023 7:02 pm
by admin
Hi Peter,

no, that is weird now I look again - the initial plate solve attempts are failing pretty much instantly with no output from the plate solving program either. Further down the log it works as expected.

The only things I can think of that would make it fail that way are

1) Wrong parameters sent to the plate solver - but why does it work later?
2) The file SharpCap is asking it to plate solve doesn't exist
3) The file exists, but the plate solver cannot read it. Sometimes antivirus can do things like this as it dives in to scan a file after it is created

I will add some code to eliminate option 2 - or at least put something useful in the log if it is option 2, then we will see.

cheers,

Robin

Re: Push-to plate solving issue beta 4.1.10872.0

Posted: Sat Jul 15, 2023 12:47 am
by PeterAB
Hi Robin,

Thanks. The other thing that is odd to me is that plate solves within push to were working with version 4.1.10700.0. I switch over to 4.1.10872.0 at the telescope side while observing/testing and the plate solving within push to stopped worked in this fashion.

Peter

Re: Push-to plate solving issue beta 4.1.10872.0

Posted: Sat Jul 15, 2023 1:28 pm
by admin
Hi Peter,

well, just after 4.1.10700 I changed SharpCap to send FITS to Astap instead of PNG (based on advice from Han, the author of Astap). However, that shouldn't have this sort of effect. I'm still suspecting that antivirus may have somthing to do with this, since it's a good bet when an issue doesn't make any sense and is not occuring for other people. Particularly something like this that is related to files.

The next update will track any other possible causes in more detail which will let us either confirm or refute them as possibilities.

cheers,

Robin

Re: Push-to plate solving issue beta 4.1.10872.0

Posted: Mon Jul 24, 2023 4:30 am
by PeterAB
Hi Robin,

Here is a strange result from testing tonight. (with 10885.0)

I'm using a different telescope tonight, F714mm, D102mm, F7. Same camera, Zwo asi294mc.

Using a one second high gain exposure push to will plate solve ~half of the time. Sometimes it reports too few stars-try increasing exposure.

I increased exposure time to 2 seconds. Then I get the "something went wrong" error every plate solve attempt.

I plate solved many time after the above sequence from tools-plate solve using both 1 and 2 second high gain exposures. These work !00% of the time. I am looking up by Vega and there are a lot of stars in the FOV.

I sent the log from the above sequence.

Also of note: I have my anti-virus turned off. I repeated testing with the telescope I was using previously (F242mm D50mm). Push to plate solves fail with "something went wrong" error %100 of the time with 1 second high gain exposures. Tools-plate solve works %100 of the time. I did not attach the log from this sequence.

I hope these details help. It seems strange to me. Something about the exposure changes the way plate solving from push to fails. But, plate solving works well all the time from tools-plate solve,

Thanks,

Peter

Re: Push-to plate solving issue beta 4.1.10872.0

Posted: Mon Jul 24, 2023 1:21 pm
by admin
Hi Peter,

this is an odd issue that I am already trying to track down. It looks as though the plate solving fails very quickly in the 'Something went wrong' cases, and the only extra info really in the log is an error code of '2' coming from Astap. Now, error code 2 can mean 'File not found', so maybe the FITS file that SharpCap is trying to send to Astap is not there, but I can't see quite how that could happen.

For the next update of 4.1 (hopefully later today) I have already added some extra logging to try to trap some of the possible (but unlikely) ways this could happen, so that if it happens again with the new version the log should at least help narrow down the possible causes further than the current log.

Sorry not to be more helpful - the only other thing I can think of is antivirus possibly trying to scan the FITS file after SharpCap has written it, preventing Astap from opening it, but why would that happen 100% with some camera settings and not with others?

cheers,

Robin

Re: Push-to plate solving issue beta 4.1.10872.0

Posted: Tue Jul 25, 2023 3:39 am
by PeterAB
Hi Robin,

I did a quick run with version 10910.0.

This log shows push-to plate solves failing 100% of the time with a two second exposure. Something went wrong errors. I then reduced the exposure to 0.5 seconds and push-to plate solving works 100% of the time.

No big deal if the extra logging is not in this version. I'll redo the tests again when it is in. I'm not in a hurry for this feature to be completely functional.

Thanks, Peter

Re: Push-to plate solving issue beta 4.1.10872.0

Posted: Tue Jul 25, 2023 2:00 pm
by admin
Hi Peter,

looking at the log, I can now say for sure that it is not a problem with missing image files - in the new version, it would fail with a completely different error if that was the case.

I also discovered that error 2 from Astap means 'not enough stars detected', but I don't understand why that would happen with 1s exposures and not 0.5s! The only thing I can think of is if it has some sort of code to try to find stars in faint images which gets activated (and works) in the 0.5s exposures, but doesn't activate for the 1s exposure.

What happens with a 2s or 4s exposure? Do they work?

I intend to update the code in SharpCap to turn the 'error 2' 'something went wrong' message into a more useful 'not enough stars' message for the next update, but that will not actually fix the issue.

One more thing to check - If I haven't asked alreay, could I ask that you check you have an up-to-date version of Astap.

thanks,

Robin