Author Topic: Image Solver  (Read 3508 times)

Offline JGMoreau

  • PixInsight Addict
  • ***
  • Posts: 131
Image Solver
« on: 2012 March 24 12:54:07 »
Hi, while running the image solver script, i get the following message :

http://www3.cablevision.qc.ca/astro/ImageSolve.jpg

Something i should do ? ???

Thanks,

JG Moreau

Offline Andres.Pozo

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 927
Re: Image Solver
« Reply #1 on: 2012 March 26 01:53:14 »
I think that this could be another interaction with Juan's calibration Script. Please, could you restart the Javascript runtime? (Script Editor | Execute | Reset javascript runtime). If you don't know how to do this, you could also restart Pixinsight.

I will fix this interaction too but the problem IMHO is in the BatchPreprocess script. After running the calibration script, it is not possible to use the sentence for/in on arrays in other scripts. BatchPreprocess adds a method to the array's prototype so after that every array returns an additional key when used in a for/in.
 
I will be nice also to have a method for reseting the runtime before or after the execution of an script.

Offline JGMoreau

  • PixInsight Addict
  • ***
  • Posts: 131
Re: Image Solver
« Reply #2 on: 2012 March 26 06:34:50 »
Andres, thanks for the explanation.

Indeed after restarting PI the next day, it worked ^-^

Very nice an useful script, much appreciated.

Cheers,

JG Moreau