Uploaded image for project: 'Pegasus'
  1. Pegasus
  2. PM-1211

DAX API should tell which lfn was a dup

    Details

      Description

      The Python DAX API (and maybe the others have similar problems) currently just throws a generic DuplicateError in case a lfn is added twice:

        File "/usr/lib64/python2.7/site-packages/Pegasus/DAX3.py", line 929, in addUse
          raise DuplicateError("Duplicate Use", use)

      But it does not tell what the lfn was so it can be difficult to debug. Similarly, the in-DAX rc thows a non specific error if you do the same addFile twice.

      The errors should be updated to include the lfn.

        Attachments

          Activity

            People

            • Assignee:
              vahi Karan Vahi
              Reporter:
              rynge Mats Rynge
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: