User:Barison
TopView -> 13 Logbook
15/11/2007
I copied the HighPtViewNtuple_jobOption.py file to the TopView dir and tried running it.
Uncommenting "from TopView import *" produces:
File "/afs/cern.ch/atlas/software/builds/AtlasCore/13.0.30/InstallArea/share/bin/athena.py", line 352, in ? include( script ) File "./mytry.py", line 13, in ? from TopView import * File "/afs/cern.ch/user/m/mbarison/s0/13.0.30-test/AtlasOffline-13.0.30/InstallArea/python/TopView/__init__.py", line 39, in ? init() File "/afs/cern.ch/user/m/mbarison/s0/13.0.30-test/AtlasOffline-13.0.30/InstallArea/python/TopView/__init__.py", line 26, in init c = __import__( mod ) File "/afs/cern.ch/user/m/mbarison/s0/13.0.30-test/AtlasOffline-13.0.30/InstallArea/python/TopView/MergeMuonAndJetTag_module.py", line 3, in ? class MergeMuonAndJetTag(EVModule): TypeError: Error when calling the metaclass bases module.__init__() takes at most 2 arguments (3 given)</nowiki>
and:
File "/afs/cern.ch/atlas/software/builds/AtlasCore/13.0.30/InstallArea/share/bin/athena.py", line 352, in ? include( script ) File "./LocalOverride.py", line 23, in ? include("Analysis_topOptions.py") File "./Analysis_topOptions.py", line 17, in ? from TopView import * File "/afs/cern.ch/user/m/mbarison/s0/13.0.30-test/AtlasOffline-13.0.30/InstallArea/python/TopView/__init__.py", line 39, in ? init() File "/afs/cern.ch/user/m/mbarison/s0/13.0.30-test/AtlasOffline-13.0.30/InstallArea/python/TopView/__init__.py", line 26, in init c = __import__( mod ) File "/afs/cern.ch/user/m/mbarison/s0/13.0.30-test/AtlasOffline-13.0.30/InstallArea/python/TopView/SubtractElecFromJet_module.py", line 3, in ? class SubtractElecFromJet(EVModule): TypeError: Error when calling the metaclass bases module.__init__() takes at most 2 arguments (3 given)
This is quite easy to solve: open MergeMuonAndJetTag_module.py and SubtractElecFromJet_module.py and replace
from EventViewConfiguration import *
with:
from EventViewConfiguration.EVModule import *
But then I get:
File "/afs/cern.ch/atlas/software/builds/AtlasCore/13.0.30/InstallArea/share/bin/athena.py", line 352, in ? include( script ) File "./LocalOverride.py", line 23, in ? include("Analysis_topOptions.py") File "./Analysis_topOptions.py", line 21, in ? theApp.Dlls += ["TopTools"] File "/afs/cern.ch/atlas/offline/external/GAUDI/v19r4p3/GaudiPython/python/gaudimodule.py", line 149, in __setattr__ prop.fromString( value ) RuntimeError: (file "", line 0) Failed to load DLLs. (C++ exception)