SkyCoordConverter

Discussions on extending SharpCap using the built in Python scripting functionality
Post Reply
ricardserra
Posts: 4
Joined: Thu Mar 02, 2023 11:00 am

SkyCoordConverter

#1

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

Re: SkyCoordConverter

#2

Post 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
ricardserra
Posts: 4
Joined: Thu Mar 02, 2023 11:00 am

Re: SkyCoordConverter

#3

Post by ricardserra »

Hi Robin,

Many Thanks for your help! :)

Ricard.
Post Reply