Author Topic: Saving Processing Instances  (Read 4550 times)

Offline andyschlei

  • PixInsight Addict
  • ***
  • Posts: 157
    • http://www.obsballona.org
Saving Processing Instances
« on: 2007 October 26 15:44:49 »
In the recent versions, when I go to close the application, I get the error message

Quote
There are nonempty processing histories associated with one or more images

Unsaved process instances will be permanently lost.  Exit anyway?


I cannot find a way to save the processes in the history except to drag them to the desktop and save them as icons.  If I do that, I still get the message.

Is there a way to save the process history for an image?

Thanks,

--Andy
Observatorio de la Ballona
CDK 12.5, NP-101, C-11
AP-1200, AP-900
ST-10 XME, CFW-8, Astrodon v2 filters
Pyxis Rotator, TCF Focuser

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Saving Processing Instances
« Reply #1 on: 2007 October 26 16:50:45 »
Hi Andy,

This isn't an error message. It's just a warning message telling you that the processing histories of one or more images could be lost if you exit the application.

You know the correct way to save a processing history: create a ProcessContainer icon from the History Explorer window, then save it as a PSM file.

However, the application has no way to be absolutely sure that you have saved it. For example, you can change the history of an image after saving the icon in many ways. The modular architecture of the PixInsight platform and its complexity make it very difficult to keep an accurate track of all events that can modify processing histories, so the best option is to show a warning message each time a processing history is about to be destroyed. This can be a little annoying, but much better than losing some process parameters that have required hours of trial-error work to get them fine tuned.

When you see one of these messages, just make sure that you are not going to lose something important, then click Yes to close the warning message and exit the application.

The same message (or a similar one) appears when you try to close an image that has a nonempty processing history, even if all of its states have been undone. This includes previews with stored states.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline David Serrano

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 503
Saving Processing Instances
« Reply #2 on: 2007 October 27 05:05:35 »
Quote from: "Juan Conejero"
This can be a little annoying, but much better than losing some process parameters that have required hours of trial-error work to get them fine tuned.


My personal view about this is that the user will get used to click "Yes" as many times as necessary to exit the application, thus reaching a point when this is done mechanically and eventually losing some work.

What about a configuration option to have PixInsight periodically save the processing history of each image in the temporary folder?
--
 David Serrano