Author Topic: StartAlignment stops the scripts when it fails  (Read 3351 times)

Offline Andres.Pozo

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 927
StartAlignment stops the scripts when it fails
« on: 2013 February 23 04:20:32 »
I am trying to use StarAlignment in a script that processes a batch of images (Photometry script) but I have a problem with it: When the process can not find a solution the script is stopped. StarAlignment doesn't launch an exception neither returns an error code. I think this is a bug.

StarAlignment also shows an error dialog that the user has to close. This is a problem when using it in a script. It would be very interesting if there would be a parameter to configure this behavior.


Offline Andres.Pozo

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 927
Re: StartAlignment stops the scripts when it fails
« Reply #1 on: 2013 February 24 12:59:25 »
This bug occurs in PI 1.8RC3 and Win7_x64.

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: StartAlignment stops the scripts when it fails
« Reply #2 on: 2013 February 25 01:25:40 »
Hi Andrés,

Quote
StarAlignment also shows an error dialog that the user has to close. This is a problem when using it in a script. It would be very interesting if there would be a parameter to configure this behavior.

This is now fixed. StarAlignment has a new 'noGUIMessages' Boolean parameter. If you set it to true before running the instance, no GUI message boxes are shown. In this case all output, including error information, is sent only to the console.

Quote
When the process can not find a solution the script is stopped.

This should not happen. I am working (with Vicent) to identify and fix the cause of this problem.

All the fixes will be available in RC4 (a matter of a few days).
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Andres.Pozo

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 927
Re: StartAlignment stops the scripts when it fails
« Reply #3 on: 2013 February 25 01:39:09 »
Thanks Juan!!  :)

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: StartAlignment stops the scripts when it fails
« Reply #4 on: 2013 February 25 12:18:57 »
Andrés,

This bug is now fixed in RC4. Thanks for your patience and support.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/