Author Topic: PI 1.8.7 MosaicByCoordinates "TypeError: resWindow is null"  (Read 147 times)

Offline scottstirling

  • Newcomer
  • Posts: 8
    • View Profile
Hi - trying to work around another issue with StarAlignment mosaic thin splines local distortion option (memory leak/infinite loop), I'm trying MosaicCoordinates for the first time in a while.  I have 4 xisf files solved by ImageSolver in PI 1.8.7 and saved (AnnotateImage works perfectly and the coordinates are loaded accurately by MosaicByCoordinates), added to MosaicByCoordinates and run with "High quality" option selected.  Update: "Fast" option yields the same result. It errors after some processing on the first file, and does not output any registered files. Error dialog says: TypeError: resWindow is null Do you want to continue with the process?"

The end of the console output:
[snip]

Reading image:
----------------------
Aligning '/Users/scottstirling/Documents/astrophotography_work/6D/objects/IC1396_Sh2-129_135mm_08-2019/fov1_iso1600_intg/Cepheus_135mm_Canon6D_Aug_03_2019_iso1600_46x_60s_fov1_DBE_crop2mosaic_prep.xisf'

/Users/scottstirling/Documents/astrophotography_work/6D/objects/IC1396_Sh2-129_135mm_08-2019/fov1_iso1600_intg/Cepheus_135mm_Canon6D_Aug_03_2019_iso1600_46x_60s_fov1_DBE_crop2mosaic_prep.xisf
Loading image: w=5486 h=3660 n=3 RGB Float32
9 image properties
ICC profile extracted: 'Display', 3320 bytes.
420 FITS keyword(s) extracted.
* Loaded astrometric solution:
Referentiation matrix (world[ra,dec] = matrix * image[x,y]):
 +2.88102892e-03  -7.64208683e-05  -7.76327013e+00
 +7.72636100e-05  +2.88266606e-03  -5.48783053e+00
WCS transformation ....... Thin plate spline
Control points ........... 672
Spline lengths ........... l:463 b:388 X:436 Y:377
Projection ............... Gnomonic
Projection origin ........ [2743.164538 1830.209819] px -> [RA: 21 35 57.581  Dec: +57 11 59.53]
Resolution ............... 10.378 arcsec/px
Rotation ................. 178.457 deg
Observation start time ... 2019-08-04 04:33:27 UTC
Focal distance ........... 129.18 mm
Pixel size ............... 6.50 um
Field of view ............ 15d 48' 55.6" x 10d 33' 4.7"
Image center ............. RA: 21 35 57.625  Dec: +57 11 58.98  ex: -0.000308 px  ey: +0.001080 px
Image bounds:
   top-left .............. RA: 20 46 52.707  Dec: +51 05 37.46  ex: +0.005677 px  ey: +0.000957 px
   top-right ............. RA: 22 27 14.422  Dec: +51 27 24.34  ex: -0.026441 px  ey: +0.016379 px
   bottom-left ........... RA: 20 29 12.859  Dec: +61 12 41.47  ex: +0.003645 px  ey: +0.006631 px
   bottom-right .......... RA: 22 41 16.897  Dec: +61 40 54.20  ex: -0.003577 px  ey: +0.007116 px


High quality image warping
Loading control points...
Simplified surfaces: tolerance = 2.63 as | l: 436 | b: 377
Simplified surfaces: tolerance = 0.25 px | X: 463 | Y: 388
Loaded 672 control points (metadata version 1.1).
Target area: [679,363,6163,4045]
Reprojecting image: (100%)
Saving keywords...
Error: Global.format(): invalid argument type: numeric value expected.
**********************
Error: TypeError: resWindow is null




Scott S
Graham, NC

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 6842
    • View Profile
    • http://pixinsight.com/
Re: PI 1.8.7 MosaicByCoordinates "TypeError: resWindow is null"
« Reply #1 on: 2019 October 08 13:36:50 »
Hi Scott,

This bug is now fixed with an update I've just released for all platforms. Thank you for reporting it, and sorry for the inconvenience.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/