Problem with Getting started tutorial part 6 "forced photometry"

Hi, I’m just beginning to learn LSST scipipe and currently I’m trying to follow the Getting started part 6: measuring sources, and I meet some problems in section “Running forced photometry on coadds”. Everything was OK until I ran:

pipetask run --register-dataset-types \
-b $RC2_SUBSET_DIR/SMALL_HSC/butler.yaml \
-i u/$USER/coadd_meas \
-o u/$USER/objects \
-p $DRP_PIPE_DIR/pipelines/HSC/DRP-RC2_subset.yaml#forced_objects \
-d "skymap = 'hsc_rings_v1' AND tract = 9813 AND patch in (38, 39, 40, 41)"

Then I got an error message:

lsst.pipe.base.quantum_graph_builder INFO: Processing pipeline subgraph 1 of 1 with 5 task(s).
lsst.daf.butler.cli.utils ERROR: Caught an exception, details are in traceback:
Traceback (most recent call last):
  File "/Users/skywalker123/lsst_stack/lsstsw/stack/lsst-scipipe-11.0.0/Darwin/ctrl_mpexec/g115b957bb1+02cc515e4a/python/lsst/ctrl/mpexec/cli/cmd/commands.py", line 236, in run
    if (qgraph := script.qgraph(pipeline_graph_factory, **kwargs, show=show)) is None:
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/skywalker123/lsst_stack/lsstsw/stack/lsst-scipipe-11.0.0/Darwin/ctrl_mpexec/g115b957bb1+02cc515e4a/python/lsst/ctrl/mpexec/cli/script/qgraph.py", line 280, in qgraph
    qgraph = graph_builder.build(metadata, attach_datastore_records=qgraph_datastore_records)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/skywalker123/lsst_stack/lsstsw/stack/lsst-scipipe-11.0.0/Darwin/utils/gad6f798a03+8c5ae1fdc5/python/lsst/utils/timer.py", line 324, in timeMethod_wrapper
    res = func(self, *args, **keyArgs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/skywalker123/lsst_stack/lsstsw/stack/lsst-scipipe-11.0.0/Darwin/pipe_base/gf2a80b7294+674c0a6262/python/lsst/pipe/base/quantum_graph_builder.py", line 345, in build
    subgraph_skeleton = self.process_subgraph(subgraph)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/skywalker123/lsst_stack/lsstsw/stack/lsst-scipipe-11.0.0/Darwin/utils/gad6f798a03+8c5ae1fdc5/python/lsst/utils/timer.py", line 324, in timeMethod_wrapper
    res = func(self, *args, **keyArgs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/skywalker123/lsst_stack/lsstsw/stack/lsst-scipipe-11.0.0/Darwin/pipe_base/gf2a80b7294+674c0a6262/python/lsst/pipe/base/all_dimensions_quantum_graph_builder.py", line 142, in process_subgraph
    self._query_for_data_ids(tree)
  File "/Users/skywalker123/lsst_stack/lsstsw/stack/lsst-scipipe-11.0.0/Darwin/pipe_base/gf2a80b7294+674c0a6262/python/lsst/pipe/base/all_dimensions_quantum_graph_builder.py", line 177, in _query_for_data_ids
    raise QuantumGraphBuilderError(
lsst.pipe.base.quantum_graph_builder.QuantumGraphBuilderError: No datasets for overall-input 'deepCoadd_Sersic_multiprofit' found (the dataset type is not even registered).  This is probably a bug in either the pipeline definition or the dataset constraints passed to the quantum graph builder.

I noticed that the dataset “deepCoadd_Sersic_multiprofit” seemed to be missing in input datasets, however, I didn’t know how to fix it. Could anybody help me with this problem?

Thank you !

Hi @Liuhy, thanks for posting your issue. We’ve opened up an internal work ticket (SP-2665) to follow up on this issue and we’ll report back within a few weeks. In the meantime, based on your screenshot, it is possible you might be using a different version of the pipelines than is covered by the documentation ( v29_2_1).

Got it. Thanks for your support!