DAX API should tell which lfn was a dup

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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.

            Assignee:
            Karan Vahi
            Reporter:
            Mats Rynge
            Archiver:
            Rajiv Mayani

              Created:
              Updated:
              Resolved:
              Archived: