DeepSkyForge / GraXpert4PixInsight

Support for PixInsight GraXpert plugin.
1 stars 0 forks source link

Minor: Background extraction: Invalid ai_version - Expected format n.n.n #15

Closed DeepSkyForge closed 5 months ago

DeepSkyForge commented 5 months ago

Problem reported by CAP_Astro on Discord Dark Matter with below screenshot: invalid-ai-version

And additional comments: I am getting the following errors using the GraX process, it was working previously but there have been a couple of PI updates for Build #1605 that I installed. GraXpert Suite All-In-One still works on the same image.

DeepSkyForge commented 5 months ago

I can reproduce the problem with following scenario:

  1. Create and save process icon using previous GraXpert Process 2.0.1 (some parameters were not correctly saved).
  2. Load this process icon with GraXpert Process 2.0.2 (version released yesterday evening).
  3. Version 2.0.2 load the process icon but parameters are missing or wrong (it was not possible to load process icon with version 2.0.1).
  4. Apply process icon to a photo by doing just drag and drop. You will get same error.

You can have similar scenarios by saving project that contains old GraXpert process icon. To solve the issue, delete all old process icon and create new one with version 2.0.2.

If you open a wrong process icon, you will have a backtrace in console and you have to restart PixInsight else similar backtrace will come again even with a valid process icon.

I'll reinforce code to avoid such issue in the future but I do not consider this as major so fix will come later.

DeepSkyForge commented 5 months ago

CAP_Astro has confirmed scenario. Problem sole by removing old process icon created with version 2.0.1. Process icon save/load works fine with 2.0.2. I move case to minor.

DeepSkyForge commented 5 months ago

Fixed in version 2.0.3 released today April 30th, 2024.