Author Topic: Locked state when closing project  (Read 3435 times)

Offline erikgu

  • PixInsight Enthusiast
  • **
  • Posts: 96
Locked state when closing project
« on: 2014 February 04 10:22:23 »
Hi

I am trying to close a saved project when i get this error messge.



I assume that a mask that is locked is the reason for the error. Should i care about the message or should i just close and assume that everything is saved propery.

Mask error:


Erik G

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: Locked state when closing project
« Reply #1 on: 2014 February 05 01:37:07 »
Everything will be saved. The fact that a view is locked for write does not prevent other processes from reading the image.

That warning message may sound a bit too scary. PixInsight has many self-diagnostic routines running on the background for different tasks. This makes the whole platform more secure and robust. When a view is locked, that means that some process has taken possession over the view's image to modify it. Normally, once the process has finished its task, it should release the image. The warning message is telling you that some process has failed to release an image, which is an abnormal situation. Usually the cause is as simple as that we (the developers) have forgotten to release it, without more consequences. This is with a probability of 99% what happens in this case.

Have you installed some unofficial modules? Can you reproduce the problem, or give us a hint of the processes that you executed before the view was left locked?
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline erikgu

  • PixInsight Enthusiast
  • **
  • Posts: 96
Re: Locked state when closing project
« Reply #2 on: 2014 February 05 02:01:45 »
Hi and thanks, good to hear that nothing will be lost.

The locked image is the "star mask" created by following the procedure described in Vincent Peris tutorial http://pixinsight.com/tutorials/NGC7023-HDR/en.html. Exactly int which step it became locked is difficult to say, but I could probably be find it by inspecting the images processing history ? 

Erik G
 

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: Locked state when closing project
« Reply #3 on: 2014 February 05 02:23:28 »
Unfortunately, the history won't give us information on locked images. That tutorial is complex but I'll try to reproduce the problem by following it step by step. Thanks for your patience.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline erikgu

  • PixInsight Enthusiast
  • **
  • Posts: 96
Re: Locked state when closing project
« Reply #4 on: 2014 February 05 02:58:04 »
Hi again,

I did not include the the first step, Dynamic Range Compression, not necessary for the image http://pixinsight.com/forum/index.php?topic=6580.0. The rest of the steps was followed. I think that the "second" PixelMath step was done 4 times.   

Erik G