ghilios / joko.nina.plugins

NINA Plugins
Mozilla Public License 2.0
10 stars 2 forks source link

Focus History Combo Box not retaining focus runs following a N.I.N.A shutdown/retsart #14

Closed CheekyMonkey closed 1 year ago

CheekyMonkey commented 1 year ago

N.I.N.A. 3.0 Nightly #54 Hocus Focus 3.0.0.12 A couple of weeks back, I lost power to my astro computer running N.I.N.A. during an imaging run.

Since then the dockable focus curves view in N.I.N.A. no longer retains the full history of focus runs between imaging sessions I do however continue to see all Hocus Focus focus runs in the Hocus Focus folder on my astro pc

During a given imaging session, that session's Hocus Focus runs do appear in the focus history combo box (see screen capture below)

Once I then shut down and then restart N.I.N.A., the combo box comes up as empty

image

CheekyMonkey commented 1 year ago

Update: I ran an imaging session last night with N.I.N.A.

Before I started I removed all files from %LOCALAPPDATA%\NINA\AutoFocus\ and also removed all files from my HF save directory (D:\NINA_HocusFocus) so both folders were empty

A number of successful HF AF runs took place during the session last night I can see that all AF .json files and all HF AF files are present in their respective folders

I shut down N.I.N.A. this morning and restarted N.I.N.A. I observe that the HF/AF combobox in the anchorable view is empty. Looks like, for some reason, the combobox is still not able to pick up on the HF AF history following N.I.N.A. shutdown/restart

image

image

image

CheekyMonkey commented 1 year ago

Update:

See below exchange from the N.I.N.A. discord channel with the details

image

CheekyMonkey commented 1 year ago

Thanks @ghilios . This issue is now resolved with the following commit: https://github.com/ghilios/joko.nina.plugins/commit/0a1589cafcaf3face311223db36ddf01048f2d97