Closed mdhank closed 3 months ago
Submitting to the grid fails in recent versions of AnalysisBase with e.g.
An exception was caught! (xAH_run.py:684) Traceback (most recent call last): File "/data/mhank/Penn_Analysis/Aug2024_Calib_Updates_2/blcharginohlworkspace/build/x86_64-el9-gcc13-opt/../../source/xAODAnaHelpers/scripts/xAH_run.py", line 583, in <module> xAH_logger.info("\t - driver.options().{0:s}({1:s}, {2})".format(setter, getattr(ROOT.EL.Job, opt), getattr(args, opt))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: unsupported format string passed to string.__format__
I believe this is due to https://github.com/root-project/root/issues/15153, which would apply to AnalysisBase 25.2.19+. Using repr allows this to submit successfully.
repr
Submitting to the grid fails in recent versions of AnalysisBase with e.g.
An exception was caught! (xAH_run.py:684) Traceback (most recent call last): File "/data/mhank/Penn_Analysis/Aug2024_Calib_Updates_2/blcharginohlworkspace/build/x86_64-el9-gcc13-opt/../../source/xAODAnaHelpers/scripts/xAH_run.py", line 583, in <module> xAH_logger.info("\t - driver.options().{0:s}({1:s}, {2})".format(setter, getattr(ROOT.EL.Job, opt), getattr(args, opt))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: unsupported format string passed to string.__format__
I believe this is due to https://github.com/root-project/root/issues/15153, which would apply to AnalysisBase 25.2.19+. Using
repr
allows this to submit successfully.