Getting started tutorial part 4 gbdes problems

Hello,

I’m trying to run gbdes part of Getting started tutorial part 4 and getting error message:sst.daf.butler.cli.utils ERROR: Caught an exception, details are in traceback:File “/home/venil/lsstsw/stack/lsst-scipipe-9.0.0/Linux64/ctrl_mpexec/gf3af793bb1+a78a79140c/python/lsst/ctrl/mpexec/cli/cmd/commands.py”, line 221, in run
pipeline = script.build(**kwargs, show=show)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/venil/lsstsw/stack/lsst-scipipe-9.0.0/Linux64/ctrl_mpexec/gf3af793bb1+a78a79140c/python/lsst/ctrl/mpexec/cli/script/build.py”, line 115, in build
pipeline = f.makePipeline(args)
^^^^^^^^^^^^^^^^^^^^
File “/home/venil/lsstsw/stack/lsst-scipipe-9.0.0/Linux64/ctrl_mpexec/gf3af793bb1+a78a79140c/python/lsst/ctrl/mpexec/cmdLineFwk.py”, line 586, in makePipeline
pipeline = Pipeline.from_uri(args.pipeline)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/venil/lsstsw/stack/lsst-scipipe-9.0.0/Linux64/pipe_base/g4e4daad928+5ce4365957/python/lsst/pipe/base/pipeline.py”, line 335, in from_uri
pipeline = pipeline.subsetFromLabels(label_specifier)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/venil/lsstsw/stack/lsst-scipipe-9.0.0/Linux64/pipe_base/g4e4daad928+5ce4365957/python/lsst/pipe/base/pipeline.py”, line 403, in subsetFromLabels
return Pipeline.fromIR(self._pipelineIR.subset_from_labels(labelSet, subsetCtrl))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/venil/lsstsw/stack/lsst-scipipe-9.0.0/Linux64/pipe_base/g4e4daad928+5ce4365957/python/lsst/pipe/base/pipelineIR.py”, line 960, in subset_from_labels
raise ValueError(

What is the source of the problem?

Thank you

Looks like you truncated the error message and it doesn’t show the command-line you ran. Could you please use code blocks for stack traces so that they are easier to read since it would use fixed fonts?

I’m not sure but your problem might be related to the discussion here:

Note that in general the tutorial documentation is designed for the specific pipeline release (which is v27 in this case with v28 coming soon) so it’s not guaranteed that the tutorial will work with the current weekly that you are using.

Solution which you cited hasn’t worked. There is full error message: pipetask run --register-dataset-types
-b $RC2_SUBSET_DIR/SMALL_HSC/butler.yaml
-i u/$USER/single_frame
-o u/$USER/gbdes
-p $DRP_PIPE_DIR/pipelines/HSC/DRP-RC2_subset.yaml#GbdesAstrometricFit
lsst.daf.butler.cli.utils ERROR: Caught an exception, details are in traceback:
Traceback (most recent call last):
File “/home/venil/lsstsw/stack/lsst-scipipe-9.0.0/Linux64/ctrl_mpexec/gf3af793bb1+a78a79140c/python/lsst/ctrl/mpexec/cli/cmd/commands.py”, line 221, in run
pipeline = script.build(**kwargs, show=show)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/venil/lsstsw/stack/lsst-scipipe-9.0.0/Linux64/ctrl_mpexec/gf3af793bb1+a78a79140c/python/lsst/ctrl/mpexec/cli/script/build.py”, line 115, in build
pipeline = f.makePipeline(args)
^^^^^^^^^^^^^^^^^^^^
File “/home/venil/lsstsw/stack/lsst-scipipe-9.0.0/Linux64/ctrl_mpexec/gf3af793bb1+a78a79140c/python/lsst/ctrl/mpexec/cmdLineFwk.py”, line 586, in makePipeline
pipeline = Pipeline.from_uri(args.pipeline)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/venil/lsstsw/stack/lsst-scipipe-9.0.0/Linux64/pipe_base/g4e4daad928+5ce4365957/python/lsst/pipe/base/pipeline.py”, line 335, in from_uri
pipeline = pipeline.subsetFromLabels(label_specifier)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/venil/lsstsw/stack/lsst-scipipe-9.0.0/Linux64/pipe_base/g4e4daad928+5ce4365957/python/lsst/pipe/base/pipeline.py”, line 403, in subsetFromLabels
return Pipeline.fromIR(self._pipelineIR.subset_from_labels(labelSet, subsetCtrl))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/venil/lsstsw/stack/lsst-scipipe-9.0.0/Linux64/pipe_base/g4e4daad928+5ce4365957/python/lsst/pipe/base/pipelineIR.py”, line 960, in subset_from_labels
raise ValueError(
ValueError: Not all supplied labels (specified or named subsets) are in the pipeline definition, extra labels: {‘GbdesAstrometricFit’}

Thank you

#gbdesAstrometricFit doesn’t work?

Yes.

Note the different capitalization, which is significant:
$DRP_PIPE_DIR/pipelines/HSC/DRP-RC2_subset.yaml#GbdesAstrometricFit is not the same as $DRP_PIPE_DIR/pipelines/HSC/DRP-RC2_subset.yaml#gbdesAstrometricFit, which Tim suggested.

Thanks. Seems like it’s working.