Author Topic: Custom catalog layer: panel missing  (Read 3190 times)

Offline gigicarotti

  • Newcomer
  • Posts: 3
Custom catalog layer: panel missing
« on: 2015 August 26 23:07:26 »
Hello PI team,

Script-->Render-->Annotate image: the CUSTOM CATALOG LAYER DON'T WORK ANY MORE: the panel at the right
(Custom Catalog Parameters, Catalog path) is missing and the Process Console report:
"** Warning [162]: C:/Program Files/PixInsight/src/scripts/AdP/AnnotateImage.js, line 1787: reference to undefined
property node.frame
*** Error [000]: C:/Program Files/PixInsight/src/scripts/AdP/AnnotateImage.js, line 1787: Error: Sizer.add(): invalid
argument type: UIObject expected." (It worked until July 2015)
(PixInsight Standard Edition; Version: PixInsight Core 01.08.04.1170 Ripley (x64)
Installed Updates:
Package type : Documentation_1, Documentation_2, Resource, Script_1, Script_2, Core Libraries
from Release date : 2015-08-03 to : 2015-08-16)

Offline Andres.Pozo

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 927
Re: Custom catalog layer: panel missing
« Reply #1 on: 2015 August 27 00:16:48 »
Hi,

I confirm that this is not working in PI 1.8.4.1171.
I'll fix it.

BTW, you are using the build 1170 and there is a newer version.

Offline bhwolf

  • Member
  • *
  • Posts: 53
Re: Custom catalog layer: panel missing
« Reply #2 on: 2015 November 21 16:47:49 »
Stumbled on this while searching for custom catalog help.  I tried adding a custom catalog but it's not rendering at all.  If I point the custom catalog to an existing one, say the Messier catalog, it won't render but the default one will render fine.  Any suggestions?  Win10, PI 1190.

Offline Andres.Pozo

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 927
Re: Custom catalog layer: panel missing
« Reply #3 on: 2015 November 22 02:52:54 »
Hi, I've just tested the custom catalog layer in PI 1190 and it works well.

I don't know why it doesn't work for you. There are a few things that you can try. You should check if the coordinates solution of the image is correct. You can check if the catalog format is as described in this message http://pixinsight.com/forum/index.php?topic=3966.msg28257#msg28257.

If it still doesn't work I can test it. In this case, please put your catalog somewhere public (FTP, Dropbox, etc) where I can download it.

Andrés

Offline bhwolf

  • Member
  • *
  • Posts: 53
Re: Custom catalog layer: panel missing
« Reply #4 on: 2015 November 22 19:00:54 »
Thank you Andres,

I just tried this test: taking a solved image and annotating against the built in Messier catalog, and it works fine.  I then pointed the custom catalog to the existing Messier catalog in the scripts folder.  The annotation script will report that it read 109 objects from the file, but doesn't seem to find anything (which it should, as it's the same text file).

Attaching a couple of screenshots -- will attach the catalog, but in this case it's the same one that's distributed with the PI.  If I add an object to the pre-existing catalog, it will render just fine.

Thanks again for the assistance...


Offline Andres.Pozo

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 927
Re: Custom catalog layer: panel missing
« Reply #5 on: 2015 November 23 01:29:29 »
Hi bhwolf.

You can not use the file messier.txt with the custom catalog layer because they are not compatible. messier.txt is used in the implementation of the builtin Messier layer and it is not designed to be used in the custom catalog layer.

If you want to use a custom catalog you have to write it yourself following the guidelines in the link I give you yesterday.

Offline bhwolf

  • Member
  • *
  • Posts: 53
Re: Custom catalog layer: panel missing
« Reply #6 on: 2015 November 23 11:25:15 »
Ah ok, thanks -- all set now!  I had started with a custom catalog and now I believe I had the coordinates wrong (degrees vs hours).  To troubleshoot I figured I'd point it a copy of the messier catalog.  Anyway, thanks much and sorry for missing that detail...