Page 1 of 1

astap errors: An item with the same key has already been added

Posted: Sat Sep 30, 2023 12:08 am
by wbendick
Hi, I am trying to use astap with sharpcap. When I click "Test Selected Plate Solver" I get the error:

Plate solve failed - something went wrong. Error was: An item with the same key has already been added

Any ideas on what's going wrong?

Re: astap errors: An item with the same key has already been added

Posted: Sun Oct 01, 2023 1:44 pm
by admin
Hi,

can you make sure you are on the latest SharpCap version and if it is still an issue then please post the SharpCap log captured after the issue has happened. The log should contain enough information to let me work out what is going wrong and quite likely to fix it too.

cheers,

Robin

Re: astap errors: An item with the same key has already been added

Posted: Thu Oct 05, 2023 2:36 am
by wbendick
Here is the logfile after I open Sharpcap Pro v4.09571, 64 bit and attempt a plate log:

https://gist.github.com/wbendick/80c4ae ... 692da6d499

Re: astap errors: An item with the same key has already been added

Posted: Thu Oct 05, 2023 12:17 pm
by admin
Hi,

thanks for sharing - it looks like the ASTAP cli version is repeating some FITS header info in the output, which SharpCap wasn't expecting to happen. I will sort out a fix for the next SharpCap 4.1 update.

cheers,

Robin

Re: astap errors: An item with the same key has already been added

Posted: Sat Oct 07, 2023 2:04 am
by wbendick
Thanks Robin, I look forward to the next version. If anyone else is encountering this problem in the meantime I fixed it by downgrading astap to version v2023-08-25 available here for windows:

https://sourceforge.net/projects/astap- ... e/download