Author Topic: SubframeSelector won't run  (Read 3168 times)

Offline RickS

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1298
SubframeSelector won't run
« on: 2014 July 18 00:12:25 »
I started getting this error after a recent upgrade:

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

Processing script file: C:/Program Files/PixInsight/src/scripts/mschuster/SubframeSelector/SubframeSelector.js
*** Error [000]: C:/Program Files/PixInsight/src/scripts/mschuster/SubframeSelector/SubframeSelector.js, line 172: Error: TreeBoxNode.Set(): invalid argument type: boolean value expected.

PI 01.08.02.1098 Ripley (x64) on Windows 7.

For a while I could avoid the problem by starting a clean instance and running the script there but that no longer works now.

Happy to provide any further info required...

Thanks,
Rick.

Offline RickS

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1298
Re: SubframeSelector won't run
« Reply #1 on: 2014 July 20 04:19:32 »
It's apparently something to do with saved state.  Deleting the "ScriptData\SubframeSelector..." lines from PixInsight64.ini fixes the problem... at least temporarily.

Maybe I'll have to bite the bullet and learn JavaScript.  I was hoping to wait for Python support to be finished before writing any scripts  :P

Cheers,
Rick.

Offline mschuster

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1087
Re: SubframeSelector won't run
« Reply #2 on: 2014 July 21 16:09:41 »
Sorry for the trouble. Another workaround is to reset Pixinsight settings. Saved state does get corrupted very occasionally for unknown reasons, but so far I have not been able to reproduce it on my machines. In my next release I will add some saved state sanity checking code.
Mike

Offline Alejandro Tombolini

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1267
    • Próxima Sur
Re: SubframeSelector won't run
« Reply #3 on: 2014 July 21 16:33:37 »
Another workaround is to reset Pixinsight settings.
Rick, just in case see "Reset PixInsight"

Offline RickS

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1298
Re: SubframeSelector won't run
« Reply #4 on: 2014 July 21 19:07:43 »
Thanks, Mike & Alejandro.