[9.0] Printing DiracX ForwardDISET requests#8152
Merged
fstagni merged 1 commit intoDIRACGrid:integrationfrom Apr 14, 2025
Merged
[9.0] Printing DiracX ForwardDISET requests#8152fstagni merged 1 commit intoDIRACGrid:integrationfrom
fstagni merged 1 commit intoDIRACGrid:integrationfrom
Conversation
$ lb-dirac dirac-rms-request --Job 1086302975
Request name='jobAgent_1086302975' ID=53840381 Status='Waiting' Job=1086302975
Created 2025-04-10 15:54:31, Updated 2025-04-14 10:58:57, NotBefore 2025-04-14 10:58:59
Owner: 'lbpilot', Group: lhcb_pilot
Traceback (most recent call last):
File "/cvmfs/lhcb.cern.ch/lhcbdirac/versions/v12.0.0a17-1744604904/Linux-x86_64/bin/dirac-rms-request", line 10, in <module>
sys.exit(main())
^^^^^^
File "/cvmfs/lhcb.cern.ch/lhcbdirac/versions/v12.0.0a17-1744604904/Linux-x86_64/lib/python3.11/site-packages/DIRAC/Core/Base/Script.py", line 74, in __call__
return entrypointFunc._func()
^^^^^^^^^^^^^^^^^^^^^^
File "/cvmfs/lhcb.cern.ch/lhcbdirac/versions/v12.0.0a17-1744604904/Linux-x86_64/lib/python3.11/site-packages/DIRAC/RequestManagementSystem/scripts/dirac_rms_request.py", line 287, in main
printRequest(request, status=dbStatus, full=full, verbose=verbose, terse=terse)
File "/cvmfs/lhcb.cern.ch/lhcbdirac/versions/v12.0.0a17-1744604904/Linux-x86_64/lib/python3.11/site-packages/DIRAC/RequestManagementSystem/Client/ReqClient.py", line 613, in printRequest
printOperation(indexOperation, verbose, onlyFailed=terse)
File "/cvmfs/lhcb.cern.ch/lhcbdirac/versions/v12.0.0a17-1744604904/Linux-x86_64/lib/python3.11/site-packages/DIRAC/RequestManagementSystem/Client/ReqClient.py", line 638, in printOperation
prStr += f"\n Service: {decode[0][0]}"
~~~~~~^^^
KeyError: 0
fstagni
approved these changes
Apr 14, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes this crash:
BEGINRELEASENOTES
*RequestManagement
FIX: Printing DiracX ForwardDISET requests
ENDRELEASENOTES