Page 1 of 1

SkyCoordConverter

Posted: Sat Jun 10, 2023 1:46 pm
by ricardserra
Hi,

I recently updated my Sharpcap to Beta 4.1.10523.0 and my script stoppped working

I got this error:

ImportError: Cannot import name SkyCoordConverter

The line is:

from SharpCap.ImageProcessing import SkyCoordConverter

This was working with previous versions,

Any idea?

Many Thanks,

Ricard.

Re: SkyCoordConverter

Posted: Sat Jun 10, 2023 1:58 pm
by admin
Hi Ricard,

oops, that was my mistake - I was tidying up some code and for some reason I made that class hidden to external use. Looking back on it now, I cannot see quite why I did that :oops:

I will fix it for the next 4.1 update. You may need to add an extra line

clr.AddReference("SharpCap.ImageProcessing")

if it still doesn't work after the next update.

cheers,

Robin

Re: SkyCoordConverter

Posted: Sat Jun 10, 2023 2:09 pm
by ricardserra
Hi Robin,

Many Thanks for your help! :)

Ricard.