Skip to content

Sweeping !1064 from master to devel: [master] PY3: Fix sorting result of __getFilesForRun for dirac-transformation-debug

LHCbDIRAC Bot requested to merge cherry-pick-6c45d6925-devel into devel
bash-4.2$ dirac-transformation-debug --Info jobs --Status MaxReset 140082,141013
 Transformation 140082 (Active) of type DataStripping (plugin ByRunWithFlush, GroupSize: 1) in Real Data/Reco17/Stripping29r2p2
BKQuery: {'ConfigName': 'LHCb', 'ConfigVersion': 'Collision17', 'DataQualityFlag': 'OK', 'DataTakingConditions': 'Beam6500GeV-VeloClosed-MagDown', 'EndRun': 196946, 'EventType': 90000000, 'FileType': 'RDST', 'ProcessingPass': 'Real Data/Reco17', 'StartRun': 194808, 'Visible': 'Yes'}

Traceback (most recent call last):
  File "/cvmfs/lhcb.cern.ch/lhcbdirac/versions/v10.2.3-x86_64-1623745062/bin/dirac-transformation-debug", line 8, in <module>
    sys.exit(main())
  File "/cvmfs/lhcb.cern.ch/lhcbdirac/versions/v10.2.3-x86_64-1623745062/lib/python3.9/site-packages/DIRAC/Core/Utilities/DIRACScript.py", line 77, in __call__
    return entrypoint.load()._func()
  File "/cvmfs/lhcb.cern.ch/lhcbdirac/versions/v10.2.3-x86_64-1623745062/lib/python3.9/site-packages/LHCbDIRAC/TransformationSystem/scripts/dirac_transformation_debug.py", line 65, in main
    TransformationDebug().debugTransformation(dmScript, infoList, statusList)
  File "/cvmfs/lhcb.cern.ch/lhcbdirac/versions/v10.2.3-x86_64-1623745062/lib/python3.9/site-packages/LHCbDIRAC/TransformationSystem/Client/TransformationDebug.py", line 1838, in debugTransformation
    transFilesList = sorted(self.__getFilesForRun(runID=runID, status=status,
TypeError: '<' not supported between instances of 'dict' and 'dict'

BEGINRELEASENOTES

*Transformation FIX: Fix AttributeError in dirac-transformation-debug with Python 3

ENDRELEASENOTES

Merge request reports

Loading