Project

General

Profile

Bug #22699

HEAD version of plotutils fails to run in python because PlotUtils has not attribute GetGenieSystematics

Added by Heidi Schellman 6 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Start date:
06/06/2019
Due date:
% Done:

0%

Estimated time:
Duration:

Description

When I try to run the new test/Mnv_t.py in the Minerva v21 environment I get the following error

<schellma> python Mnv_t.py
Traceback (most recent call last):
File "Mnv_t.py", line 6, in <module>
from PlotUtils import *
File "/cvmfs/minerva.opensciencegrid.org/minerva/software_releases/v21r1p1/lcg/external/ROOT/5.34.36/x86_64-slc6-gcc49-opt/lib/ROOT.py", line 352, in importhook
return _orig_ihook( name, *args, **kwds )
File "/minerva/app/users/schellma/cmtuser/Minerva_v21r1p1/InstallArea/x86_64-slc6-gcc49-opt/python/PlotUtils/
_init__.py", line 12, in <module>
import LoadPlotUtilsLib
File "/cvmfs/minerva.opensciencegrid.org/minerva/software_releases/v21r1p1/lcg/external/ROOT/5.34.36/x86_64-slc6-gcc49-opt/lib/ROOT.py", line 352, in _importhook
return _orig_ihook( name, *args, **kwds )
File "/minerva/app/users/schellma/cmtuser/Minerva_v21r1p1/InstallArea/x86_64-slc6-gcc49-opt/python/PlotUtils/LoadPlotUtilsLib.py", line 53, in <module>
setattr(PlotUtils, cls, getattr(ROOT.PlotUtils, cls))
AttributeError: type object 'PlotUtils' has no attribute 'GetGenieSystematics'

History

#1 Updated by Heidi Schellman 6 months ago

editing /minerva/app/users/schellma/cmtuser/Minerva_v21r1p1/InstallArea/x86_64-slc6-gcc49-opt/python/PlotUtils/LoadPlotUtilsLib.py to remove the GenieSystematics from the class load list fixed this. Looks like something in our build construction likes to treat functions as classes.
This is above my pay grade.

#2 Updated by Daniel Ruterbories 6 months ago

  • Status changed from New to Resolved

This problem was fixed by Rob Fine by doing exactly what Heidi suggested. Closing this out.

#3 Updated by Daniel Ruterbories 6 months ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF