Author Topic: SubframeSelector Error  (Read 3307 times)

Offline jerryyyyy

  • PixInsight Old Hand
  • ****
  • Posts: 425
    • Astrobin Images
SubframeSelector Error
« on: 2013 October 04 10:13:02 »
Any insight into this error.  Get it either from menu or execuitng script directly.  Trying to do some quality control of subs prior to stacking:

run --execute-mode=auto "C:/Program Files/PixInsight/src/scripts/SubframeSelector/SubframeSelector.js"

Processing script file: C:/Program Files/PixInsight/src/scripts/SubframeSelector/SubframeSelector.js
*** Error [000]: C:/Program Files/PixInsight/src/scripts/SubframeSelector/SubframeSelector.js, line 171: Error: TreeBoxNode.Set(): invalid argument type: boolean value expected.
Takahashi 180ED
Astrophysics Mach1
SBIG STT-8300M and Nikon D800
PixInsight Maxim DL 6 CCDComander TheSkyX FocusMax

Offline mschuster

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1087
Re: SubframeSelector Error
« Reply #1 on: 2013 October 04 16:14:36 »
I will look into this ASAP. Sorry for the trouble. Thank you.
Mike

Offline jerryyyyy

  • PixInsight Old Hand
  • ****
  • Posts: 425
    • Astrobin Images
Re: SubframeSelector Error
« Reply #2 on: 2013 October 04 19:23:16 »
I swear I had it working....  Have a DSO with a bunch of subs and want to get rid of the worst. 

Note:  Am on a 32-bit systems Windows 7.  Dell M2400. 
Takahashi 180ED
Astrophysics Mach1
SBIG STT-8300M and Nikon D800
PixInsight Maxim DL 6 CCDComander TheSkyX FocusMax

Offline mschuster

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1087
Re: SubframeSelector Error
« Reply #3 on: 2013 October 04 20:54:54 »
Update: since the problem appears on launch, you will probably need to run "Reset Pixinsight Settings" in the Win 7 Start menu. This will clear script's cache of settings and should allow you to rerun the script.

Thanks,
Mike
« Last Edit: 2013 October 04 23:20:06 by mschuster »

Offline jerryyyyy

  • PixInsight Old Hand
  • ****
  • Posts: 425
    • Astrobin Images
Re: SubframeSelector Error
« Reply #4 on: 2013 October 05 08:09:53 »
Congrats, that did it.   :)

BTW, there is another issue but with the MaskedStretch script.  This may because of my limited memory, but also get an error with that that is solved by restarting PI.  I did a lot of C++ programming and if you do not release a memory allocation, it comes back to haunt you.  I wonder if that could be going on with MaskedStretch.

Cheers
Takahashi 180ED
Astrophysics Mach1
SBIG STT-8300M and Nikon D800
PixInsight Maxim DL 6 CCDComander TheSkyX FocusMax

Offline jerryyyyy

  • PixInsight Old Hand
  • ****
  • Posts: 425
    • Astrobin Images
Re: SubframeSelector Error
« Reply #5 on: 2013 October 05 19:19:49 »
After the reset, the MaskedStretch gives me some weird characters (Chinese in the process view):

run --execute-mode=auto "C:/Program Files/PixInsight/src/scripts/MaskedStretch.js"

Processing script file: C:/Program Files/PixInsight/src/scripts/MaskedStretch.js
Warning: couldn't read setting '?T/??'
Warning: couldn't read setting '?T/??????n??–????????p??–???????????–??????'
Warning: couldn't read setting '?T/??????????'
Warning: couldn't read setting '?T/?????d'
Warning: couldn't read setting '?T????/?????????–??'
Warning: couldn't read setting '?T/?????g???–??'
Warning: couldn't read setting '?T/?????s???–??????'

RGBWorkingSpace: Processing view: __MaskedStretchTmp
0.0150 s
Calculating the MTF value:
MTF=0.70000 median=0.00000
MTF=0.64538 median=0.00000
MTF=0.60568 median=0.00000
MTF=0.57681 median=0.00000
MTF=0.55584 median=0.00001
MTF=0.54059 median=0.00012
MTF=0.52952 median=0.00112
MTF=0.52154 median=0.00553
MTF=0.51596 median=0.01673
MTF=0.51230 median=0.03416
MTF=0.51012 median=0.05186
MTF=0.50894 median=0.06479
MTF=0.50834 median=0.07240
MTF=0.50806 median=0.07636
MTF=0.50792 median=0.07829
MTF=0.50786 median=0.07921
*** Error [022]: C:/Program Files/PixInsight/src/scripts/MaskedStretch.js, line 823: TypeError: console.format is not a function

run --execute-mode=auto "C:/Program Files/PixInsight/src/scripts/MaskedStretch.js"

Processing script file: C:/Program Files/PixInsight/src/scripts/MaskedStretch.js

RGBWorkingSpace: Processing view: __MaskedStretchTmp
0.0200 s
Calculating the MTF value:
MTF=0.70000 median=0.00000
MTF=0.64538 median=0.00000
MTF=0.60568 median=0.00000
MTF=0.57681 median=0.00000
*** Error [022]: C:/Program Files/PixInsight/src/scripts/MaskedStretch.js, line 823: TypeError: console.format is not a function
Takahashi 180ED
Astrophysics Mach1
SBIG STT-8300M and Nikon D800
PixInsight Maxim DL 6 CCDComander TheSkyX FocusMax