Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-21843

pipetask runner fails at constructing qgraph dot files

    Details

    • Templates:
    • Story Points:
      0.5
    • Team:
      Data Release Production

      Description

      Attempting to generate a qgraph dot file to examine the quantum graph fails with traceback:

      Failed to build graph: '<' not supported between instances of 'Dimension' and 'Dimension'
      Traceback (most recent call last):
       File "/software/lsstsw/stack_20191001/stack/miniconda3-4.5.12-1172c30/Linux64/ctrl_mpexec/18.1.0-9-g27d0315/bin/pipetask", line 26, in <module>
       sys.exit(CmdLineFwk().parseAndRun())
       File "/software/lsstsw/stack_20191001/stack/miniconda3-4.5.12-1172c30/Linux64/ctrl_mpexec/18.1.0-9-g27d0315/python/lsst/ctrl/mpexec/cmdLineFwk.py", line 130, in parseAndRun
       qgraph = self.makeGraph(pipeline, taskFactory, args)
       File "/software/lsstsw/stack_20191001/stack/miniconda3-4.5.12-1172c30/Linux64/ctrl_mpexec/18.1.0-9-g27d0315/python/lsst/ctrl/mpexec/cmdLineFwk.py", line 408, in makeGraph
       graph2dot(qgraph, args.qgraph_dot)
       File "/software/lsstsw/stack_20191001/stack/miniconda3-4.5.12-1172c30/Linux64/ctrl_mpexec/18.1.0-9-g27d0315/python/lsst/ctrl/mpexec/dotTools.py", line 182, in graph2dot
       nodeName = _makeDSNode(dsRef, allDatasetRefs, file)
       File "/software/lsstsw/stack_20191001/stack/miniconda3-4.5.12-1172c30/Linux64/ctrl_mpexec/18.1.0-9-g27d0315/python/lsst/ctrl/mpexec/dotTools.py", line 122, in _makeDSNode
       dsRefId = _datasetRefId(dsRef)
       File "/software/lsstsw/stack_20191001/stack/miniconda3-4.5.12-1172c30/Linux64/ctrl_mpexec/18.1.0-9-g27d0315/python/lsst/ctrl/mpexec/dotTools.py", line 112, in _datasetRefId
       for key in sorted(dsRef.dataId.keys()):
      TypeError: '<' not supported between instances of 'Dimension' and 'Dimension'
      

      The quantum graph is being generated, as issuing a "run" command to pipetask completes correctly.

        Attachments

          Activity

            People

            • Assignee:
              jbosch Jim Bosch
              Reporter:
              czw Christopher Waters
              Reviewers:
              Christopher Waters
              Watchers:
              Christopher Waters, Jim Bosch, Nate Lust
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel