photometric colour calibration failure: malformed url?

build: 86ccf1f4

Hi
Trying to solve e.g. this image (but same with any image):
https://drive.google.com/file/d/1s6huooExar4C4nKGLDDPD_AuhomqM5g1/view?usp=sharing

Any ideas?

The Simbad link returns garbage. With the other two catalogues, it seems to add a : (colon) to the end of the URL:

12:45:14: Reading FITS: file r_pp_NGC_281_Light_stacked.fits, 3 layer(s), 5208x3476 pixels
12:45:31: Error loading url: http://simbad.u-strasbg.fr/simbad/sim-tap/sync?request=doQuery&lang=adql&format=TSV&query=SELECT%20basic.OID,%20ra,%20dec,%20main_id%20FROM%20basic%20JOIN%20ident%20ON%20ident.oidref%20=%20oid%20WHERE%20id%20=‘NGC281’;: The specified location is not supported

12:45:37: Error loading url: http://vizier.cfa.harvard.edu/viz-bin/nph-sesame/-oI/A?NGC281: The specified location is not supported

12:45:46: Error loading url: http://cdsweb.u-strasbg.fr/cgi-bin/nph-sesame/-oI/A?NGC281: The specified location is not supported

With the colon:

NGC281: #Q022886

#!Sic=Simbad@CfA, all IDs: ! ‘NGC281:’ this identifier has an incorrect format for catalog:

#(Q22870)

#!V0=VizieR (CFA): No table found for: NGC281:

#(Q22870)

#!Sic=Simbad@CfA, all IDs: ! ‘NGC281:’ this identifier has an incorrect format for catalog:

#(Q22870)

#!V0=VizieR (CFA): No table found for: NGC281:

#(Q22870)

#====Done (2022-Aug-28,10:52:21z)====

Without the colon, it works:

NGC281 #Q022889

#=Sic=Simbad@CfA, all IDs: 1 0ms (from cache)
%@ 107865
%I.0 NGC 281
%C.0 HII
%J 13.10458 +56.56500 = 00:52:25.09 +56:33:54.0
V v -33.7 -1.1E-04 [~] D 1979IAUS...30...57E #B 236
%I C 0049+563
%I Ced 3
%I CTB 7
%I DA 25
%I GCRV 271 E
%I [GS55] 8
%I IRAS 00494+5617
%I JCMTSE J005224.5+563349
%I JCMTSF J005224.5+563349
%I LBN 123.17-06.28
%I LBN 616
%I NGC 281
%I NGC 281W
%I OCISM 68
%I OCl 313
%I OCl 313.0
%I SH 2-184

#=V0=VizieR (CFA): 1 2ms
%J 013.2180 +56.6189 = 00:52:52.3 +56:37:08
%I.0 {NGC} 281

#====Done (2022-Aug-28,10:53:42z)====

The semi column is added by the log:
siril_log_message(_("Error loading url: %s: %s\n"), url, error->message);

And for me no problem:

image

do you have glib-networking installed on your machine?

Yes, we have glib-networking.

The solve works fine with: da080c4

14:41:29: Reading FITS: file r_pp_NGC_281_Light_stacked.fits, 3 layer(s), 5208x3476 pixels
14:41:56: Solving on selected area: 0 0 5208 3476
14:41:57: Findstar: processing…
14:42:03: Catalog NOMAD size: 798 objects
14:42:03: 203 pair matches.
14:42:03: Inliers: 0.709
14:42:03: Resolution: 1.090 arcsec/px
14:42:03: Rotation: +142.99 deg (flipped)
14:42:03: Focal: 813.67 mm
14:42:03: Pixel size: 4.30 µm
14:42:03: Field of view: 01d 34m 36.93s x 01d 03m 8.98s
14:42:03: Image center: alpha: 00h52m59s, delta: +56°37’25"
14:42:03: Flipping image and updating astrometry data.
14:42:04: Normalizing on green channel.
14:42:04: Applying aperture photometry to 144 stars.
14:42:17: 28 stars excluded from the calculation
14:42:17: Color calibration factors:
14:42:17: K0: 1.481
14:42:17: K1: 1.000
14:42:17: K2: 0.812
14:42:17: Background reference:
14:42:17: B0: 2.79783e-03
14:42:18: B1: 3.47370e-03
14:42:18: B2: 2.91780e-03

It does not work with the latest git: 86ccf1f4

The colon is passed as the last character of the url:

14:49:33: Error loading url: http://cdsweb.u-strasbg.fr/cgi-bin/nph-sesame/-oI/A?NGC281: The specified location is not supported

We haven’t changed anything recently

This is probably a build problem of glib or a non supported OS for glib networking. Use curl instead with the meson option enable-libcurl or use autotools to build siril, I think it’s the default with this build system if curl is available.

1 Like

Thanks.
The autotools build works fine

**We’re on Ubuntu 22.04, which is one of the most common Linux distributions. Would it be an idea to get the meson configure defaults working with it?

Cheers and thanks for all the hard work.
Steve

No no. This is just in the log. That’s all. But not passed in the url.

Ok. Thanks.

Just so it doesn’t catch others…

Ubuntu 22.04

It works fine using the autoconf ./configure build.

It doesn’t work with the meson-ninja build.

Thanks again.

We need more information about compilation errors.
We change a lot of things in the meson/ninja stuffs.

Hi
We don’t see any compilation errors during the build. Both autoconf and meson produce a working siril.
Cheers

What are the config lines do you use in both cases?

Hi everyone

Tracked down to the fact that meson doesn’t include curl by default. You have to specify it on the command line, e.g.

meson setup --prefix /usr/local --buildtype release _build -Denable-libcurl=yes -DlibXISF=false

Thanks and apologies for not realising earlier.