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

Problem with exists/getStorage() with composite datatypes

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: butler
    • Labels:
      None
    • Templates:
    • Story Points:
      2
    • Sprint:
      DB_S17_6
    • Team:
      Data Access and Database

      Description

      When using composite data types (e.g. with obs_comCam), seemingly all cmdLineTasks (certainly processCcd.py and constructCalibs.py) fail with

      File "/ssd/lsstsw/stack_20170409/Linux64/daf_persistence/13.0-17-gd5d205a+2/python/lsst/daf/persistence/repository.py", line 303, in exists
          butlerLocationStorage = location.getStorage()
      AttributeError: 'ButlerComposite' object has no attribute 'getStorage'
      

      It seems that these composite objects don't have the function defined.

      Steps to reproduce can be found by setting up a stack on lsst-dev with . /home/mfl/nate.sh and the repo can be remade and the failing command run with . /home/mfl/rerun_nate.sh.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                npease Nate Pease
                Reporter:
                mfisherlevine Merlin Fisher-Levine
                Reviewers:
                Kenny Lo
                Watchers:
                Jim Bosch, Kenny Lo, Merlin Fisher-Levine, Nate Pease, Robert Lupton
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel