Author Topic: Line 492 Error Batch Channel Extraction  (Read 2407 times)

Offline shawnhar

  • Newcomer
  • Posts: 9
Line 492 Error Batch Channel Extraction
« on: 2017 September 07 04:10:37 »
Error message states "grnWin is undefined"

 It worked 4 days ago and I haven't changed anything, any ideas?
Oh, and it works from the main window dropdown for single files, extracts the red channel just fine

Offline shawnhar

  • Newcomer
  • Posts: 9
Re: Line 492 Error Batch Channel Extraction
« Reply #1 on: 2017 September 07 04:50:53 »
Realized there are 2 Batch Channel Extraction's , 2nd one works.
 Maybe a bug in the update or is it just me?

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: Line 492 Error Batch Channel Extraction
« Reply #2 on: 2017 September 07 05:06:36 »
This is a bug in the 1.8.5 distribution, thank you for detecting it. There are two versions of the BatchChannelExtraction script, one of them obsolete. While I release an update to fix this issue, make sure you execute the version where the .js file is stored on a "src/scripts/BatchChannelExtraction/BatchChannelExtraction.js" dedicated subdirectory. This should be the first item available from "SCRIPT > Batch Processing" on the main menu.

Thank you for reporting this problem, and sorry for the inconvenience.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/