Difference between revisions of "User:Barison"

From Atlas Wiki
Jump to navigation Jump to search
m
Line 10: Line 10:
 
Uncommenting "from TopView import *" produces:
 
Uncommenting "from TopView import *" produces:
  
<nowiki>  File "/afs/cern.ch/atlas/software/builds/AtlasCore/13.0.30/InstallArea/share/bin/athena.py", line 352, in ?
+
  File "/afs/cern.ch/atlas/software/builds/AtlasCore/13.0.30/InstallArea/share/bin/athena.py", line 352, in ?
 
     include( script )
 
     include( script )
 
   File "./mytry.py", line 13, in ?
 
   File "./mytry.py", line 13, in ?
Line 20: Line 20:
 
   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 ?
 
   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):
 
     class MergeMuonAndJetTag(EVModule):
TypeError: Error when calling the metaclass bases
+
  TypeError: Error when calling the metaclass bases
 
     module.__init__() takes at most 2 arguments (3 given)</nowiki>
 
     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 ?
 
   File "/afs/cern.ch/atlas/software/builds/AtlasCore/13.0.30/InstallArea/share/bin/athena.py", line 352, in ?
Line 36: Line 37:
 
   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 ?
 
   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):
 
     class SubtractElecFromJet(EVModule):
TypeError: Error when calling the metaclass bases
+
  TypeError: Error when calling the metaclass bases
 
     module.__init__() takes at most 2 arguments (3 given)
 
     module.__init__() takes at most 2 arguments (3 given)
  

Revision as of 15:10, 15 November 2007

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 *